aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/jira/config.go
Commit message (Collapse)AuthorAgeFilesLines
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-181-1/+1
|
* CLI: Add non-interactive option to interactive commands (#651)Sascha2021-05-091-16/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* bridge: store credentials in the Keyring instead of the git configMichael Muré2020-09-291-1/+1
|
* jira/gitlab: fix a bad login handling in the configuratorMichael Muré2020-03-281-5/+7
|
* bridge: record the login used during the configure and use it as default ↵Michael Muré2020-02-231-2/+11
| | | | | | credential fix #338
* Fix jira bridge config didn't save credentials or store URL metadataJosh Bialkowski2020-02-171-0/+10
|
* jira: fix a nil contextMichael Muré2020-02-151-1/+2
|
* jira: rework to use the credential system + adapt to refactorsMichael Muré2020-02-151-76/+90
|
* jira: use the new generalized promptsMichael Muré2020-02-091-105/+40
|
* Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-091-21/+2
|
* repair after rebaseJosh Bialkowski2019-12-181-10/+10
|
* codereview #5: reverse-map and ImportWarningJosh Bialkowski2019-12-181-0/+1
| | | | | | | | | | | * Fix git config reader can't read values with spaces * Add bug-id-revmap config option for the reverse map, and use this in the importer * 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. * Strip newlines from titles on import
* codreview #3: two credential types, more fixesJosh Bialkowski2019-12-181-31/+63
| | | | | | | | | * Support both token and session credential types * use getTimeDervedID in export.go * keyOrigin -> core.KeyOrigin * fix one indentation * remove project key from operation metadata * fix missing credentials codepath if not using sidecar
* codereview #2: some cleanup, correct use of nothing-eventsJosh Bialkowski2019-12-181-40/+16
| | | | | | | | | | | | | | | | * return error, don't panic * skipping status export is an error * use switch in config.go * move PromptPassword to input * move client construction into getIdentityClient * use non-pointer context throughout client since it is an interface * remove some TODOs * don't emit multiple nothing-events, just one per bug only if nothing happened. * rename EditBody to EditCreateComment * add configuration notes about additional values * store bug id map in a dictionary in the config * some fixes from testing
* codereview #1: clean lint from golangcibotJosh Bialkowski2019-12-181-0/+3
|
* Implement jira bridgeJosh Bialkowski2019-12-181-0/+239