Michael Muré
6a0336e04b
git: minor cleanup
2019-08-31 13:21:44 +02:00
Sebastien Devaux
1dc106279a
issue 178: refined git command cwd setting.
...
For unknown reason setting .git as current directory for the called
git command fails when git-bug is called from a git hook (and it was
observed only in this case). Forcing use of current dir when the
repo path is ".git" restore the expected behavior.
2019-08-28 21:11:29 +02:00
Sebastien Devaux
ddcbd8d022
issue 178: adding required changes to InitGitRepo and CleanupTestRepos
2019-08-27 21:35:04 +02:00
Sebastien Devaux
7e123fbfca
issue 178: fetch the repo dir with rev-parse --git-dir
...
Since is returns the .git dir directly, it is not more needed to
concatenate .git.
2019-08-24 22:42:25 +02:00
Amine
91f563da5f
Merge pull request #192 from MichaelMure/github-exporter-label
...
bridge: Github exporter support case sensitive labels
2019-08-19 01:02:29 +02:00
Amine Hilaly
4a4e238d1f
bridge/github: add exporter test cases for label change bug
2019-08-19 00:44:35 +02:00
Amine Hilaly
d19b8e1a09
bridge/github: fix name case sensitivity in retrieving and creating labels using github graphql api
2019-08-19 00:44:33 +02:00
Amine
36c91adddf
Merge pull request #190 from MichaelMure/bridge-ctx
...
Bridge: pull/push enhancements
2019-08-19 00:37:54 +02:00
Amine Hilaly
e6931aaf6f
commands: silence export and import nothing events
2019-08-19 00:19:58 +02:00
Amine Hilaly
df412430ab
bridge/github: improve error handling and Nothing events
...
vendor: add package golang.org/x/sync/errgroup
2019-08-18 23:50:13 +02:00
Amine Hilaly
501a931080
bridge/gthub: use errgroup.Group instead of sync.WaitGroup
2019-08-18 00:14:22 +02:00
Amine Hilaly
5ca326af83
bridge/core: add context.Context to ImportAll and ExportAll signatures
...
bridge/core: add ImportResult objects to stream import events
bridge/core: launchpad support asynchronous import
bridge/github: cancellable export and import functions
bridge/gitlab: cancellable export and import functions
commands: bridge pull/push gracefull kill
bridge/github: fix github import
bridge/github: use simple context for imports
bridge/core: name parameters in interfaces
github/core: Add EventError to export and import events types
bridge/gitlab: add context support in gitlab requests functions
bridge/gitlab: remove imported events count from importer logic
bridge/github: remove imported events count from importer logic
bridge/github: add context support in query and muration requets
bridge/github: fix bug duplicate editions after multiple calls
bridge/core: import import and export events String methods
bridge/gitlab: fix error handling in note import events
commands/bridge: Add statistics about imports and exports
bridge/gitlab: properly handle context cancellation
bridge/github: improve error handling
bridge: break iterators on context cancel or timeout
bridge: add context timeout support
bridge: improve event formating and error handling
commands: handle interrupt and switch cases
bridge/github: add export mutation timeouts
bridge: fix race condition bug in the github and gitlab importers
bridge/github: improve context error handling
2019-08-18 00:14:22 +02:00
Amine
6428352bd1
Merge pull request #194 from MichaelMure/dependabot/dep/github.com/99designs/gqlgen-0.9.2
...
build(deps): bump github.com/99designs/gqlgen from 0.9.1 to 0.9.2
2019-08-17 01:30:57 +02:00
Amine
a3815d2ebb
Merge pull request #196 from MichaelMure/dependabot/dep/github.com/xanzy/go-gitlab-0.20.0
...
build(deps): bump github.com/xanzy/go-gitlab from 0.19.0 to 0.20.0
2019-08-17 01:30:43 +02:00
Amine Hilaly
d571deef57
vendor: upgrade github.com/99designs/gqlgen to v0.9.2
2019-08-17 00:48:08 +02:00
Amine Hilaly
f6280a22c7
vendor: upgrade github/xanzy/go-gitlab version to 0.20.0
2019-08-17 00:28:45 +02:00
dependabot-preview[bot]
8b00e48d02
build(deps): bump github.com/xanzy/go-gitlab from 0.19.0 to 0.20.0
...
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab ) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases )
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/CHANGELOG.md )
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.19.0...v0.20.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-16 04:24:03 +00:00
Amine
cf960bc7a5
Merge pull request #193 from MichaelMure/immutableID
...
Future proof the operation's ID
2019-08-13 16:47:24 +02:00
Michael Muré
c809d37152
more hash-->id fixes
2019-08-13 16:23:05 +02:00
Michael Muré
99b5c58d43
finish the refactoring for the dedicated identifier type
2019-08-12 16:12:14 +02:00
Michael Muré
67a3752e17
bug,entity: use a dedicated type to store IDs
2019-08-11 14:08:03 +02:00
Amine
146894a565
Merge pull request #195 from A-Hilaly/gitlab-import-fix
...
bridge/gitlab: importer handle mentions in other issue and merge requets
2019-08-11 00:22:57 +02:00
Amine Hilaly
ca5e40e523
bridge/gitlab: importer handle mentions in other issue and merge requests
2019-08-11 00:08:26 +02:00
Michael Muré
a0dfc20211
github: fix bad refactor
2019-08-08 19:06:13 +02:00
Michael Muré
612a29b031
fix everything following the hash-->id change
2019-08-08 19:06:13 +02:00
Michael Muré
2e1a5e246e
bug: compute op's ID based on the serialized data on disk
2019-08-08 19:02:46 +02:00
dependabot-preview[bot]
a89355e7fb
build(deps): bump github.com/99designs/gqlgen from 0.9.1 to 0.9.2
...
Bumps [github.com/99designs/gqlgen](https://github.com/99designs/gqlgen ) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/99designs/gqlgen/releases )
- [Commits](https://github.com/99designs/gqlgen/compare/v0.9.1...v0.9.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-08 04:33:06 +00:00
Michael Muré
2c3034a0ab
Merge pull request #189 from A-Hilaly/bridge-gitlab-fix
...
bridge: fix gitlab bridge when running multiple imports.
2019-08-05 23:27:05 +01:00
Amine Hilaly
e678e81bc7
bridge/gitlab: fix bug when running import multiple times
2019-07-31 19:22:23 +02:00
Michael Muré
00402f1cec
Merge pull request #186 from A-Hilaly/gitlab-import-fix
...
bridge/gitlab: handle all known notes types
2019-07-26 17:01:00 +02:00
Amine Hilaly
5327983b7a
bridge/gitlab: handle other notes cases
2019-07-26 16:35:38 +02:00
Michael Muré
9ecbcb1cf6
Merge pull request #179 from MichaelMure/gitlab-support
...
Add gitlab bridge configuration and importer
2019-07-23 19:50:58 +02:00
Amine Hilaly
29fdd37ce6
bridge/github: add getNewTitle tests
2019-07-23 19:49:53 +02:00
Amine Hilaly
0c8f1c3a58
bridge/gitlab: fix comment edition target hash in the import
...
bridge/gitlab: global changes, typo fixes, comments addition
2019-07-23 18:40:10 +02:00
Amine Hilaly
0329bfdf44
bridge/gitlab: change validateProjectURL signature
...
bridge/gitlab: code cleanup
2019-07-23 17:29:53 +02:00
Michael Muré
ca00c9c6b8
Merge pull request #184 from A-Hilaly/bridge-github-fix
...
fix index out of range panic in github configuration
2019-07-23 17:29:45 +02:00
Amine Hilaly
b82ef04452
fix index out of range panic in github configuration
2019-07-23 17:20:42 +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
54dd81e337
bridge: update generated docs
2019-07-23 17:18:04 +02:00
Amine Hilaly
b27647c7a0
bridge/gitlab: Fix test project path
...
bridge/gitlab: update comments
2019-07-23 17:18:04 +02:00
Amine Hilaly
b18507836c
bridge/gitlab: add gitlab client default timeout
...
bridge/gitlab: fix import bug
2019-07-23 17:18:04 +02:00
Amine Hilaly
5e2eb5000b
bridge/gitlab: remove exporter
2019-07-23 17:18:04 +02:00
Amine Hilaly
b9a5338049
bridge/gitlab: move constants to gitlab.go
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
3256b44b1b
Update README exporter and importer implementations tables
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
05a3aec1a8
bridge/gitlab: add import unit tests
2019-07-23 17:18:04 +02:00
Amine Hilaly
76a389c93d
bridge/gitlab: make resolve error unique within the importer
2019-07-23 17:18:04 +02:00
Amine Hilaly
d34eae189c
bug: add snapshot.SearchComment method
2019-07-23 17:18:04 +02:00