aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/core/import.go
Commit message (Collapse)AuthorAgeFilesLines
* core: bubble up the comment ID when created, or edited the first commentMichael Muré2022-11-131-50/+57
|
* Improve feedback for user when Github rate limitingAlexander Scharinger2021-04-081-0/+12
| | | | | | | | The Github bridge itself should not write anything. This commit removes code writing to stdout and itroduces an event `ImportEventRateLimiting` to `core.ImportResult` in order to inform about a rate limiting situation of the Github GraphQL API. Now the communication with the user is delegated to the various user interfaces.
* Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-091-1/+4
|\
| * codereview #6: don't fail one warningJosh Bialkowski2020-01-041-2/+11
| | | | | | | | * presence of an error in the import event doesn't indicate failure
| * * Fix git config reader can't read values with spacesJosh Bialkowski2020-01-041-0/+18
| | | | | | | | | | | | | | * Add NewImportWarning for things that aren't exactly errors. Use this for unhandled changelog events. * Add NewExportWarning for things that aren't exactly errors. Use this for un-exportable status changes.
* | codereview #6: don't fail one warningJosh Bialkowski2019-12-181-2/+11
| | | | | | | | * presence of an error in the import event doesn't indicate failure
* | codereview #5: reverse-map and ImportWarningJosh Bialkowski2019-12-181-0/+15
|/ | | | | | | | | | | * Fix git config reader can't read values with spaces * Add bug-id-revmap config option for the reverse map, and use this in the importer * Add NewImportWarning for things that aren't exactly errors. Use this for unhandled changelog events. * Add NewExportWarning for things that aren't exactly errors. Use this for un-exportable status changes. * Strip newlines from titles on import
* bridge/core: document import/export eventsMichael Muré2019-11-191-1/+13
|
* bridge/github: improve error handling and Nothing eventsAmine Hilaly2019-08-181-2/+2
| | | | vendor: add package golang.org/x/sync/errgroup
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-181-0/+128
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