aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/export_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #938 from MichaelMure/cache-reorgMichael Muré2022-12-231-11/+11
|\ | | | | Generic cache layer
| * cache: fix some bugs after refactorMichael Muré2022-12-231-8/+2
| |
| * cache: tie up the refactor up to compilingMichael Muré2022-12-211-11/+17
| |
* | github: cleanup test token when test is doneMichael Muré2022-12-221-0/+7
|/
* core: bubble up the comment ID when created, or edited the first commentMichael Muré2022-11-131-4/+3
|
* bug: have a type for combined ids, fix ↵Michael Muré2022-08-221-2/+5
| | | | https://github.com/MichaelMure/git-bug/issues/653
* entity/dag: proper base operation for simplified implementationMichael Muré2022-07-251-2/+2
| | | | | | | | - 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-4/+2
|
* github: attempt to fix a CI issueMichael Muré2021-04-231-0/+4
|
* github: minor cleanupsMichael Muré2021-04-091-1/+1
|
* identity: PR fixesMichael Muré2021-02-141-1/+1
|
* repo: use go-git in more places, fix pushMichael Muré2020-10-041-2/+2
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-261-2/+2
| | | | | | | | | - 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.
* bridge: record the login used during the configure and use it as default ↵Michael Muré2020-02-231-4/+6
| | | | | | credential fix #338
* bridges: pass the context to Init for when a client build process needs itMichael Muré2020-02-151-3/+4
|
* bridges: massive refactorMichael Muré2020-02-151-4/+4
| | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* auth: refactor and introduce Login and LoginPassword, salt IDsMichael Muré2020-02-121-1/+1
|
* bridge: hopefully fix testsMichael Muré2020-02-081-0/+2
|
* fix tests ?Michael Muré2020-02-081-6/+6
|
* it compiles \o/Michael Muré2020-02-081-1/+1
|
* gitlab also compileMichael Muré2020-02-081-0/+3
|
* more more wipMichael Muré2020-02-081-1/+1
|
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-20/+23
|
* bridge/launchpad: add missing metadataamine2019-11-191-5/+5
| | | | bridge: use a specific key for origin metadata
* bridge/github: add exporter test cases for label change bugAmine Hilaly2019-08-191-1/+7
|
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-181-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+2
|
* fix everything following the hash-->id changeMichael Muré2019-08-081-8/+2
|
* [bridge/github] improve comments and documentationAmine2019-07-051-62/+27
| | | | | | [bridge/github] improve error handling and tests Co-Authored-By: Michael Muré <batolettre@gmail.com>
* [core] Implement ExportResultsAmine Hilaly2019-06-301-14/+10
| | | | | Use ExportResult chan to send export events Remove exportedBugs and exportedLabels
* [bug] add snapshot.GetCreateMetadata methodAmine Hilaly2019-06-301-11/+15
| | | | | | | | | | [bug] add snapshot.HasParticipant(id string) [bug] add snapshot.HasAnyParticipant(ids ...string) [bug] add snapshot.HasActor(id string) [bug] add snapshot.HasAnyActor(ids ...string) [bridge/github] improve comments [bridge/github] exporter tests: register deleteRepository in cleaner [bridge/github] tests rebase
* [bridge/github] Correcte some types and add commentsAmine Hilaly2019-06-241-6/+19
| | | | | | | | | | | | General improvements Co-Authored-By: Michael Muré <batolettre@gmail.com> empty array check an empty array is not nil Co-Authored-By: Michael Muré <batolettre@gmail.com>
* [bridge/github] exporter tests: Test issues metadataAmine Hilaly2019-06-241-2/+17
| | | | [bridge/github] exproter tests: Change env vars
* [bridge/github] simplify export operation hashsAmine Hilaly2019-06-241-40/+173
| | | | | | | | | | [bridge/github] exporter tests: add more test cases and global tests [bridge/github] rename export_query to export_mutation [bridge/github] exporter: Log number of exported issues and labels [bridge/github] Improve comments
* [bridge/github] exporter: Add test casesAmine Hilaly2019-06-241-22/+164
| | | | | | correct delete repo improve tests set user identity
* [bridge/github] cache user tokenAmine Hilaly2019-06-241-1/+66
| | | | | | | | fix import typo init tests verify issue
* [bridge/github] exporter: add graphql functionalitiesAmine Hilaly2019-06-241-1/+1
| | | | | | | | | [bridge/github] graphql mutation objects [bridge/github] github create and get labels [bridge/github] repository node_id query [bridge/github] exporter: ignore old bugs and old operations [bridge/github] add update labels/status functionalities [bridge/github] exporter: cache labels while exporting
* [bridge/github] Add exporter implementationAmine Hilaly2019-06-241-0/+7