aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/jira/export.go
Commit message (Collapse)AuthorAgeFilesLines
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-181-2/+2
|
* entity/dag: proper base operation for simplified implementationMichael Muré2022-07-251-1/+2
| | | | | | | | - 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
|
* bug: migrate to the DAG entity structure!Michael Muré2021-02-141-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: rework to use the credential system + adapt to refactorsMichael Muré2020-02-151-60/+92
|
* jira: admittedly biased go stylingMichael Muré2020-02-091-46/+33
|
* repair after rebaseJosh Bialkowski2019-12-181-2/+3
|
* codereview #5: reverse-map and ImportWarningJosh Bialkowski2019-12-181-1/+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-2/+2
| | | | | | | | | * 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-59/+65
| | | | | | | | | | | | | | | | * 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-9/+5
|
* Implement jira bridgeJosh Bialkowski2019-12-181-0/+453