Commit Graph

24 Commits

Author SHA1 Message Date
Amine Hilaly
c805142f00
bridge/github: fix project visibility prompt 2019-07-22 18:14:40 +02:00
Michael Muré
5b1a8cdefa
bridge: use a single KeyTarget constant for all bridges 2019-07-07 11:10:58 +02:00
Amine Hilaly
319b648d0f
Naming fixes 2019-06-16 23:02:59 +02:00
Amine Hilaly
f70e775dbd
Store bridge type alongside the other params in the config 2019-06-15 02:33:06 +02:00
Amine Hilaly
a6c8b6b78d
make token visible in configuration process
validate token
global fixes
2019-06-07 01:17:59 +02:00
Amine
c52a467302
Allow cancelling configuration
correct error message

Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-06-05 01:40:37 +02:00
Amine Hilaly
ebebdfdf35
add unit tests for launchpad bridge configuration
add tests for validateUsername in Github bridge
panic when compile regex fail
2019-05-30 12:50:21 +02:00
Amine Hilaly
45d47a0966
Update configuration process and add unit tests
Update launchpad bridge
2019-05-29 22:58:01 +02:00
Amine
5ea0cb138b
Update documentation and function naming
Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-05-29 22:58:01 +02:00
Amine Hilaly
5911cb96c0
Change github regex for better matching
Remove '.git' suffixes from URLs
Change token scope for public repositories to `repo:public_repo`
2019-05-29 22:58:01 +02:00
Amine Hilaly
99b6107487
Disable bridgeConfigure sort flags option
rename `validateGithubURLRemotes` to `getValideGithubRemoteURLs`
2019-05-29 22:58:01 +02:00
Amine Hilaly
1c146a1b67
Change client default timeout value to 60 seconds
add named return values for
easier validation for 2FA codes
2019-05-29 22:58:01 +02:00
Amine
1022b9e536
Update flags descriptions
Enhance printing in prompt

Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-05-29 22:58:01 +02:00
Amine Hilaly
43758a14fd
Add warning messages for launchpad-preview
fix --target flag description
improve comments
2019-05-29 22:58:01 +02:00
Amine Hilaly
0de2bd92b0
Launchpad bridge configuration from BridgeParams Project and URL
Improve Github config comments
2019-05-29 22:58:01 +02:00
Amine Hilaly
46ce1059b6
Update Github bridge configuration
Use GetRemotes in `promptURL` to suggest repo urls
Add `promptTokenOptions` to select token a configuration option
2019-05-29 22:58:01 +02:00
Amine Hilaly
6deb6ec469
Github bridge updates
Use bridge params to configure the bridge
2019-05-29 22:58:01 +02:00
Amine Hilaly
3bcaa35b5d Integrate iterator with importer 2019-05-05 18:16:10 +02:00
Michael Muré
7cb7994cda
github: also pull users email 2018-10-07 18:27:23 +02:00
Michael Muré
f464363213
github: explain better what happen with the user credentials 2018-10-03 21:07:58 +02:00
Michael Muré
c86e7231b2
bridge: validate config before use 2018-09-24 17:21:24 +02:00
Michael Muré
061e83d4b4
commands: add "bridge rm" 2018-09-24 16:24:38 +02:00
Michael Muré
5e8fb7ec50
bridge: big refactor and cleanup 2018-09-24 15:25:15 +02:00
Michael Muré
921cd18cf9
bridge: better interfaces, working github configurator 2018-09-21 18:53:44 +02:00