aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github
Commit message (Collapse)AuthorAgeFilesLines
* bridge: use a single KeyTarget constant for all bridgesMichael Muré2019-07-071-4/+3
|
* [bridge/github] import: avoid retrieving ghost email in userQueryAmine Hilaly2019-07-062-4/+3
| | | | | | request rename userQuery to ghostQuery
* [bridge/github] ignore imported bugs from other repositoriesAmine Hilaly2019-07-061-24/+18
|
* [bridge/github] improve export label change functionAmine Hilaly2019-07-051-34/+57
| | | | [bridge/core] rename `EventStatus` to `ExportEvent`
* [bridge/github] improve comments and documentationAmine2019-07-052-99/+67
| | | | | | [bridge/github] improve error handling and tests Co-Authored-By: Michael Muré <batolettre@gmail.com>
* [core] Implement ExportResultsAmine Hilaly2019-06-302-85/+124
| | | | | Use ExportResult chan to send export events Remove exportedBugs and exportedLabels
* [bug] add snapshot.GetCreateMetadata methodAmine Hilaly2019-06-303-46/+51
| | | | | | | | | | [bug] add snapshot.HasParticipant(id string) [bug] add snapshot.HasAnyParticipant(ids ...string) [bug] add snapshot.HasActor(id string) [bug] add snapshot.HasAnyActor(ids ...string) [bridge/github] improve comments [bridge/github] exporter tests: register deleteRepository in cleaner [bridge/github] tests rebase
* [bridge/github] Correcte some types and add commentsAmine Hilaly2019-06-242-13/+32
| | | | | | | | | | | | General improvements Co-Authored-By: Michael Muré <batolettre@gmail.com> empty array check an empty array is not nil Co-Authored-By: Michael Muré <batolettre@gmail.com>
* [bridge/github] exporter tests: Test issues metadataAmine Hilaly2019-06-241-2/+17
| | | | [bridge/github] exproter tests: Change env vars
* [bridge/github] simplify export operation hashsAmine Hilaly2019-06-243-66/+185
| | | | | | | | | | [bridge/github] exporter tests: add more test cases and global tests [bridge/github] rename export_query to export_mutation [bridge/github] exporter: Log number of exported issues and labels [bridge/github] Improve comments
* [bridge/github] exporter: Add test casesAmine Hilaly2019-06-242-23/+168
| | | | | | correct delete repo improve tests set user identity
* [bridge/github] correct label & comment edit mutations bugsAmine Hilaly2019-06-243-42/+58
|
* [bridge/github] create label: Generate hexColor from label rgbaAmine Hilaly2019-06-241-26/+32
|
* [bridge/github] use context.WithTimeout on all graphql queriesAmine Hilaly2019-06-243-15/+78
|
* [bridge/github] exporter: Improve error handlingAmine Hilaly2019-06-243-72/+92
| | | | | | [bridge/github] queries: use api v4 for getLabel / createLabel [bridge/github] add comments to getIdentityClient
* [misc] update man docs and completion scriptsAmine Hilaly2019-06-241-11/+16
| | | | | | [cache] BugCache: Fix set metadata raw [bridge/github] Fix graphql input objects
* [bridge/github] exporter: Check bug import originAmine Hilaly2019-06-241-3/+33
| | | | [bridge/github] export only allowed bugs
* [bridge/github] importer: tag imported issues with origin metadataAmine Hilaly2019-06-243-14/+17
| | | | [bridge/github] exporter: correct export signature and cache maps
* [bridge/github] cache user tokenAmine Hilaly2019-06-243-8/+78
| | | | | | | | fix import typo init tests verify issue
* [bridge/github] exporter: support multiple tokens/clientsAmine Hilaly2019-06-241-62/+83
|
* [bridge/github] update github bug exporterAmine Hilaly2019-06-241-88/+240
| | | | | - cache repository ID - cache all comment IDs
* [cache] BugCache: Add set metadata methodsAmine Hilaly2019-06-243-11/+13
| | | | | | [bridge/github] fix add/remove mutation requests [bridge/github] iterator: fix typo
* [bridge/github] exporter: add graphql functionalitiesAmine Hilaly2019-06-243-7/+477
| | | | | | | | | [bridge/github] graphql mutation objects [bridge/github] github create and get labels [bridge/github] repository node_id query [bridge/github] exporter: ignore old bugs and old operations [bridge/github] add update labels/status functionalities [bridge/github] exporter: cache labels while exporting
* [bridge/github] Add exporter implementationAmine Hilaly2019-06-243-1/+57
|
* Merge pull request #171 from MichaelMure/graphql-mutation-relayMichael Muré2019-06-231-2/+2
|\ | | | | Graphql mutation relay
| * cache: expose the operation when creating a new bugMichael Muré2019-06-161-2/+2
| |
* | Naming fixesAmine Hilaly2019-06-161-3/+5
| |
* | Store bridge type alongside the other params in the configAmine Hilaly2019-06-151-0/+6
|/
* rename GITHUB_TOKEN to GITHUB_PRIVATE_TOKENAmine Hilaly2019-06-071-2/+2
|
* make token visible in configuration processAmine Hilaly2019-06-071-12/+16
| | | | | validate token global fixes
* Allow cancelling configurationAmine2019-06-051-2/+2
| | | | | | correct error message Co-Authored-By: Michael Muré <batolettre@gmail.com>
* Skip test validateUsername in travis environmentAmine Hilaly2019-06-031-0/+4
|
* add unit tests for launchpad bridge configurationAmine Hilaly2019-05-302-4/+63
| | | | | add tests for validateUsername in Github bridge panic when compile regex fail
* Update configuration process and add unit testsAmine Hilaly2019-05-292-16/+180
| | | | Update launchpad bridge
* Update documentation and function namingAmine2019-05-291-4/+3
| | | Co-Authored-By: Michael Muré <batolettre@gmail.com>
* Change github regex for better matchingAmine Hilaly2019-05-291-7/+17
| | | | | Remove '.git' suffixes from URLs Change token scope for public repositories to `repo:public_repo`
* Disable `bridgeConfigure` sort flags optionAmine Hilaly2019-05-291-2/+2
| | | | rename `validateGithubURLRemotes` to `getValideGithubRemoteURLs`
* Change client default timeout value to 60 secondsAmine Hilaly2019-05-292-26/+15
| | | | | add named return values for easier validation for 2FA codes
* Update flags descriptions Amine2019-05-291-2/+2
| | | | | Enhance printing in prompt Co-Authored-By: Michael Muré <batolettre@gmail.com>
* Add warning messages for launchpad-previewAmine Hilaly2019-05-291-3/+3
| | | | | fix --target flag description improve comments
* Launchpad bridge configuration from `BridgeParams` Project and URLAmine Hilaly2019-05-291-3/+5
| | | | Improve Github config comments
* Update Github bridge configurationAmine Hilaly2019-05-291-86/+200
| | | | | Use GetRemotes in `promptURL` to suggest repo urls Add `promptTokenOptions` to select token a configuration option
* Change keyUser to keyOwner in Github bridgeAmine Hilaly2019-05-294-13/+15
|
* Github bridge updatesAmine Hilaly2019-05-291-67/+189
| | | | Use bridge params to configure the bridge
* repo: refactor how test repo are created/cleanedMichael Muré2019-05-271-2/+3
|
* improve github importer and iteratorAmine Hilaly2019-05-232-24/+34
| | | | | | drop and use query variables instead initialize timeline query variables in the constructor improve naming and add comments to public functions
* fix imported bugs countAmine Hilaly2019-05-231-2/+4
|
* introduce `nextValidIssueEdit` and `nextValidCommentEdit` to escape empty ↵Amine Hilaly2019-05-232-20/+22
| | | | | | `Diff`objects calling nextValidEdit functions directly after a new query (Fixing a bug where capacity=2)
* call NextIssueEdit from ensureIssueAmine Hilaly2019-05-231-10/+9
|
* Fix importer/exporter design errorsAmine Hilaly2019-05-232-51/+66
|