aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/import_test.go
Commit message (Collapse)AuthorAgeFilesLines
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-181-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [bridge/github] cache user tokenAmine Hilaly2019-06-241-1/+1
| | | | | | | | fix import typo init tests verify issue
* rename GITHUB_TOKEN to GITHUB_PRIVATE_TOKENAmine Hilaly2019-06-071-2/+2
|
* Change keyUser to keyOwner in Github bridgeAmine Hilaly2019-05-291-3/+3
|
* repo: refactor how test repo are created/cleanedMichael Muré2019-05-271-2/+3
|
* introduce `nextValidIssueEdit` and `nextValidCommentEdit` to escape empty ↵Amine Hilaly2019-05-231-1/+1
| | | | | | `Diff`objects calling nextValidEdit functions directly after a new query (Fixing a bug where capacity=2)
* Add unicode control characters test caseAmine Hilaly2019-05-051-17/+27
| | | | | | | | | | | 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
* Add old importer comments in the iteratorAmine Hilaly2019-05-051-10/+17
| | | | | Test operation authors Fix typo in test repo url
* github: simplify and improve the import testMichael Muré2019-05-051-58/+25
|
* Improve naming and functions signaturesAmine Hilaly2019-05-051-79/+69
| | | | | | expose `NewIterator` in `github` package remove `exist` in tests cases skip tests when env var GITHUB_TOKEN is not given
* Add importer testsAmine Hilaly2019-05-051-0/+223
Changes to Importer and exporter interface Improve importer Fix extra edits bug