aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/core
Commit message (Collapse)AuthorAgeFilesLines
* Fix some commentsdockercui2024-04-241-1/+1
| | | | Signed-off-by: dockercui <dockercui@aliyun.com>
* [DATALAD RUNCMD] Run codespell -wYaroslav Halchenko2023-01-231-1/+1
| | | | | | | | | | | | | | === Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
* cache: tie up the refactor up to compilingMichael Muré2022-12-211-2/+2
|
* WIPMichael Muré2022-11-281-1/+2
|
* core: bubble up the comment ID when created, or edited the first commentMichael Muré2022-11-132-96/+103
|
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-181-1/+1
|
* feature: Github bridge mutation rate limit (#694)rng-dynamics2021-09-141-0/+12
| | | Unified handling of rate limiting of github graphql api
* CLI: Add non-interactive option to interactive commands (#651)Sascha2021-05-092-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add option to skip the AvatarURL input request Using an empty string for the avatar cli flag e.g. `git-bug user create -a ""` will still result in a prompt. As the avatar URL is an optional option, it should be possible to skip asking for it entirely. Otherwise automated user creation via a script must make use of pipe hacks. * Add global --non-interactive cmdline option * Replace --skipAvatar for --non-interactive option * Cmd BugAdd: respect non-interactive option * Cmd bridge configure: respect non-interactive opt * Cmd CommentAdd: respect non-interactive option * Cmd CommentEdit: respect non-interactive option * Cmd TermUI: respect non-interactive option * Cmd TitleEdit: respect non-interactive option * Remove global non-interactive option * Cmd UserCreate: Use local non-interactive option * Cmd BugAdd: Use local non-interactive option * Cmd BridgeConfigure: Use local non-interactive option * Cmd CommentAdd: Use local non-interactive option * Cmd CommentEdit: Use local non-interactive option * Cmd TermUI: Drop non-interactive option It should be obviouse that the termui is an interactive command. * Cmd TitleEdit: Use local non-interactive option * Update docs * Bridge GitHub: respect non-interactive option * Bridge GitLab: respect non-interactive option * Bridge Jira: respect non-interactive and token opt * Fix failing compilation * Bridge launchpad: respect non-interactive option * bridge: isNonInteractive --> interactive Co-authored-by: Michael Muré <batolettre@gmail.com>
* 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
| |