aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github
Commit message (Collapse)AuthorAgeFilesLines
* github: warning when the comment to be edited is missing instead of failingMichael Muré2020-01-041-0/+5
| | | | fix #286
* bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-253-5/+19
| | | | | | | | | | - init() only the importer or exporter as required - assign a "default user" user Id to credentials at creation if no user has been set - "bridge auth": also display the user - "bridge auth show": adapt to a potential "default user" user Id - "bridge configure": allow to run without a user set - "bridge pull": allow to run without a user set - "user adopt": replace "default user" by the actual user id when run
* bridge/gitlab: support self-hosted GitLab instanceamine2019-12-101-0/+4
|
* Merge pull request #271 from MichaelMure/bridge-credentialsMichael Muré2019-12-108-158/+214
|\ | | | | bridge: huge refactor to accept multiple kind of credentials
| * bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-088-158/+214
| |
* | bridge: fix incorrect last import time on context cancelMichael Muré2019-12-091-1/+1
|/
* gitlab: configurator cleanupMichael Muré2019-11-261-1/+1
|
* github: tiny cleanups of the configuratorMichael Muré2019-11-261-12/+24
|
* 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