aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github
Commit message (Collapse)AuthorAgeFilesLines
* bridge/github: add exporter test cases for label change bugAmine Hilaly2019-08-191-1/+7
|
* bridge/github: fix name case sensitivity in retrieving and creating labels ↵Amine Hilaly2019-08-192-14/+58
| | | | using github graphql api
* bridge/github: improve error handling and Nothing eventsAmine Hilaly2019-08-181-2/+1
| | | | vendor: add package golang.org/x/sync/errgroup
* bridge/gthub: use errgroup.Group instead of sync.WaitGroupAmine Hilaly2019-08-181-28/+13
|
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-185-163/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bridge/core: add ImportResult objects to stream import events bridge/core: launchpad support asynchronous import bridge/github: cancellable export and import functions bridge/gitlab: cancellable export and import functions commands: bridge pull/push gracefull kill bridge/github: fix github import bridge/github: use simple context for imports bridge/core: name parameters in interfaces github/core: Add EventError to export and import events types bridge/gitlab: add context support in gitlab requests functions bridge/gitlab: remove imported events count from importer logic bridge/github: remove imported events count from importer logic bridge/github: add context support in query and muration requets bridge/github: fix bug duplicate editions after multiple calls bridge/core: import import and export events String methods bridge/gitlab: fix error handling in note import events commands/bridge: Add statistics about imports and exports bridge/gitlab: properly handle context cancellation bridge/github: improve error handling bridge: break iterators on context cancel or timeout bridge: add context timeout support bridge: improve event formating and error handling commands: handle interrupt and switch cases bridge/github: add export mutation timeouts bridge: fix race condition bug in the github and gitlab importers bridge/github: improve context error handling
* finish the refactoring for the dedicated identifier typeMichael Muré2019-08-123-32/+33
|
* github: fix bad refactorMichael Muré2019-08-081-1/+1
|
* fix everything following the hash-->id changeMichael Muré2019-08-083-75/+29
|
* fix index out of range panic in github configurationAmine Hilaly2019-07-231-1/+1
|
* bridge/github: fix project visibility promptAmine Hilaly2019-07-221-2/+2
|
* 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