aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/iterator.go
Commit message (Collapse)AuthorAgeFilesLines
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-2/+2
|
* bridge/github: fix iterator regressionamine2019-11-111-2/+4
|
* github: follow API changesMichael Muré2019-11-111-19/+19
| | | | https://developer.github.com/v4/changelog/2019-06-04-schema-changes/
* bridge/github: improve iterator readabilityamine2019-11-051-34/+49
|
* bridge/github: improve iterator NextTimelineItem functionamine2019-11-051-0/+6
|
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-181-27/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] use context.WithTimeout on all graphql queriesAmine Hilaly2019-06-241-4/+21
|
* [cache] BugCache: Add set metadata methodsAmine Hilaly2019-06-241-1/+1
| | | | | | [bridge/github] fix add/remove mutation requests [bridge/github] iterator: fix typo
* Change client default timeout value to 60 secondsAmine Hilaly2019-05-291-6/+6
| | | | | add named return values for easier validation for 2FA codes
* Change keyUser to keyOwner in Github bridgeAmine Hilaly2019-05-291-7/+7
|
* improve github importer and iteratorAmine Hilaly2019-05-231-13/+25
| | | | | | drop and use query variables instead initialize timeline query variables in the constructor improve naming and add comments to public functions
* introduce `nextValidIssueEdit` and `nextValidCommentEdit` to escape empty ↵Amine Hilaly2019-05-231-19/+21
| | | | | | `Diff`objects calling nextValidEdit functions directly after a new query (Fixing a bug where capacity=2)
* Fix importer/exporter design errorsAmine Hilaly2019-05-231-10/+25
|
* Add old importer comments in the iteratorAmine Hilaly2019-05-051-1/+12
| | | | | Test operation authors Fix typo in test repo url
* Improve naming and functions signaturesAmine Hilaly2019-05-051-73/+81
| | | | | | 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-21/+4
| | | | | | Changes to Importer and exporter interface Improve importer Fix extra edits bug
* Integrate iterator with importerAmine Hilaly2019-05-051-14/+15
|
* Add github iteratorAmine Hilaly2019-05-051-0/+406
use `goto` in .Next* functions Update iterator.go