aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
...
| * | webui: style SetStatusMichael Muré2020-02-171-1/+1
| | |
* | | use regex.MustCompile instead of dealing with the errorMichael Muré2020-02-235-24/+6
| |/ |/|
* | 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
| |
* | Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-1511-31/+27
|\ \
| * | bridges: pass the context to Init for when a client build process needs itMichael Muré2020-02-1511-31/+27
| | |
* | | Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-156-32/+34
|\| |
| * | bridges: more refactor and cleanupMichael Muré2020-02-156-32/+34
| | |
* | | Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-1518-377/+223
|\| |
| * | bridges: massive refactorMichael Muré2020-02-1518-377/+223
| | | | | | | | | | | | | | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* | | Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-1419-145/+513
|\| |
| * | auth: refactor and introduce Login and LoginPassword, salt IDsMichael Muré2020-02-1216-77/+376
| |/
| * github/gitlab: many fixes and improvments at the config stepMichael Muré2020-02-108-71/+140
| |
* | 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-0931-435/+542
|\|
| * bridge: fix 2 uncatched errorsMichael Muré2020-02-082-0/+6
| |
| * bridge: hopefully fix testsMichael Muré2020-02-082-0/+4
| |
| * bridge: fix wrong error usedMichael Muré2020-02-081-1/+1
| |
| * github: make sure to have a nameMichael Muré2020-02-081-0/+5
| |
| * fix tests ?Michael Muré2020-02-082-10/+10
| |
| * it compiles \o/Michael Muré2020-02-0813-30/+78
| |
| * gitlab also compileMichael Muré2020-02-0810-144/+113
| |
| * more more wipMichael Muré2020-02-0810-46/+102
| |
| * wipMichael Muré2020-02-081-2/+4
| |
| * more wipMichael Muré2020-02-081-1/+35
| |
| * more wipMichael Muré2020-02-088-83/+45
| |
| * WIPMichael Muré2020-02-086-110/+78
| |
| * input: better reusable prompt functionsMichael Muré2020-02-081-127/+12
| |
| * github: warning when the comment to be edited is missing instead of failingMichael Muré2020-01-041-0/+5
| | | | | | | | fix #286
| * codereview #6: don't fail one warningJosh Bialkowski2020-01-042-3/+12
| | | | | | | | * presence of an error in the import event doesn't indicate failure
| * * Fix git config reader can't read values with spacesJosh Bialkowski2020-01-042-0/+35
| | | | | | | | | | | | | | * 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.
| * gitlab: proper token generation URL with custom base URLMichael Muré2020-01-031-6/+7
| |
| * gitlab: fix edit not being pushed with baseUrlMichael Muré2020-01-031-1/+1
| | | | | | | | fix #284
| * Merge pull request #280 from MichaelMure/bridge-gitlabMichael Muré2019-12-272-18/+94
| |\ | | | | | | bridge/gitlab: add base url configuration
| | * bridge/gitlab/config.go printing typoAmine2019-12-271-1/+1
| | | | | | | | | Co-Authored-By: Michael Muré <batolettre@gmail.com>
| | * bridge/gitlab: add missing baseUrl prompt and optionsamine2019-12-262-18/+94
| | | | | | | | | | | | bridge/gitlab: fix api calls with self hosted Gitlab instances
| * | bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-259-26/+101
| |/ | | | | | | | | | | | | | | | | | | - init() only the importer or exporter as required - assign a "default user" user Id to credentials at creation if no user has been set - "bridge auth": also display the user - "bridge auth show": adapt to a potential "default user" user Id - "bridge configure": allow to run without a user set - "bridge pull": allow to run without a user set - "user adopt": replace "default user" by the actual user id when run
* | repair after rebaseJosh Bialkowski2019-12-184-21/+19
| |
* | codereview #6: don't fail one warningJosh Bialkowski2019-12-182-3/+12
| | | | | | | | * presence of an error in the import event doesn't indicate failure
* | 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
|