Commit Graph

20 Commits

Author SHA1 Message Date
Steve Moyer
52c724a033
test: use testing.TB as common interface 2022-06-21 06:48:28 -04:00
Steve Moyer
1d4667c825
refactor(809): eliminate need to defer CleanupTestRepos() 2022-06-16 09:02:52 -04:00
Michael Muré
44f61b6677 update keyring and migrate to github.com/ProtonMail/go-crypto 2022-02-15 21:35:49 +01:00
Michael Muré
ef05c15f87
entity: implement remove 2021-02-14 12:19:03 +01:00
Michael Muré
2bdb1b60ff
entity: working commit signatures 2021-02-14 12:19:02 +01:00
Michael Muré
fe4237df3c
entity: readAll and more testing 2021-02-14 12:19:01 +01:00
Michael Muré
dc5059bc33
entity: more progress on merging and signing 2021-02-14 12:19:00 +01:00
Michael Muré
8d63c983c9
WIP 2021-02-14 12:19:00 +01:00
Michael Muré
5c4e7de012
repository: partially add two new functions to RepoData 2021-02-14 12:18:59 +01:00
Michael Muré
fb0c5fd061
repo: expose all lamport clocks, move clocks in their own folder 2021-02-14 12:15:41 +01:00
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