Commit Graph

10 Commits

Author SHA1 Message Date
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