aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/import_test.go
Commit message (Collapse)AuthorAgeFilesLines
* core: make label a common type, in a similar fashion as for status (#1252)Michael Muré2024-08-251-3/+3
| | | This will be useful for Board, and likely code review support later
* feat: update references to the git-bug organization (#1249)sudoforge2024-08-241-10/+10
| | | | | | | | The repository was recently moved to the git-bug organization on github. This change refactors references to the repository to ensure that they use the updated owner URI. Closes: #1243 Change-Id: I799712354c6ba25cdd8b06286275850c52efe6ff
* cache: fix some bugs after refactorMichael Muré2022-12-231-4/+1
|
* cache: tie up the refactor up to compilingMichael Muré2022-12-211-3/+6
|
* move bug.Status in entities/common for reuseMichael Muré2022-08-201-2/+3
|
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-181-2/+2
|
* entity/dag: proper base operation for simplified implementationMichael Muré2022-07-251-4/+5
| | | | | | | | - reduce boilerplace necessary to implement an operation - consolidate what an operation is in the core, which in turn pave the way for a generic cache layer mechanism - avoid the previously complex unmarshalling process - support operation metadata from the core - simplified testing
* refactor(809): eliminate need to defer CleanupTestRepos()Steve Moyer2022-06-161-2/+1
|
* bug: migrate to the DAG entity structure!Michael Muré2021-02-141-16/+11
|
* identity: PR fixesMichael Muré2021-02-141-1/+1
|
* deal with the previous changesMichael Muré2021-02-141-36/+36
|
* 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