aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* bridges: massive refactorMichael Muré2020-02-1518-377/+223
| | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* 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
|
* 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
* 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