Michael Muré
1bcba473fb
Merge pull request #280 from MichaelMure/bridge-gitlab
...
bridge/gitlab: add base url configuration
2019-12-27 12:12:01 +01:00
Amine
c769348c75
bridge/gitlab/config.go printing typo
...
Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-12-27 03:29:53 +01:00
amine
5cffb5d114
bridge/gitlab: add missing baseUrl prompt and options
...
bridge/gitlab: fix api calls with self hosted Gitlab instances
2019-12-26 20:16:18 +01:00
Michael Muré
864d3ed335
bridge: allow to configure and pull without having set a user first
...
- 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
2019-12-25 23:25:39 +01:00
amine
f6b4830c0b
bridge/gitlab: support self-hosted GitLab instance
2019-12-10 21:05:55 +01:00
Michael Muré
b92adfcb5f
bridge: huge refactor to accept multiple kind of credentials
2019-12-08 21:28:27 +01:00
Michael Muré
4f856d6f78
gitlab: configurator cleanup
2019-11-26 20:45:32 +01:00
amine
7cb772095e
bridge: trim inputs during bridge configuration
2019-11-25 15:08:48 +01:00
amine
06abb5a531
bridge/gitlab: add gitlab bridge configuration
2019-11-24 18:04:48 +01:00
amine
8ffe2a9b03
bridge/launchpad: add missing metadata
...
bridge: use a specific key for origin metadata
2019-11-19 19:16:16 +01:00
Amine Hilaly
f3d8da1075
bridge/core: add tokenStdin field to bridgeParams
...
commands: move tokenStdin handling logic to bridge.Configure
2019-09-02 09:44:00 +02:00
Amine Hilaly
0381400bfd
commands: read token from stdin in bridge configuration
...
bridge: improve bridge config validation
2019-08-31 23:02:20 +02:00
Amine Hilaly
0329bfdf44
bridge/gitlab: change validateProjectURL signature
...
bridge/gitlab: code cleanup
2019-07-23 17:29:53 +02:00
Amine
d098a96407
bridge/gitlab: global code and comment updates
...
Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-07-23 17:18:04 +02:00
Amine Hilaly
ece2cb1262
bridge/gitlab: improve tests and errors
...
bridge/gitlab: global fixes
2019-07-23 17:18:04 +02:00
Amine Hilaly
7726bbdbcf
bridge/gitlab: add bridge config tests
2019-07-23 17:18:04 +02:00
Amine Hilaly
ce3a2788ab
bridge/gitlab: fix note error handling bug
...
bridge/gitlab: remove unused functions
2019-07-23 17:18:04 +02:00
Amine Hilaly
6c02f0951d
bridge/gitlab: prompt only for user provided token
2019-07-23 17:18:04 +02:00
Amine Hilaly
5144525649
bridge/gitlab: remove request token methodes
2019-07-23 17:18:04 +02:00
Amine Hilaly
35a033c0f1
bridge/gitlab: bridge project validation
...
bridge/gitlab: token generation
2019-07-23 17:18:04 +02:00
Amine Hilaly
a1a1d4868b
bridge/gitlab: add bridge configure
2019-07-23 17:18:04 +02:00