aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/core
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into dev-gh-bridgeMichael Muré2021-04-092-4/+6
|\
| * Merge remote-tracking branch 'origin/master' into dag-entityMichael Muré2021-03-291-2/+4
| |\
| | * repo: fix various config issues around case insentivityMichael Muré2021-03-281-2/+4
| | |
| * | repo: expose all lamport clocks, move clocks in their own folderMichael Muré2021-02-141-2/+2
| |/
* / Improve feedback for user when Github rate limitingAlexander Scharinger2021-04-081-0/+12
|/ | | | | | | | The Github bridge itself should not write anything. This commit removes code writing to stdout and itroduces an event `ImportEventRateLimiting` to `core.ImportResult` in order to inform about a rate limiting situation of the Github GraphQL API. Now the communication with the user is delegated to the various user interfaces.
* bridge: store credentials in the Keyring instead of the git configMichael Muré2020-09-296-160/+140
|
* github: correct casing for user provided loginMichael Muré2020-02-291-11/+11
|
* use regex.MustCompile instead of dealing with the errorMichael Muré2020-02-232-12/+3
|
* Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-152-16/+8
|\
| * bridges: pass the context to Init for when a client build process needs itMichael Muré2020-02-152-16/+8
| |
* | Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-153-3/+8
|\|
| * bridges: more refactor and cleanupMichael Muré2020-02-153-3/+8
| |
* | Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-154-15/+66
|\|
| * bridges: massive refactorMichael Muré2020-02-154-15/+66
| | | | | | | | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* | Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-149-65/+365
|\|
| * auth: refactor and introduce Login and LoginPassword, salt IDsMichael Muré2020-02-129-64/+363
| |
| * github/gitlab: many fixes and improvments at the config stepMichael Muré2020-02-101-1/+2
| |
* | Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-099-85/+197
|\|
| * bridge: fix 2 uncatched errorsMichael Muré2020-02-081-0/+3
| |
| * bridge: fix wrong error usedMichael Muré2020-02-081-1/+1
| |
| * it compiles \o/Michael Muré2020-02-082-0/+22
| |
| * more more wipMichael Muré2020-02-085-3/+62
| |
| * more wipMichael Muré2020-02-083-26/+20
| |
| * WIPMichael Muré2020-02-084-70/+51
| |
| * 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.
| * bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-253-16/+63
| | | | | | | | | | | | | | | | | | | | - 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
* | 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-182-0/+29
|/ | | | | | | | | | | * 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
* bridge/gitlab: support self-hosted GitLab instanceamine2019-12-101-0/+1
|
* 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-087-321/+512
|
* bridge: move export event handling to the CLIMichael Muré2019-11-261-23/+5
|
* bridge/gitlab: add gitlab bridge configurationamine2019-11-241-2/+2
|
* bridge/core: add LoadTokensWithTarget and LoadOrCreateToken functionsamine2019-11-241-0/+42
| | | | bridge/github: global fixes
* bridge/core: load token value in ensureInitamine2019-11-232-4/+87
| | | | bridge/core: add more token functionalities
* bridge: use the target as well in the token IDMichael Muré2019-11-191-1/+1
|
* Merge pull request #247 from MichaelMure/bridge-originMichael Muré2019-11-191-3/+3
|\ | | | | bridge: move keyOrigin to core package
| * bridge/launchpad: add missing metadataamine2019-11-191-3/+3
| | | | | | | | bridge: use a specific key for origin metadata
* | bridge/core: document import/export eventsMichael Muré2019-11-192-1/+24
| |
* | 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-091-44/+31
| |
* | 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