aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github
Commit message (Collapse)AuthorAgeFilesLines
* add github actionsMichael Muré2020-12-081-0/+3
|
* github: minor cleanupsMichael Muré2020-11-221-12/+26
|
* Change return type from map to structAlexander Scharinger2020-11-181-13/+18
|
* Apply suggestions from code reviewrng-dynamics2020-11-181-2/+2
| | | Co-authored-by: Michael Muré <batolettre@gmail.com>
* Revision of Github bridge device authorization grantAlexander Scharinger2020-11-181-59/+72
|
* Replace Github authorization endpoint by device authorization grantAlexander Scharinger2020-11-181-100/+94
| | | | Fix issue #484
* repo: use go-git in more places, fix pushMichael Muré2020-10-042-3/+3
|
* bridge: store credentials in the Keyring instead of the git configMichael Muré2020-09-291-1/+1
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-262-3/+3
| | | | | | | | | - allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code. - generalize the memory-only and persisted Lamport clocks behind a common interface - rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily - test previously untested components with those new tests Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
* bug: harmonize how time are used, fix some issues in command special formatsMichael Muré2020-06-251-1/+1
| | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
* github: tighten the import matchingMichael Muré2020-03-281-1/+4
|
* Merge pull request #344 from MichaelMure/github-lowercase-loginMichael Muré2020-02-292-45/+93
|\ | | | | github: fix matching cred/identity with badly cased login
| * github: fix testsMichael Muré2020-02-291-23/+32
| |
| * github: correct casing for user provided loginMichael Muré2020-02-291-22/+61
| |
* | identity: bring back the login to hold that info from bridges (purely ↵Michael Muré2020-02-251-0/+2
|/ | | | informational)
* Merge pull request #341 from MichaelMure/bridges-default-loginMichael Muré2020-02-236-40/+43
|\ | | | | bridge: record the login used during the configure and use it as default credential
| * bridge: record the login used during the configure and use it as default ↵Michael Muré2020-02-236-40/+43
| | | | | | | | | | | | credential fix #338
* | Merge pull request #331 from MichaelMure/webui/mutationsMichael Muré2020-02-231-1/+1
|\ \ | | | | | | Webui: add comments
| * | webui: style SetStatusMichael Muré2020-02-171-1/+1
| | |
* | | use regex.MustCompile instead of dealing with the errorMichael Muré2020-02-231-4/+1
| |/ |/|
* | bridges: pass the context to Init for when a client build process needs itMichael Muré2020-02-154-7/+9
| |
* | bridges: more refactor and cleanupMichael Muré2020-02-152-24/+17
| |
* | bridges: massive refactorMichael Muré2020-02-156-159/+79
| | | | | | | | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* | auth: refactor and introduce Login and LoginPassword, salt IDsMichael Muré2020-02-124-8/+8
|/
* github/gitlab: many fixes and improvments at the config stepMichael Muré2020-02-102-42/+82
|
* bridge: hopefully fix testsMichael Muré2020-02-081-0/+2
|
* github: make sure to have a nameMichael Muré2020-02-081-0/+5
|
* fix tests ?Michael Muré2020-02-081-6/+6
|
* it compiles \o/Michael Muré2020-02-086-18/+24
|
* gitlab also compileMichael Muré2020-02-084-2/+13
|
* more more wipMichael Muré2020-02-084-42/+40
|
* wipMichael Muré2020-02-081-2/+4
|
* more wipMichael Muré2020-02-081-1/+35
|
* more wipMichael Muré2020-02-085-57/+25
|
* WIPMichael Muré2020-02-081-39/+26
|
* 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
* bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-253-5/+19
| | | | | | | | | | - 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-101-0/+4
|
* Merge pull request #271 from MichaelMure/bridge-credentialsMichael Muré2019-12-108-158/+214
|\ | | | | bridge: huge refactor to accept multiple kind of credentials
| * bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-088-158/+214
| |
* | bridge: fix incorrect last import time on context cancelMichael Muré2019-12-091-1/+1
|/
* gitlab: configurator cleanupMichael Muré2019-11-261-1/+1
|
* github: tiny cleanups of the configuratorMichael Muré2019-11-261-12/+24
|
* bridge: trim inputs during bridge configurationamine2019-11-251-7/+7
|
* bridge/core: add LoadTokensWithTarget and LoadOrCreateToken functionsamine2019-11-241-38/+16
| | | | 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
|
* Merge pull request #258 from MichaelMure/fixesMichael Muré2019-11-191-0/+3
|\ | | | | Bridges fixes