aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operation_test.go
Commit message (Collapse)AuthorAgeFilesLines
* bug: Id from first operation data, not git + remove root linkMichael Muré2021-02-141-9/+23
|
* repo: expose all lamport clocks, move clocks in their own folderMichael Muré2021-02-141-1/+1
|
* identity: remove support for legacy identityMichael Muré2020-10-041-6/+6
|
* cache,bug,identity: structural changeMichael Muré2020-10-041-1/+1
| | | | | | - bug doesn't commit identities anymore, only make sure they are commit - cache use an IdentityResolver to load bugs with identities from the cache (deps injection) - IdentityCache now are identity.Interface
* repo: use go-git in more places, fix pushMichael Muré2020-10-041-1/+1
|
* repository: merge git.Hash in for one less /util packageMichael Muré2020-07-011-3/+2
|
* 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.
* bug,entity: use a dedicated type to store IDsMichael Muré2019-08-111-7/+7
|
* bug: compute op's ID based on the serialized data on diskMichael Muré2019-08-081-9/+9
|
* repo: refactor how test repo are created/cleanedMichael Muré2019-05-271-3/+6
|
* identity: I can compile again !!Michael Muré2019-03-011-2/+9
|
* identity: add more test for serialisation and push/pull/merge + fixesMichael Muré2019-03-011-1/+2
|
* identity: more progress and fixesMichael Muré2019-03-011-5/+5
|
* WIP identity in gitMichael Muré2019-03-011-5/+6
|
* Allow empty messages in comments.Cyril Roelandt2018-12-261-1/+0
| | | | | Some bug trackers, like Launchpad, allow messages to be empty (when adding a file to the bug, for instance).
* bug: add a test for operations hashMichael Muré2018-10-011-0/+36
|
* bug: add a test for OpBase metadataMichael Muré2018-10-011-8/+11
|
* bug: use a value embedding for OpBaseMichael Muré2018-10-011-1/+1
|
* bug: implement comment editionMichael Muré2018-09-291-1/+1
| | | | | - add a new operation - add a new "timeline" in the snapshot that hold a processed version of the operations
* merge package operations into bug, they are tightly coupled anywayMichael Muré2018-09-291-0/+70