aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/jira
Commit message (Collapse)AuthorAgeFilesLines
* core: make label a common type, in a similar fashion as for status (#1252)Michael Muré2024-08-252-3/+3
| | | This will be useful for Board, and likely code review support later
* feat: update references to the git-bug organization (#1249)sudoforge2024-08-245-24/+24
| | | | | | | | The repository was recently moved to the git-bug organization on github. This change refactors references to the repository to ensure that they use the updated owner URI. Closes: #1243 Change-Id: I799712354c6ba25cdd8b06286275850c52efe6ff
* chore: remove refs to deprecated io/ioutilguoguangwu2024-07-231-18/+18
| | | | | | | | Signed-off-by: guoguangwu <guoguangwug@gmail.com> chore: remove refs to deprecated io/ioutil Signed-off-by: guoguangwu <guoguangwug@gmail.com>
* [DATALAD RUNCMD] Run codespell -wYaroslav Halchenko2023-01-231-1/+1
| | | | | | | | | | | | | | === Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
* cache: tie up the refactor up to compilingMichael Muré2022-12-212-8/+7
|
* WIPMichael Muré2022-11-282-3/+3
|
* core: bubble up the comment ID when created, or edited the first commentMichael Muré2022-11-132-18/+20
|
* bug: have a type for combined ids, fix ↵Michael Muré2022-08-221-3/+2
| | | | https://github.com/MichaelMure/git-bug/issues/653
* move bug.Status in entities/common for reuseMichael Muré2022-08-201-4/+5
|
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-185-6/+6
|
* entity/dag: proper base operation for simplified implementationMichael Muré2022-07-252-2/+4
| | | | | | | | - reduce boilerplace necessary to implement an operation - consolidate what an operation is in the core, which in turn pave the way for a generic cache layer mechanism - avoid the previously complex unmarshalling process - support operation metadata from the core - simplified testing
* jira: fix incorrect client creation reusing the same credentialMichael Muré2022-03-101-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>
* make sure every text input is safe and validatedMichael Muré2021-04-171-23/+8
| | | | fix #630
* bug: migrate to the DAG entity structure!Michael Muré2021-02-141-1/+1
|
* deal with the previous changesMichael Muré2021-02-141-0/+1
|
* bridge: store credentials in the Keyring instead of the git configMichael Muré2020-09-291-1/+1
|
* bug: harmonize how time are used, fix some issues in command special formatsMichael Muré2020-06-251-1/+1
| | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
* jira/gitlab: fix a bad login handling in the configuratorMichael Muré2020-03-281-5/+7
|
* jira: tag bugs with the base URL, tighten the matchingMichael Muré2020-03-282-1/+12
|
* identity: bring back the login to hold that info from bridges (purely ↵Michael Muré2020-02-251-1/+2
| | | | informational)
* bridge: record the login used during the configure and use it as default ↵Michael Muré2020-02-233-4/+16
| | | | | | credential fix #338
* metaKeyJiraOperationId -> metaKeyJiraDerivedIdJosh Bialkowski2020-02-172-23/+23
|
* fix usage of newIdentityRawJosh Bialkowski2020-02-171-1/+1
|
* 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-155-278/+346
|
* jira: admittedly biased go stylingMichael Muré2020-02-093-198/+154
|
* jira: use the new generalized promptsMichael Muré2020-02-091-105/+40
|
* Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-094-25/+30
|
* repair after rebaseJosh Bialkowski2019-12-184-21/+19
|
* codereview #5: reverse-map and ImportWarningJosh Bialkowski2019-12-183-32/+68
| | | | | | | | | | | * 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
* codereview #4: fixes from testingJosh Bialkowski2019-12-182-9/+42
| | | | | | | | | | | * don't prefix imported title's with jira ID * fix import new comment due to wrong variable name * fix double import of comment edition due to improper err check * fix JIRA cloud paginated changelog has a different JSON field then the embedded changelog in the JIRA server issue object * fix splitting label strings yielded an empty string as a label value
* codreview #3: two credential types, more fixesJosh Bialkowski2019-12-184-59/+126
| | | | | | | | | * 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-184-161/+131
| | | | | | | | | | | | | | | | * 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-184-20/+37
|
* Implement jira bridgeJosh Bialkowski2019-12-185-0/+2830