aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/import.go
Commit message (Collapse)AuthorAgeFilesLines
* bridges: massive refactorMichael Muré2020-02-151-1/+1
| | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* github: make sure to have a nameMichael Muré2020-02-081-0/+5
|
* it compiles \o/Michael Muré2020-02-081-6/+0
|
* more more wipMichael Muré2020-02-081-2/+0
|
* more wipMichael Muré2020-02-081-15/+1
|
* github: warning when the comment to be edited is missing instead of failingMichael Muré2020-01-041-0/+5
| | | | fix #286
* bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-251-0/+4
| | | | | | | | | | - init() only the importer or exporter as required - assign a "default user" user Id to credentials at creation if no user has been set - "bridge auth": also display the user - "bridge auth show": adapt to a potential "default user" user Id - "bridge configure": allow to run without a user set - "bridge pull": allow to run without a user set - "user adopt": replace "default user" by the actual user id when run
* Merge pull request #271 from MichaelMure/bridge-credentialsMichael Muré2019-12-101-7/+31
|\ | | | | bridge: huge refactor to accept multiple kind of credentials
| * bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-7/+31
| |
* | bridge: fix incorrect last import time on context cancelMichael Muré2019-12-091-1/+1
|/
* bridge/github: use core.ConfigKeyToken instead of keyTokenamine2019-11-231-2/+2
|
* bridge/launchpad: importer correctly emit NothingEventamine2019-11-191-1/+1
|
* bridge/github: export correctly emit nothing eventsamine2019-11-191-1/+1
|
* bridge/github: importer corectly emit eventsamine2019-11-191-29/+12
|
* bridge/launchpad: add missing metadataamine2019-11-191-33/+32
| | | | bridge: use a specific key for origin metadata
* bridge/github: improve error handling and Nothing eventsAmine Hilaly2019-08-181-2/+1
| | | | vendor: add package golang.org/x/sync/errgroup
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-181-63/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* finish the refactoring for the dedicated identifier typeMichael Muré2019-08-121-5/+5
|
* fix everything following the hash-->id changeMichael Muré2019-08-081-24/+11
|
* [bridge/github] import: avoid retrieving ghost email in userQueryAmine Hilaly2019-07-061-2/+2
| | | | | | request rename userQuery to ghostQuery
* [bridge/github] use context.WithTimeout on all graphql queriesAmine Hilaly2019-06-241-1/+5
|
* [bridge/github] importer: tag imported issues with origin metadataAmine Hilaly2019-06-241-0/+3
| | | | [bridge/github] exporter: correct export signature and cache maps
* cache: expose the operation when creating a new bugMichael Muré2019-06-161-2/+2
|
* Change keyUser to keyOwner in Github bridgeAmine Hilaly2019-05-291-2/+3
|
* improve github importer and iteratorAmine Hilaly2019-05-231-11/+9
| | | | | | drop and use query variables instead initialize timeline query variables in the constructor improve naming and add comments to public functions
* fix imported bugs countAmine Hilaly2019-05-231-2/+4
|
* call NextIssueEdit from ensureIssueAmine Hilaly2019-05-231-10/+9
|
* Fix importer/exporter design errorsAmine Hilaly2019-05-231-41/+41
|
* Add unicode control characters test caseAmine Hilaly2019-05-051-15/+31
| | | | | | | | | | | 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
* Fix import bugAmine Hilaly2019-05-051-1/+1
|
* Add old importer comments in the iteratorAmine Hilaly2019-05-051-0/+4
| | | | | Test operation authors Fix typo in test repo url
* Improve naming and functions signaturesAmine Hilaly2019-05-051-17/+17
| | | | | | expose `NewIterator` in `github` package remove `exist` in tests cases skip tests when env var GITHUB_TOKEN is not given
* Add ForceLabelChange functionalitiesAmine Hilaly2019-05-051-5/+6
|
* Add importer testsAmine Hilaly2019-05-051-183/+193
| | | | | | Changes to Importer and exporter interface Improve importer Fix extra edits bug
* Integrate iterator with importerAmine Hilaly2019-05-051-400/+194
|
* github: fix potential bug due to var aliasingMichael Muré2019-03-011-1/+2
|
* github: simplify some codeMichael Muré2019-03-011-12/+3
|
* github: fix 3 edge-case failuresMichael Muré2019-03-011-39/+56
|
* identity: work on higher level now, cache, first two identity commandsMichael Muré2019-03-011-2/+2
|
* identity: more progress and fixesMichael Muré2019-03-011-40/+98
|
* identity: more progress and fixesMichael Muré2019-03-011-9/+14
|
* github: also pull users emailMichael Muré2018-10-071-2/+29
|
* github: deal with the deleted user case where github return a null actorMichael Muré2018-10-061-35/+67
|
* github: handle the case where no diff is available for a comment editionMichael Muré2018-10-051-69/+133
|
* github: incremental import for labels, title edition, status changesMichael Muré2018-10-021-8/+36
|
* github: incremental import of comments + editionsMichael Muré2018-10-021-47/+168
|
* github: working incremental + comment history for the first commentMichael Muré2018-10-011-115/+206
|
* bridge: first working github importerMichael Muré2018-09-251-78/+231
|
* github: query most of the dataMichael Muré2018-09-241-0/+124