Commit Graph

1011 Commits

Author SHA1 Message Date
Michael Muré
d2ed6747e5
gitlab: fix edit not being pushed with baseUrl
fix #284
2020-01-03 13:52:03 +01:00
Michael Muré
fc568209f0
termui: fix an excessive assumption about an error 2019-12-27 20:08:58 +01:00
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
Michael Muré
8acbc9db40
Merge pull request #277 from MichaelMure/dependabot/dep/github.com/MichaelMure/go-term-text-0.2.4
build(deps): bump github.com/MichaelMure/go-term-text from 0.2.1 to 0.2.4
2019-12-26 21:50:48 +01:00
Michael Muré
6fffe24dea dep ensure 2019-12-26 21:49:39 +01:00
dependabot-preview[bot]
2852bb27e5 build(deps): bump github.com/MichaelMure/go-term-text
Bumps [github.com/MichaelMure/go-term-text](https://github.com/MichaelMure/go-term-text) from 0.2.1 to 0.2.4.
- [Release notes](https://github.com/MichaelMure/go-term-text/releases)
- [Commits](https://github.com/MichaelMure/go-term-text/compare/v0.2.1...v0.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-26 21:44:38 +01:00
Michael Muré
3a3a4ffacd
Merge pull request #278 from MichaelMure/bridge-conf-workflow
bridge: allow to configure and pull without having set a user first
2019-12-26 21:42:47 +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
Michael Muré
e96d8e6771
Merge pull request #274 from MichaelMure/gitlab-bridge
bridge/gitlab: support self-hosted GitLab instance
2019-12-10 21:13:54 +01:00
amine
f6b4830c0b bridge/gitlab: support self-hosted GitLab instance 2019-12-10 21:05:55 +01:00
Amine
ef6801a37f
Merge pull request #273 from MichaelMure/user-create-set
cmd: "user create" only assign the user identity if not set
2019-12-10 20:52:01 +01:00
Michael Muré
da6591e480 cmd: "user create" only assign the user identity if not set 2019-12-10 20:13:49 +01:00
Michael Muré
f1ed857cbd
Merge pull request #271 from MichaelMure/bridge-credentials
bridge: huge refactor to accept multiple kind of credentials
2019-12-10 00:42:23 +01:00
amine
58c0e5aac9 auth: Correctly cast configs[configKeyKind] 2019-12-09 17:16:44 +01:00
Michael Muré
4c6d33e48e
type the CredentialKind values
Co-Authored-By: Amine <hilalyamine@gmail.com>
2019-12-09 16:43:30 +01:00
Amine
69af7a1e0c
Merge pull request #272 from MichaelMure/fix-import-time-save
bridge: fix incorrect last import time on context cancel
2019-12-09 15:22:14 +01:00
Michael Muré
8f7f89561b
bridge: fix incorrect last import time on context cancel 2019-12-09 01:03:37 +01:00
Michael Muré
b92adfcb5f
bridge: huge refactor to accept multiple kind of credentials 2019-12-08 21:28:27 +01:00
Michael Muré
981a4a848b
Merge pull request #265 from contrapunctus-1/doc-grammar
readme - fix some grammatical issues
2019-11-29 16:09:33 +01:00
contrapunctus
f7f1924da7 readme - fix some grammatical issues 2019-11-29 20:07:10 +05:30
Amine
5207fb4109
Merge pull request #263 from MichaelMure/configure-cleanup
github: tiny cleanups of the configurator
2019-11-26 22:05:32 +01:00
Michael Muré
1a1e313f30 bridge: move export event handling to the CLI 2019-11-26 20:46:00 +01:00
Michael Muré
4f856d6f78 gitlab: configurator cleanup 2019-11-26 20:45:32 +01:00
Michael Muré
afe69d0c93 github: tiny cleanups of the configurator 2019-11-26 19:46:50 +01:00
Michael Muré
26a6269241
Merge pull request #262 from MichaelMure/bridge
bridge: trim inputs during bridge configuration
2019-11-26 19:07:14 +01:00
amine
7cb772095e bridge: trim inputs during bridge configuration 2019-11-25 15:08:48 +01:00
Michael Muré
44f648a931
Merge pull request #260 from MichaelMure/bridge
Support bridge configuration with global tokens
2019-11-24 23:54:23 +01:00
amine
06abb5a531 bridge/gitlab: add gitlab bridge configuration 2019-11-24 18:04:48 +01:00
amine
da2d7970cd bridge/core: add LoadTokensWithTarget and LoadOrCreateToken functions
bridge/github: global fixes
2019-11-24 14:38:44 +01:00
amine
09db1cda71 commands: add bridge configure --token-id flag 2019-11-23 19:26:27 +01:00
amine
014e754fcd bridge/github: use core.ConfigKeyToken instead of keyToken 2019-11-23 19:20:55 +01:00
amine
b1d0f48f67 bridge/github: configuration with global configs 2019-11-23 19:20:32 +01:00
amine
bf7583862d bridge/core: load token value in ensureInit
bridge/core: add more token functionalities
2019-11-23 19:20:19 +01:00
Michael Muré
6345895a3d
Merge pull request #258 from MichaelMure/fixes
Bridges fixes
2019-11-19 21:31:29 +01:00
Michael Muré
f35845d328
Merge pull request #255 from MichaelMure/dependabot/dep/github.com/awesome-gocui/gocui-a34ffb0
build(deps): bump github.com/awesome-gocui/gocui from `c9d3c2b` to `a34ffb0`
2019-11-19 21:29:26 +01:00
amine
17b4329973 vendor: update github.com/awesome-gocui/gocui dependencies 2019-11-19 21:29:09 +01:00
Michael Muré
76b612936d bridge: use the target as well in the token ID 2019-11-19 21:23:03 +01:00
Michael Muré
dcf3feb0b5
Merge pull request #254 from MichaelMure/import-events
Bridge: correctly emit NothingEvents
2019-11-19 21:13:13 +01:00
Michael Muré
5054b8dbdc github: sort project candidate in the interactive wizard 2019-11-19 21:12:10 +01:00
Michael Muré
22085f30d3
Merge pull request #256 from MichaelMure/dependabot/dep/github.com/xanzy/go-gitlab-0.22.1
build(deps): bump github.com/xanzy/go-gitlab from 0.22.0 to 0.22.1
2019-11-19 20:38:48 +01:00
amine
d6d5978b6d bridge/launchpad: importer correctly emit NothingEvent 2019-11-19 20:33:20 +01:00
Michael Muré
60427f066a bridge configure: no default name if the default has already been created 2019-11-19 20:20:19 +01:00
amine
87f86bca1e vendor: update github.com/xanzy/go-gitlab dependencies 2019-11-19 20:17:51 +01:00
amine
967f19a30f bridge/gitlab: importer and exporter correctly emit NothingEvents 2019-11-19 20:09:29 +01:00
amine
87244d3c8d bridge/github: export correctly emit nothing events 2019-11-19 20:04:40 +01:00
Michael Muré
62fea2615d
Merge pull request #213 from MichaelMure/hash-collision
bug: make sure there is no Operation's hash collision
2019-11-19 20:03:57 +01:00
amine
8b5685bb99 bridge/github: importer corectly emit events 2019-11-19 19:54:07 +01:00
Michael Muré
283e97111b bug: make sure there is no Operation's hash collision 2019-11-19 19:51:18 +01:00