aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/config.go
Commit message (Collapse)AuthorAgeFilesLines
* github/gitlab: many fixes and improvments at the config stepMichael Muré2020-02-101-34/+76
|
* it compiles \o/Michael Muré2020-02-081-9/+0
|
* gitlab also compileMichael Muré2020-02-081-1/+1
|
* more more wipMichael Muré2020-02-081-33/+4
|
* wipMichael Muré2020-02-081-2/+4
|
* more wipMichael Muré2020-02-081-1/+35
|
* more wipMichael Muré2020-02-081-2/+6
|
* WIPMichael Muré2020-02-081-39/+26
|
* input: better reusable prompt functionsMichael Muré2020-02-081-127/+12
|
* bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-251-5/+12
| | | | | | | | | | - 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
|
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-72/+63
|
* 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: configuration with global configsamine2019-11-231-14/+98
|
* github: sort project candidate in the interactive wizardMichael Muré2019-11-191-0/+3
|
* bridge/launchpad: add missing metadataamine2019-11-191-3/+3
| | | | bridge: use a specific key for origin metadata
* bridge/core: add tokenStdin field to bridgeParamsAmine Hilaly2019-09-021-1/+8
| | | | commands: move tokenStdin handling logic to bridge.Configure
* bridge/github: move cleaners to where is calledAmine Hilaly2019-09-011-10/+20
|
* bridge/github: recover terminal state in password promptsAmine Hilaly2019-08-311-0/+11
| | | | commands: error if a token is provide but not the bridge name and target
* commands: enhance flag description Amine2019-08-311-1/+1
| | | | | bridge/github: improve configuration logic Co-Authored-By: Michael Muré <batolettre@gmail.com>
* commands: read token from stdin in bridge configurationAmine Hilaly2019-08-311-1/+11
| | | | bridge: improve bridge config validation
* fix index out of range panic in github configurationAmine Hilaly2019-07-231-1/+1
|
* bridge/github: fix project visibility promptAmine Hilaly2019-07-221-2/+2
|
* bridge: use a single KeyTarget constant for all bridgesMichael Muré2019-07-071-4/+3
|
* Naming fixesAmine Hilaly2019-06-161-3/+5
|
* Store bridge type alongside the other params in the configAmine Hilaly2019-06-151-0/+6
|
* make token visible in configuration processAmine Hilaly2019-06-071-12/+16
| | | | | validate token global fixes
* Allow cancelling configurationAmine2019-06-051-2/+2
| | | | | | correct error message Co-Authored-By: Michael Muré <batolettre@gmail.com>
* add unit tests for launchpad bridge configurationAmine Hilaly2019-05-301-1/+1
| | | | | add tests for validateUsername in Github bridge panic when compile regex fail
* Update configuration process and add unit testsAmine Hilaly2019-05-291-16/+34
| | | | Update launchpad bridge
* Update documentation and function namingAmine2019-05-291-4/+3
| | | Co-Authored-By: Michael Muré <batolettre@gmail.com>
* Change github regex for better matchingAmine Hilaly2019-05-291-7/+17
| | | | | Remove '.git' suffixes from URLs Change token scope for public repositories to `repo:public_repo`
* Disable `bridgeConfigure` sort flags optionAmine Hilaly2019-05-291-2/+2
| | | | rename `validateGithubURLRemotes` to `getValideGithubRemoteURLs`
* Change client default timeout value to 60 secondsAmine Hilaly2019-05-291-20/+9
| | | | | add named return values for easier validation for 2FA codes
* Update flags descriptions Amine2019-05-291-2/+2
| | | | | Enhance printing in prompt Co-Authored-By: Michael Muré <batolettre@gmail.com>
* Add warning messages for launchpad-previewAmine Hilaly2019-05-291-3/+3
| | | | | fix --target flag description improve comments
* Launchpad bridge configuration from `BridgeParams` Project and URLAmine Hilaly2019-05-291-3/+5
| | | | Improve Github config comments
* Update Github bridge configurationAmine Hilaly2019-05-291-86/+200
| | | | | Use GetRemotes in `promptURL` to suggest repo urls Add `promptTokenOptions` to select token a configuration option
* Github bridge updatesAmine Hilaly2019-05-291-67/+189
| | | | Use bridge params to configure the bridge
* Integrate iterator with importerAmine Hilaly2019-05-051-4/+6
|
* github: also pull users emailMichael Muré2018-10-071-2/+7
|
* github: explain better what happen with the user credentialsMichael Muré2018-10-031-1/+1
|
* bridge: validate config before useMichael Muré2018-09-241-0/+16
|
* commands: add "bridge rm"Michael Muré2018-09-241-1/+1
|
* bridge: big refactor and cleanupMichael Muré2018-09-241-11/+10
|
* bridge: better interfaces, working github configuratorMichael Muré2018-09-211-0/+282