Commit Graph

939 Commits

Author SHA1 Message Date
Amine Hilaly
8b6c896369
bridge/gitlab: complete importer 2019-07-23 17:18:04 +02:00
Amine Hilaly
53f99d3b85
bridge/gitlab: add import note utilities
bridge/gitlab: set default capacity to 20
2019-07-23 17:18:04 +02:00
Amine Hilaly
89227f92b5
bridge/gitlab: add iterator LabelEvents 2019-07-23 17:18:04 +02:00
Amine Hilaly
b512108ac7
bridge/gitlab: fix iterator bugs and enhacements 2019-07-23 17:18:04 +02:00
Amine Hilaly
1c23c736e9
vendor: update github.com/xanzy/go-gitlab to version 0.19.0 2019-07-23 17:18:04 +02:00
Amine Hilaly
612264a00f
bridge/gitlab: fix iterator out of index bug 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
aea88180d3
bridge/gitlab: add method to query all project labels 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
8ee136e9fc
bridge/gitlab: add issue iterator 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
Amine Hilaly
cfd5653508
bridge/gitlab: init exporter 2019-07-23 17:18:04 +02:00
Amine Hilaly
01c0f644b2
bridge/gitlab: init new bridge 2019-07-23 17:18:04 +02:00
Amine Hilaly
15d12fb6c9
vendors: add github.com/xanzy/go-gitlab vendors 2019-07-23 17:18:04 +02:00
Amine Hilaly
a2a40cfd45
deps: Add github.com/xanzy/go-gitlab to dependencies 2019-07-23 17:18:04 +02:00
Michael Muré
8d05b4792c
Merge pull request #183 from A-Hilaly/bridge-github-fix
fix project visibility prompt in Github bridge configuration
2019-07-22 18:25:48 +02:00
Amine Hilaly
c805142f00
bridge/github: fix project visibility prompt 2019-07-22 18:14:40 +02:00
Michael Muré
23bf30a505
Update README.md 2019-07-13 15:31:52 +02:00
Michael Muré
1402295382
graphql: don't use the gqlgen command to generate to avoid pulling urfave/cli 2019-07-09 13:22:59 +02:00
Michael Muré
a5c42b7c11
Merge pull request #177 from A-Hilaly/git-version
Check git version in repo RmConfigs
2019-07-09 08:47:46 +02:00
Amine Hilaly
fb50d47048
repository: RmConfigs usage of git version lt 2.18 2019-07-08 23:57:19 +02:00
Michael Muré
76db2f42eb
repository: rework how RmConfigs works with git 2019-07-08 12:14:41 +02:00
Amine Hilaly
bb68b391a0
Check git version before removing config section
update git config tests
2019-07-07 13:57:15 +02:00
Amine Hilaly
08f9bafd09
Add blang/semver vendors 2019-07-07 13:37:22 +02:00
Amine Hilaly
e381d5554a
Update gqlgen vendors 2019-07-07 13:37:03 +02:00
Amine Hilaly
cb7fefdc99
Update gorilla/mux vendors 2019-07-07 13:36:30 +02:00
Amine Hilaly
7a336e95b1
Update Gopkg.lock and Gopkg.tml 2019-07-07 13:36:05 +02:00
Michael Muré
eef7333243
commands: fix a missing line break 2019-07-07 12:50:23 +02:00
Michael Muré
7988c67d0e
Update README.md 2019-07-07 12:44:25 +02:00
Michael Muré
ac24ca5d99
Update README.md 2019-07-07 12:25:34 +02:00
Michael Muré
dc289876c6
bridge: detect when trying to configure a bridge with a name already taken 2019-07-07 12:15:01 +02:00
Michael Muré
5b1a8cdefa
bridge: use a single KeyTarget constant for all bridges 2019-07-07 11:10:58 +02:00
Michael Muré
41a5a7fc1a
readme: github exporter is no longer a planned feature 2019-07-06 20:36:29 +02:00
Michael Muré
0903d16540
Merge pull request #174 from MichaelMure/dependabot/dep/github.com/gorilla/mux-1.7.3
build(deps): bump github.com/gorilla/mux from 1.7.2 to 1.7.3
2019-07-06 20:31:16 +02:00
Michael Muré
c0ad45064c
Merge pull request #173 from MichaelMure/dependabot/dep/github.com/99designs/gqlgen-0.9.1
build(deps): bump github.com/99designs/gqlgen from 0.9.0 to 0.9.1
2019-07-06 20:30:16 +02:00
Michael Muré
f4d4b2f413
Merge pull request #166 from MichaelMure/github-exporter
[Bridge] GitHub exporter
2019-07-06 16:32:57 +02:00
Amine Hilaly
9e611ee667
[bridge/github] import: avoid retrieving ghost email in userQuery
request

rename userQuery to ghostQuery
2019-07-06 16:20:05 +02:00
Amine Hilaly
6323c7b106
[bridge/github] ignore imported bugs from other repositories 2019-07-06 00:23:19 +02:00
Amine Hilaly
3e181168ea
[bridge/github] improve export label change function
[bridge/core] rename `EventStatus` to `ExportEvent`
2019-07-05 22:03:00 +02:00
Amine
93e731fd0d
[bridge/github] improve comments and documentation
[bridge/github] improve error handling and tests

Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-07-05 18:46:59 +02:00
dependabot-preview[bot]
f9d7d6bc12
build(deps): bump github.com/gorilla/mux from 1.7.2 to 1.7.3
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.2...v1.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 04:34:29 +00:00
Amine Hilaly
4b6949fcce
Add exporter documentation 2019-06-30 15:43:16 +02:00
Amine Hilaly
1f365b2369
[core] Implement ExportResults
Use ExportResult chan to send export events
Remove exportedBugs and exportedLabels
2019-06-30 15:42:45 +02:00
Amine Hilaly
570ae5f75e
[bug] add snapshot.GetCreateMetadata method
[bug] add snapshot.HasParticipant(id string)
[bug] add snapshot.HasAnyParticipant(ids ...string)
[bug] add snapshot.HasActor(id string)
[bug] add snapshot.HasAnyActor(ids ...string)
[bridge/github] improve comments
[bridge/github] exporter tests: register deleteRepository in cleaner
[bridge/github] tests rebase
2019-06-30 15:33:27 +02:00
dependabot-preview[bot]
b67acd5cc3
build(deps): bump github.com/99designs/gqlgen from 0.9.0 to 0.9.1
Bumps [github.com/99designs/gqlgen](https://github.com/99designs/gqlgen) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/99designs/gqlgen/releases)
- [Commits](https://github.com/99designs/gqlgen/compare/v0.9.0...v0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-27 04:25:01 +00:00
Amine Hilaly
31eebdf9da
[bridge/github] Correcte some types and add comments
General improvements

Co-Authored-By: Michael Muré <batolettre@gmail.com>

empty array check

an empty array is not nil

Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-06-24 21:35:24 +02:00
Amine Hilaly
87cdf03219
[bridge/github] exporter tests: Test issues metadata
[bridge/github] exproter tests: Change env vars
2019-06-24 21:34:52 +02:00
Amine Hilaly
9b4b1fc09a
Rebase and add bridge push zsh & powershell completion 2019-06-24 21:34:48 +02:00
Amine Hilaly
0dea0f6a76
[bridge/github] simplify export operation hashs
[bridge/github] exporter tests: add more test cases and global tests

[bridge/github] rename export_query to export_mutation

[bridge/github] exporter: Log number of exported issues and labels

[bridge/github] Improve comments
2019-06-24 21:33:29 +02:00