aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github
Commit message (Collapse)AuthorAgeFilesLines
* bridge: trim inputs during bridge configurationamine2019-11-251-7/+7
|
* bridge/core: add LoadTokensWithTarget and LoadOrCreateToken functionsamine2019-11-241-38/+16
| | | | bridge/github: global fixes
* commands: add bridge configure --token-id flagamine2019-11-231-15/+0
|
* bridge/github: use core.ConfigKeyToken instead of keyTokenamine2019-11-232-5/+5
|
* bridge/github: configuration with global configsamine2019-11-231-14/+98
|
* Merge pull request #258 from MichaelMure/fixesMichael Muré2019-11-191-0/+3
|\ | | | | Bridges fixes
| * github: sort project candidate in the interactive wizardMichael Muré2019-11-191-0/+3
| |
* | bridge/launchpad: importer correctly emit NothingEventamine2019-11-191-1/+1
| |
* | bridge/github: export correctly emit nothing eventsamine2019-11-192-24/+18
| |
* | bridge/github: importer corectly emit eventsamine2019-11-191-29/+12
|/
* Merge pull request #247 from MichaelMure/bridge-originMichael Muré2019-11-195-48/+47
|\ | | | | bridge: move keyOrigin to core package
| * bridge/launchpad: add missing metadataamine2019-11-195-48/+47
| | | | | | | | bridge: use a specific key for origin metadata
* | bridge/github: fix iterator regressionamine2019-11-111-2/+4
| |
* | github: follow API changesMichael Muré2019-11-112-21/+21
| | | | | | | | https://developer.github.com/v4/changelog/2019-06-04-schema-changes/
* | bridge: various cleanupsMichael Muré2019-11-091-4/+0
| |
* | bridge/github: improve iterator readabilityamine2019-11-051-34/+49
| |
* | bridge/github: improve iterator NextTimelineItem functionamine2019-11-051-0/+6
|/
* bug: rename RGBA to Colorludovicm672019-10-151-1/+1
|
* bridge/core: add tokenStdin field to bridgeParamsAmine Hilaly2019-09-021-1/+8
| | | | commands: move tokenStdin handling logic to bridge.Configure
* bridge/github: move cleaners to where is calledAmine Hilaly2019-09-011-10/+20
|
* bridge/github: recover terminal state in password promptsAmine Hilaly2019-08-311-0/+11
| | | | commands: error if a token is provide but not the bridge name and target
* commands: enhance flag description Amine2019-08-311-1/+1
| | | | | bridge/github: improve configuration logic Co-Authored-By: Michael Muré <batolettre@gmail.com>
* commands: read token from stdin in bridge configurationAmine Hilaly2019-08-311-1/+11
| | | | bridge: improve bridge config validation
* 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