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
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
Michael Muré
99b5c58d43
finish the refactoring for the dedicated identifier type
2019-08-12 16:12:14 +02:00
Michael Muré
612a29b031
fix everything following the hash-->id change
2019-08-08 19:06:13 +02:00
Amine Hilaly
9e611ee667
[bridge/github] import: avoid retrieving ghost email in userQuery
...
request
rename userQuery to ghostQuery
2019-07-06 16:20:05 +02:00
Amine Hilaly
4ad3d336c6
[bridge/github] use context.WithTimeout on all graphql queries
2019-06-24 21:32:38 +02:00
Amine Hilaly
07492fb72a
[bridge/github] importer: tag imported issues with origin metadata
...
[bridge/github] exporter: correct export signature and cache maps
2019-06-24 21:29:57 +02:00
Michael Muré
08c0e18ade
cache: expose the operation when creating a new bug
2019-06-16 21:04:36 +02:00
Amine Hilaly
70268ff4ec
Change keyUser to keyOwner in Github bridge
2019-05-29 22:58:01 +02:00
Amine Hilaly
a6d85fbdbb
improve github importer and iterator
...
drop and use query variables instead
initialize timeline query variables in the constructor
improve naming and add comments to public functions
2019-05-23 14:21:44 +02:00
Amine Hilaly
458f4da101
fix imported bugs count
2019-05-23 14:21:44 +02:00
Amine Hilaly
12f6fd61be
call NextIssueEdit from ensureIssue
2019-05-23 14:21:44 +02:00
Amine Hilaly
b6dfd45602
Fix importer/exporter design errors
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
537eddb978
Fix import bug
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
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
f7ea3421ca
Add ForceLabelChange functionalities
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
Amine Hilaly
3bcaa35b5d
Integrate iterator with importer
2019-05-05 18:16:10 +02:00
Michael Muré
b6bed784e5
github: fix potential bug due to var aliasing
2019-03-01 23:07:24 +01:00
Michael Muré
268f6175fe
github: simplify some code
2019-03-01 22:48:50 +01:00
Michael Muré
e100ee9f10
github: fix 3 edge-case failures
2019-03-01 22:48:50 +01:00
Michael Muré
864eae0d6b
identity: work on higher level now, cache, first two identity commands
2019-03-01 22:40:25 +01:00
Michael Muré
844616baf8
identity: more progress and fixes
2019-03-01 22:40:21 +01:00
Michael Muré
bdbe9e7e82
identity: more progress and fixes
2019-03-01 22:35:37 +01:00
Michael Muré
7cb7994cda
github: also pull users email
2018-10-07 18:27:23 +02:00
Michael Muré
64133ee5ba
github: deal with the deleted user case where github return a null actor
2018-10-06 11:55:16 +02:00
Michael Muré
558e149b25
github: handle the case where no diff is available for a comment edition
2018-10-05 17:53:06 +02:00
Michael Muré
b5025a51a2
github: incremental import for labels, title edition, status changes
2018-10-02 13:16:07 +02:00
Michael Muré
892c25aa25
github: incremental import of comments + editions
2018-10-02 13:02:16 +02:00
Michael Muré
8ec1dd0926
github: working incremental + comment history for the first comment
2018-10-01 23:34:45 +02:00
Michael Muré
879e147e2b
bridge: first working github importer
2018-09-25 19:10:38 +02:00
Michael Muré
c4a207622a
github: query most of the data
2018-09-24 19:22:32 +02:00