Commit Graph

10 Commits

Author SHA1 Message Date
Michael Muré
bca9ae8274
repo: more work towards RepoStorage 2020-12-05 21:41:10 +01:00
Michael Muré
4055495c8b repo: fix wrong ordering in gogit's ListCommit 2020-09-29 20:43:54 +02:00
Michael Muré
736d0a2f09 repo: more testing for an edge case 2020-09-29 20:42:21 +02:00
Michael Muré
71b7eb1401 repo: implement local/global/any config everywhere 2020-09-29 20:42:21 +02:00
Michael Muré
9408f1eb0e repo: test both plain and bare, test clocks 2020-09-29 20:42:21 +02:00
Vincent Tiu
f3304bdc1c
Add functionality to remove bugs from a local repository. (#423)
Add functionality to remove bugs from a local repository.

This adds a function to remove git references in the repo and another one to remove bugs.
2020-07-09 14:40:44 +02:00
Michael Muré
44096b785f repo: fix test chocking on randomized element in repo.ListRefs() 2020-07-03 19:05:05 +02:00
Michael Muré
3cf31fc404
repository: merge git.Hash in for one less /util package 2020-07-01 19:39:02 +02:00
Michael Muré
939bcd57b9
repo: more tests 2020-06-27 22:00:15 +02:00
Michael Muré
88ad7e606f
repository: remove tie to Bug, improved and reusable testing
- 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.
2020-06-26 19:14:22 +02:00