aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bridge_push.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-19/+22
|
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-1/+1
|
* bridge: move export event handling to the CLIMichael Muré2019-11-261-1/+15
|
* commands: support bridge imports after a given date and resumable importsamine2019-11-031-16/+1
|
* bridge/gitlab: fix edit comment request and remove label functionalitiesAmine Hilaly2019-08-191-1/+0
|
* 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-6/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [core] Implement ExportResultsAmine Hilaly2019-06-301-1/+10
| | | | | Use ExportResult chan to send export events Remove exportedBugs and exportedLabels
* rebase & fix push commandAmine Hilaly2019-06-241-1/+1
|
* [commands] bridge: add push sub commandAmine Hilaly2019-06-241-0/+53
[commands] bridge: use cobra max args