aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/core
Commit message (Collapse)AuthorAgeFilesLines
* github/gitlab: many fixes and improvments at the config stepMichael Muré2020-02-101-1/+2
|
* bridge: fix 2 uncatched errorsMichael Muré2020-02-081-0/+3
|
* bridge: fix wrong error usedMichael Muré2020-02-081-1/+1
|
* it compiles \o/Michael Muré2020-02-082-0/+22
|
* more more wipMichael Muré2020-02-085-3/+62
|
* more wipMichael Muré2020-02-083-26/+20
|
* WIPMichael Muré2020-02-084-70/+51
|
* codereview #6: don't fail one warningJosh Bialkowski2020-01-042-3/+12
| | | | * presence of an error in the import event doesn't indicate failure
* * Fix git config reader can't read values with spacesJosh Bialkowski2020-01-042-0/+35
| | | | | | | * Add NewImportWarning for things that aren't exactly errors. Use this for unhandled changelog events. * Add NewExportWarning for things that aren't exactly errors. Use this for un-exportable status changes.
* bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-253-16/+63
| | | | | | | | | | - 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/+1
|
* auth: Correctly cast configs[configKeyKind]amine2019-12-091-1/+1
|
* type the CredentialKind valuesMichael Muré2019-12-091-2/+2
| | | Co-Authored-By: Amine <hilalyamine@gmail.com>
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-087-321/+512
|
* bridge: move export event handling to the CLIMichael Muré2019-11-261-23/+5
|
* bridge/gitlab: add gitlab bridge configurationamine2019-11-241-2/+2
|
* bridge/core: add LoadTokensWithTarget and LoadOrCreateToken functionsamine2019-11-241-0/+42
| | | | bridge/github: global fixes
* bridge/core: load token value in ensureInitamine2019-11-232-4/+87
| | | | bridge/core: add more token functionalities
* bridge: use the target as well in the token IDMichael Muré2019-11-191-1/+1
|
* Merge pull request #247 from MichaelMure/bridge-originMichael Muré2019-11-191-3/+3
|\ | | | | bridge: move keyOrigin to core package
| * bridge/launchpad: add missing metadataamine2019-11-191-3/+3
| | | | | | | | bridge: use a specific key for origin metadata
* | bridge/core: document import/export eventsMichael Muré2019-11-192-1/+24
| |
* | cli: add bridge token showMichael Muré2019-11-101-1/+1
| |
* | bridge: various improvement on the global token PRMichael Muré2019-11-102-47/+67
| |
* | token: regenerate documentation and fix importsamine2019-11-091-1/+1
| |
* | bridge/core: store token in the global config and replace scopes with create ↵amine2019-11-091-123/+45
| | | | | | | | date
* | tokens: use entity.Id as id typeamine2019-11-091-8/+9
| |
* | tokens: use a hash as token identifier instead of the token it selfamine2019-11-091-32/+97
| |
* | bridge: various cleanupsMichael Muré2019-11-091-44/+31
| |
* | commands: use token value as identifierAmine2019-11-091-31/+14
| |
* | bridge/core: use token id instead of nameAmine2019-11-091-40/+25
| | | | | | | | | | commands: add bridge token rm/add commands: improve bridge token printing
* | bridge/core: comment token functionalitiesAmine2019-11-091-18/+32
| |
* | bridge/core: Implement token functionalitiesAmine2019-11-091-0/+211
|/
* bridge: improvement on the import resume featureMichael Muré2019-11-031-29/+20
|
* commands: support bridge imports after a given date and resumable importsamine2019-11-031-7/+72
|
* bridge: use new repository configuration interfaceamine2019-11-011-5/+5
| | | | commands/webui: use new repository configuration interface
* bridge/core: add tokenStdin field to bridgeParamsAmine Hilaly2019-09-021-4/+5
| | | | commands: move tokenStdin handling logic to bridge.Configure
* bridge/gitlab: fix edit comment request and remove label functionalitiesAmine Hilaly2019-08-191-2/+3
|
* bridge/github: improve error handling and Nothing eventsAmine Hilaly2019-08-182-4/+4
| | | | vendor: add package golang.org/x/sync/errgroup
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-184-16/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-121-12/+16
|
* bridge/gitlab: change validateProjectURL signatureAmine Hilaly2019-07-231-1/+3
| | | | bridge/gitlab: code cleanup
* bridge: detect when trying to configure a bridge with a name already takenMichael Muré2019-07-072-1/+13
|
* bridge: use a single KeyTarget constant for all bridgesMichael Muré2019-07-071-2/+2
|
* [bridge/github] improve export label change functionAmine Hilaly2019-07-051-24/+24
| | | | [bridge/core] rename `EventStatus` to `ExportEvent`
* [bridge/github] improve comments and documentationAmine2019-07-052-2/+2
| | | | | | [bridge/github] improve error handling and tests Co-Authored-By: Michael Muré <batolettre@gmail.com>
* [core] Implement ExportResultsAmine Hilaly2019-06-303-6/+107
| | | | | Use ExportResult chan to send export events Remove exportedBugs and exportedLabels
* LoadBridge create a bridge using loadConfigAmine Hilaly2019-06-171-18/+12
| | | | update loadConfig signature
* Naming fixesAmine Hilaly2019-06-161-1/+0
|
* Store bridge type alongside the other params in the configAmine Hilaly2019-06-151-37/+44
|