aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bridge_pull.go
Commit message (Collapse)AuthorAgeFilesLines
* Add command-specific argument completionsJohannes Altmanninger2022-05-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | Complete bug IDs, bridges, users, labels where appropriate. This works in bash and fish. ZSH is not yet supported by Cobra. In fish, descriptions (the part of a completion after the "\t") are shown as completion label, and can be searched with Ctrl+S. Reproduce with fish -C 'source misc/fish_completion/git-bug' git bug select ^I (tested with fish version 3.3.1) Also works with bash, but only for "git-bug" (with the dash) bash --rcfile <(echo source misc/bash_completion/git-bug) git-bug select ^I Closes #493
* commands: proper backend close on RunE errorMichael Muré2021-05-091-6/+5
|
* commands: cleanup the command's usage to avoid warnings when generating the docMichael Muré2020-07-281-1/+1
|
* commands: open and close the backend in a single place, simplify commandsMichael Muré2020-06-281-13/+7
|
* commands: refactor to avoid globalsMichael Muré2020-06-281-31/+40
|
* bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-251-1/+1
| | | | | | | | | | - 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
* Merge pull request #271 from MichaelMure/bridge-credentialsMichael Muré2019-12-101-1/+1
|\ | | | | bridge: huge refactor to accept multiple kind of credentials
| * bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-1/+1
| |
* | bridge: fix incorrect last import time on context cancelMichael Muré2019-12-091-4/+14
|/
* bridge: improvement on the import resume featureMichael Muré2019-11-031-16/+30
|
* commands: support bridge imports after a given date and resumable importsamine2019-11-031-7/+27
|
* commands: silence export and import nothing eventsAmine Hilaly2019-08-191-1/+3
|
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-181-1/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [commands] bridge: add push sub commandAmine Hilaly2019-06-241-1/+3
| | | | [commands] bridge: use cobra max args
* Store bridge type alongside the other params in the configAmine Hilaly2019-06-151-1/+1
|
* Add importer testsAmine Hilaly2019-05-051-1/+4
| | | | | | Changes to Importer and exporter interface Improve importer Fix extra edits bug
* commands: add a "." at the end of Short commands usageMichael Muré2019-03-011-1/+1
|
* moved cleaner function to util/interruptRafael Passos2018-10-241-2/+2
|
* Registering lock clearing functions to CleanerRafael Passos2018-10-231-0/+2
|
* commands: don't load the repo for commands that don't need itMichael Muré2018-10-171-3/+4
| | | | fix #67
* github: deal with the deleted user case where github return a null actorMichael Muré2018-10-061-1/+1
|
* commands: add "bridge pull"Michael Muré2018-09-241-0/+45