Commit Graph

11 Commits

Author SHA1 Message Date
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 Hilaly
1d42814166
[bridge/github] cache user token
fix import typo

init tests

verify issue
2019-06-24 21:29:37 +02:00
Amine Hilaly
8d6bdb6507
rename GITHUB_TOKEN to GITHUB_PRIVATE_TOKEN 2019-06-07 01:43:48 +02:00
Amine Hilaly
70268ff4ec
Change keyUser to keyOwner in Github bridge 2019-05-29 22:58:01 +02:00
Michael Muré
c7abac388a repo: refactor how test repo are created/cleaned 2019-05-27 21:14:55 +02:00
Amine Hilaly
2a97056124
introduce nextValidIssueEdit and nextValidCommentEdit to escape empty Diffobjects
calling nextValidEdit functions directly after a new query (Fixing a bug where capacity=2)
2019-05-23 14:21:44 +02:00
Amine Hilaly
2e17f37175 Add unicode control characters test case
Move `cleanupText` to utils/text/transform.go
`text.Cleanup`: removing unicode control characters except for those allowed by `text.Safe`

Add golang.org/x/text dependencies

fix text.Cleanup

Fix import panic
2019-05-05 18:16:10 +02:00
Amine Hilaly
7d02963372 Add old importer comments in the iterator
Test operation authors
Fix typo in test repo url
2019-05-05 18:16:10 +02:00
Michael Muré
eec17050f1 github: simplify and improve the import test 2019-05-05 18:16:10 +02:00
Amine Hilaly
390ca86724 Improve naming and functions signatures
expose `NewIterator` in `github` package
remove `exist` in tests cases
skip tests when env var GITHUB_TOKEN is not given
2019-05-05 18:16:10 +02:00
Amine Hilaly
0d976f66e8 Add importer tests
Changes to Importer and exporter interface
Improve importer
Fix extra edits bug
2019-05-05 18:16:10 +02:00