aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* codereview #5: reverse-map and ImportWarningJosh Bialkowski2019-12-185-32/+97
| | | | | | | | | | | * 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-186-0/+2832
|
* bridge/gitlab: support self-hosted GitLab instanceamine2019-12-109-15/+71
|
* Merge pull request #271 from MichaelMure/bridge-credentialsMichael Muré2019-12-1025-633/+913
|\ | | | | bridge: huge refactor to accept multiple kind of credentials
| * auth: Correctly cast configs[configKeyKind]amine2019-12-091-1/+1
| |
| * type the CredentialKind valuesMichael Muré2019-12-091-2/+2
| | | | | | Co-Authored-By: Amine <hilalyamine@gmail.com>
| * bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-0825-633/+913
| |
* | bridge: fix incorrect last import time on context cancelMichael Muré2019-12-091-1/+1
|/
* bridge: move export event handling to the CLIMichael Muré2019-11-261-23/+5
|
* gitlab: configurator cleanupMichael Muré2019-11-262-10/+27
|
* github: tiny cleanups of the configuratorMichael Muré2019-11-261-12/+24
|
* bridge: trim inputs during bridge configurationamine2019-11-252-12/+12
|
* bridge/gitlab: add gitlab bridge configurationamine2019-11-244-7/+75
|
* bridge/core: add LoadTokensWithTarget and LoadOrCreateToken functionsamine2019-11-242-38/+58
| | | | bridge/github: global fixes
* commands: add bridge configure --token-id flagamine2019-11-231-15/+0
|
* bridge/github: use core.ConfigKeyToken instead of keyTokenamine2019-11-232-5/+5
|
* bridge/github: configuration with global configsamine2019-11-231-14/+98
|
* bridge/core: load token value in ensureInitamine2019-11-232-4/+87
| | | | bridge/core: add more token functionalities
* Merge pull request #258 from MichaelMure/fixesMichael Muré2019-11-192-1/+4
|\ | | | | Bridges fixes
| * bridge: use the target as well in the token IDMichael Muré2019-11-191-1/+1
| |
| * github: sort project candidate in the interactive wizardMichael Muré2019-11-191-0/+3
| |
* | bridge/launchpad: importer correctly emit NothingEventamine2019-11-192-5/+4
| |
* | bridge/gitlab: importer and exporter correctly emit NothingEventsamine2019-11-192-11/+11
| |
* | bridge/github: export correctly emit nothing eventsamine2019-11-192-24/+18
| |
* | bridge/github: importer corectly emit eventsamine2019-11-191-29/+12
|/
* Merge pull request #247 from MichaelMure/bridge-originMichael Muré2019-11-1914-101/+103
|\ | | | | bridge: move keyOrigin to core package
| * bridge/launchpad: add missing metadataamine2019-11-1914-101/+103
| | | | | | | | bridge: use a specific key for origin metadata
* | bridge/core: document import/export eventsMichael Muré2019-11-192-1/+24
| |
* | bridge/github: fix iterator regressionamine2019-11-111-2/+4
| |
* | github: follow API changesMichael Muré2019-11-112-21/+21
| | | | | | | | https://developer.github.com/v4/changelog/2019-06-04-schema-changes/
* | cli: add bridge token showMichael Muré2019-11-101-1/+1
| |
* | bridge: various improvement on the global token PRMichael Muré2019-11-102-47/+67
| |
* | token: regenerate documentation and fix importsamine2019-11-091-1/+1
| |
* | bridge/core: store token in the global config and replace scopes with create ↵amine2019-11-091-123/+45
| | | | | | | | date
* | tokens: use entity.Id as id typeamine2019-11-091-8/+9
| |
* | tokens: use a hash as token identifier instead of the token it selfamine2019-11-091-32/+97
| |
* | bridge: various cleanupsMichael Muré2019-11-095-59/+40
| |
* | commands: use token value as identifierAmine2019-11-091-31/+14
| |
* | bridge/core: use token id instead of nameAmine2019-11-091-40/+25
| | | | | | | | | | commands: add bridge token rm/add commands: improve bridge token printing
* | bridge/core: comment token functionalitiesAmine2019-11-091-18/+32
| |
* | bridge/core: Implement token functionalitiesAmine2019-11-091-0/+211
| |
* | bridge/github: improve iterator readabilityamine2019-11-051-34/+49
| |
* | bridge/gitlab: add missing error check in export testsamine2019-11-051-1/+4
| |
* | bridge/github: improve iterator NextTimelineItem functionamine2019-11-051-0/+6
|/
* bridge: improvement on the import resume featureMichael Muré2019-11-031-29/+20
|
* commands: support bridge imports after a given date and resumable importsamine2019-11-031-7/+72
|