aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/import_test.go
Commit message (Collapse)AuthorAgeFilesLines
* repo: use go-git in more places, fix pushMichael Muré2020-10-041-1/+1
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-261-1/+1
| | | | | | | | | - allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code. - generalize the memory-only and persisted Lamport clocks behind a common interface - rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily - test previously untested components with those new tests Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
* gitlab: fix bugs import urlamine2020-03-151-4/+4
|
* bridge: record the login used during the configure and use it as default ↵Michael Muré2020-02-231-0/+1
| | | | | | credential fix #338
* bridges: pass the context to Init for when a client build process needs itMichael Muré2020-02-151-2/+3
|
* bridges: massive refactorMichael Muré2020-02-151-2/+2
| | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* auth: refactor and introduce Login and LoginPassword, salt IDsMichael Muré2020-02-121-1/+1
|
* github/gitlab: many fixes and improvments at the config stepMichael Muré2020-02-101-2/+3
|
* gitlab also compileMichael Muré2020-02-081-6/+5
|
* bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-251-0/+3
| | | | | | | | | | - 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
* bridge/gitlab: support self-hosted GitLab instanceamine2019-12-101-1/+2
|
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-4/+11
|
* bridge/launchpad: add missing metadataamine2019-11-191-1/+1
| | | | bridge: use a specific key for origin metadata
* bridge/gitlab: fix integration testsAmine2019-10-011-1/+1
|
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-181-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/gitlab: Fix test project pathAmine Hilaly2019-07-231-5/+5
| | | | bridge/gitlab: update comments
* bridge/gitlab: fix note error handling bugAmine Hilaly2019-07-231-3/+3
| | | | bridge/gitlab: remove unused functions
* bridge/gitlab: add import unit testsAmine Hilaly2019-07-231-0/+151