aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/import.go
Commit message (Collapse)AuthorAgeFilesLines
* core: bubble up the comment ID when created, or edited the first commentMichael Muré2022-11-131-10/+12
|
* bug: have a type for combined ids, fix ↵Michael Muré2022-08-221-1/+2
| | | | https://github.com/MichaelMure/git-bug/issues/653
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-181-1/+1
|
* Merge pull request #727 from MichaelMure/rng-dynamics/fix-import-empty-titleMichael Muré2021-12-041-11/+9
|\ | | | | Fix: github import, some issue titles cause error
| * Fix: github import, some issue titles cause errorAlexander Scharinger2021-12-041-11/+9
| |
* | Fix: github bridge: push then pull without duplicationAlexander Scharinger2021-12-031-1/+1
|/
* feature: Github bridge mutation rate limit (#694)rng-dynamics2021-09-141-1/+2
| | | Unified handling of rate limiting of github graphql api
* make sure every text input is safe and validatedMichael Muré2021-04-171-20/+7
| | | | fix #630
* Github brdige: move credential loading and client creation backAlexander Scharinger2021-04-091-12/+16
| | | | Reason: failing integration tests
* github: minor cleanupsMichael Muré2021-04-091-3/+6
|
* Merge remote-tracking branch 'origin/master' into dev-gh-bridgeMichael Muré2021-04-091-0/+2
|\
| * deal with the previous changesMichael Muré2021-02-141-0/+2
| |
* | Improve feedback for user when Github rate limitingAlexander Scharinger2021-04-081-5/+5
| | | | | | | | | | | | | | | | 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.
* | Add comment to clarify look ahead in import channelAlexander Scharinger2021-04-081-1/+10
| |
* | Github bridge: refactor message handlingAlexander Scharinger2021-03-281-3/+15
| |
* | Github bridge: fix message about timeoutAlexander Scharinger2021-03-271-1/+2
| |
* | Github bridge: RefactorAlexander Scharinger2021-03-221-208/+177
| |
* | Github bridge: send message to user when waitingAlexander Scharinger2021-03-181-16/+65
| | | | | | | | | | | | When the Github GraphQL API rate limit is exhausted print a message at the bottom of the terminal so the user knows why the import has been paused.
* | Remove maps containing channels.Alexander Scharinger2021-03-151-15/+20
| | | | | | | | | | | | | | | | | | The old implementation of the github bridge used maps to store several channels holding data obtained from the Github API. Removing the maps and simply packing data and channels together in a struct and passing it through one single channel makes the program simpler in terms of concurrency and, additionally, enables the garbage collector to free the memory gradually without any additional provisions.
* | Fix errors: deadlock and empty titlesAlexander Scharinger2021-03-151-42/+44
| |
* | Deal with github bridge import rate limitAlexander Scharinger2021-02-281-216/+147
|/
* Integrate new Github Bridge importAlexander Scharinger2021-01-241-1/+1
|
* github: tighten the import matchingMichael Muré2020-03-281-1/+4
|
* identity: bring back the login to hold that info from bridges (purely ↵Michael Muré2020-02-251-0/+2
| | | | informational)
* Merge pull request #341 from MichaelMure/bridges-default-loginMichael Muré2020-02-231-3/+7
|\ | | | | bridge: record the login used during the configure and use it as default credential
| * bridge: record the login used during the configure and use it as default ↵Michael Muré2020-02-231-3/+7
| | | | | | | | | | | | credential fix #338
* | Merge pull request #331 from MichaelMure/webui/mutationsMichael Muré2020-02-231-1/+1
|\ \ | |/ |/| Webui: add comments
| * webui: style SetStatusMichael Muré2020-02-171-1/+1
| |
* | bridges: pass the context to Init for when a client build process needs itMichael Muré2020-02-151-1/+1
| |
* | 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
|