Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | jira: rework to use the credential system + adapt to refactors | Michael Muré | 2020-02-15 | 5 | -278/+346 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into cheshirekow-jira | Michael Muré | 2020-02-15 | 11 | -31/+27 |
|\ | |||||
| * | bridges: pass the context to Init for when a client build process needs it | Michael Muré | 2020-02-15 | 11 | -31/+27 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into cheshirekow-jira | Michael Muré | 2020-02-15 | 6 | -32/+34 |
|\| | |||||
| * | bridges: more refactor and cleanup | Michael Muré | 2020-02-15 | 6 | -32/+34 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into cheshirekow-jira | Michael Muré | 2020-02-15 | 18 | -377/+223 |
|\| | |||||
| * | bridges: massive refactor | Michael Muré | 2020-02-15 | 18 | -377/+223 |
| | | | | | | | | | | | | - automatic flag validation and warning - generalized prompt - cleanups | ||||
* | | Merge remote-tracking branch 'origin/master' into cheshirekow-jira | Michael Muré | 2020-02-14 | 19 | -145/+513 |
|\| | |||||
| * | auth: refactor and introduce Login and LoginPassword, salt IDs | Michael Muré | 2020-02-12 | 16 | -77/+376 |
| | | |||||
| * | github/gitlab: many fixes and improvments at the config step | Michael Muré | 2020-02-10 | 8 | -71/+140 |
| | | |||||
* | | jira: admittedly biased go styling | Michael Muré | 2020-02-09 | 3 | -198/+154 |
| | | |||||
* | | jira: use the new generalized prompts | Michael Muré | 2020-02-09 | 1 | -105/+40 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into cheshirekow-jira | Michael Muré | 2020-02-09 | 31 | -435/+542 |
|\| | |||||
| * | bridge: fix 2 uncatched errors | Michael Muré | 2020-02-08 | 2 | -0/+6 |
| | | |||||
| * | bridge: hopefully fix tests | Michael Muré | 2020-02-08 | 2 | -0/+4 |
| | | |||||
| * | bridge: fix wrong error used | Michael Muré | 2020-02-08 | 1 | -1/+1 |
| | | |||||
| * | github: make sure to have a name | Michael Muré | 2020-02-08 | 1 | -0/+5 |
| | | |||||
| * | fix tests ? | Michael Muré | 2020-02-08 | 2 | -10/+10 |
| | | |||||
| * | it compiles \o/ | Michael Muré | 2020-02-08 | 13 | -30/+78 |
| | | |||||
| * | gitlab also compile | Michael Muré | 2020-02-08 | 10 | -144/+113 |
| | | |||||
| * | more more wip | Michael Muré | 2020-02-08 | 10 | -46/+102 |
| | | |||||
| * | wip | Michael Muré | 2020-02-08 | 1 | -2/+4 |
| | | |||||
| * | more wip | Michael Muré | 2020-02-08 | 1 | -1/+35 |
| | | |||||
| * | more wip | Michael Muré | 2020-02-08 | 8 | -83/+45 |
| | | |||||
| * | WIP | Michael Muré | 2020-02-08 | 6 | -110/+78 |
| | | |||||
| * | input: better reusable prompt functions | Michael Muré | 2020-02-08 | 1 | -127/+12 |
| | | |||||
| * | github: warning when the comment to be edited is missing instead of failing | Michael Muré | 2020-01-04 | 1 | -0/+5 |
| | | | | | | | | fix #286 | ||||
| * | codereview #6: don't fail one warning | Josh Bialkowski | 2020-01-04 | 2 | -3/+12 |
| | | | | | | | | * presence of an error in the import event doesn't indicate failure | ||||
| * | * Fix git config reader can't read values with spaces | Josh Bialkowski | 2020-01-04 | 2 | -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 URL | Michael Muré | 2020-01-03 | 1 | -6/+7 |
| | | |||||
| * | gitlab: fix edit not being pushed with baseUrl | Michael Muré | 2020-01-03 | 1 | -1/+1 |
| | | | | | | | | fix #284 | ||||
| * | Merge pull request #280 from MichaelMure/bridge-gitlab | Michael Muré | 2019-12-27 | 2 | -18/+94 |
| |\ | | | | | | | bridge/gitlab: add base url configuration | ||||
| | * | bridge/gitlab/config.go printing typo | Amine | 2019-12-27 | 1 | -1/+1 |
| | | | | | | | | | Co-Authored-By: Michael Muré <batolettre@gmail.com> | ||||
| | * | bridge/gitlab: add missing baseUrl prompt and options | amine | 2019-12-26 | 2 | -18/+94 |
| | | | | | | | | | | | | bridge/gitlab: fix api calls with self hosted Gitlab instances | ||||
| * | | bridge: allow to configure and pull without having set a user first | Michael Muré | 2019-12-25 | 9 | -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 rebase | Josh Bialkowski | 2019-12-18 | 4 | -21/+19 |
| | | |||||
* | | codereview #6: don't fail one warning | Josh Bialkowski | 2019-12-18 | 2 | -3/+12 |
| | | | | | | | | * presence of an error in the import event doesn't indicate failure | ||||
* | | codereview #5: reverse-map and ImportWarning | Josh Bialkowski | 2019-12-18 | 5 | -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 testing | Josh Bialkowski | 2019-12-18 | 2 | -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 fixes | Josh Bialkowski | 2019-12-18 | 4 | -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-events | Josh Bialkowski | 2019-12-18 | 4 | -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 golangcibot | Josh Bialkowski | 2019-12-18 | 4 | -20/+37 |
| | | |||||
* | | Implement jira bridge | Josh Bialkowski | 2019-12-18 | 6 | -0/+2832 |
|/ | |||||
* | bridge/gitlab: support self-hosted GitLab instance | amine | 2019-12-10 | 9 | -15/+71 |
| | |||||
* | Merge pull request #271 from MichaelMure/bridge-credentials | Michael Muré | 2019-12-10 | 25 | -633/+913 |
|\ | | | | | bridge: huge refactor to accept multiple kind of credentials | ||||
| * | auth: Correctly cast configs[configKeyKind] | amine | 2019-12-09 | 1 | -1/+1 |
| | | |||||
| * | type the CredentialKind values | Michael Muré | 2019-12-09 | 1 | -2/+2 |
| | | | | | | Co-Authored-By: Amine <hilalyamine@gmail.com> | ||||
| * | bridge: huge refactor to accept multiple kind of credentials | Michael Muré | 2019-12-08 | 25 | -633/+913 |
| | | |||||
* | | bridge: fix incorrect last import time on context cancel | Michael Muré | 2019-12-09 | 1 | -1/+1 |
|/ | |||||
* | bridge: move export event handling to the CLI | Michael Muré | 2019-11-26 | 1 | -23/+5 |
| |