aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/core/interfaces.go
Commit message (Collapse)AuthorAgeFilesLines
* CLI: Add non-interactive option to interactive commands (#651)Sascha2021-05-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add option to skip the AvatarURL input request Using an empty string for the avatar cli flag e.g. `git-bug user create -a ""` will still result in a prompt. As the avatar URL is an optional option, it should be possible to skip asking for it entirely. Otherwise automated user creation via a script must make use of pipe hacks. * Add global --non-interactive cmdline option * Replace --skipAvatar for --non-interactive option * Cmd BugAdd: respect non-interactive option * Cmd bridge configure: respect non-interactive opt * Cmd CommentAdd: respect non-interactive option * Cmd CommentEdit: respect non-interactive option * Cmd TermUI: respect non-interactive option * Cmd TitleEdit: respect non-interactive option * Remove global non-interactive option * Cmd UserCreate: Use local non-interactive option * Cmd BugAdd: Use local non-interactive option * Cmd BridgeConfigure: Use local non-interactive option * Cmd CommentAdd: Use local non-interactive option * Cmd CommentEdit: Use local non-interactive option * Cmd TermUI: Drop non-interactive option It should be obviouse that the termui is an interactive command. * Cmd TitleEdit: Use local non-interactive option * Update docs * Bridge GitHub: respect non-interactive option * Bridge GitLab: respect non-interactive option * Bridge Jira: respect non-interactive and token opt * Fix failing compilation * Bridge launchpad: respect non-interactive option * bridge: isNonInteractive --> interactive Co-authored-by: Michael Muré <batolettre@gmail.com>
* github: correct casing for user provided loginMichael Muré2020-02-291-11/+11
|
* bridges: pass the context to Init for when a client build process needs itMichael Muré2020-02-151-2/+2
|
* bridges: massive refactorMichael Muré2020-02-151-0/+3
| | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* it compiles \o/Michael Muré2020-02-081-0/+5
|
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-4/+3
|
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [bridge/github] improve comments and documentationAmine2019-07-051-1/+1
| | | | | | [bridge/github] improve error handling and tests Co-Authored-By: Michael Muré <batolettre@gmail.com>
* [core] Implement ExportResultsAmine Hilaly2019-06-301-1/+1
| | | | | Use ExportResult chan to send export events Remove exportedBugs and exportedLabels
* changes to the BridgeImpl InterfaceAmine Hilaly2019-05-291-1/+1
| | | | | Add bridge params Change bridge.Configure signature
* Add importer testsAmine Hilaly2019-05-051-4/+4
| | | | | | Changes to Importer and exporter interface Improve importer Fix extra edits bug
* github: deal with the deleted user case where github return a null actorMichael Muré2018-10-061-8/+10
|
* bridge: validate config before useMichael Muré2018-09-241-0/+3
|
* bridge: big refactor and cleanupMichael Muré2018-09-241-11/+15
|
* bridge: better interfaces, working github configuratorMichael Muré2018-09-211-0/+29