Commit Graph

852 Commits

Author SHA1 Message Date
Amine Hilaly
21e82d5382
docs: replace images with new ones 2019-08-26 23:55:38 +02:00
Amine Hilaly
23239cc176
webui: recompile the web interface 2019-08-26 23:55:18 +02:00
Amine
69ed22443e
Merge pull request #202 from MichaelMure/fix-git-version
repo: fix git version parsing with broken version
2019-08-24 15:42:58 +02:00
Michael Muré
91e4a183bd
repo: fix git version parsing with broken version 2019-08-24 15:32:11 +02:00
Michael Muré
8870fa9d92
Merge pull request #201 from MichaelMure/bridge-docs
bridge: add documentation
2019-08-24 14:19:59 +02:00
Michael Muré
35c6cb6e36
readme: tweaking 2019-08-24 14:18:22 +02:00
Amine Hilaly
03b6afa2f3
docs: update implementation table
docs: add bridge usage examples
2019-08-24 13:55:49 +02:00
Amine
2585726ac3
Merge pull request #187 from A-Hilaly/gitlab-support
Gitlab bridge exporter
2019-08-24 13:31:19 +02:00
Amine Hilaly
c8fdaab50a
bridge/gitlab: remove gitlab url checking before export 2019-08-24 13:22:23 +02:00
Amine Hilaly
22960159e9 bridge/gitlab: exporter ignore issues imported from or exported to different projects 2019-08-23 15:16:58 +02:00
Amine Hilaly
63e7b08628 bridge/gitlab: improve exporter error handling and label change operations 2019-08-23 01:55:57 +02:00
Amine Hilaly
514dc30c20 bridge/gitlab: fix edit comment request and remove label functionalities 2019-08-19 23:56:50 +02:00
Amine Hilaly
f1be129d75 bridge/gitlab: rebase and correct exporter 2019-08-19 13:50:48 +02:00
Amine Hilaly
c7e932e5a9 bridge/gitlab: add exporter e2e tests
bridge/gitlab: fix export bugs and rebase
2019-08-19 10:38:09 +02:00
Amine Hilaly
f1c65a9f86 bridge/gitlab: add exporter implementation 2019-08-19 10:38:09 +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