Michael Muré
5511c230b6
move {bug,identity} to /entities, move input to /commands
2022-08-18 23:44:06 +02:00
Steve Moyer
1d4667c825
refactor(809): eliminate need to defer CleanupTestRepos()
2022-06-16 09:02:52 -04:00
Michael Muré
5549925235
cache: many fixes following the dag entity migration
2021-04-08 16:18:31 +02:00
Michael Muré
aa0449a3ea
Merge remote-tracking branch 'origin/master' into dag-entity
2021-03-29 11:02:08 +02:00
Michael Muré
e985653701
cache: test for FTS bub with long description
2021-03-29 10:08:57 +02:00
Michael Muré
45e540c178
bug: wrap dag.Entity into a full Bug in MergeAll
2021-02-14 12:38:09 +01:00
Michael Muré
3f6ef50883
bug: migrate to the DAG entity structure!
2021-02-14 12:19:50 +01:00
Michael Muré
fe4237df3c
entity: readAll and more testing
2021-02-14 12:19:01 +01:00
Michael Muré
c884d557bf
repo: move bleve there
2020-12-08 14:42:13 +01:00
Michael Muré
4ef2c11040
repo: finish RepoStorage move
2020-12-08 13:07:51 +01:00
Michael Muré
1a0c86a12d
repo: use go-git in more places, fix push
2020-10-04 19:56:16 +02:00
Michael Muré
4d678f3e05
cache: simplify cache eviction
2020-08-25 15:26:23 +02:00
vince
4b065029af
Implement cache eviction and testing
2020-08-25 11:08:53 +08:00
vince
6efada43e7
Implement the LRU Cache
2020-08-20 14:06:18 +08:00
Michael Muré
a62ce78c4f
bug: code cleanup for the rm feature
2020-07-28 14:30:07 +02:00
vince
18ddc77590
Fix bug tests
2020-07-28 14:30:07 +02:00
vince
9436cf4b89
Move args parsing out of repo cache
2020-07-28 14:30:06 +02:00
vince
7dbcca84c7
Add test for removing bug from cache
2020-07-28 14:30:05 +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
Michael Muré
5e4dc87ffe
cache: replace the all-in-one query parser by a complete one with AST/lexer/parser
2020-03-28 17:13:27 +01:00
Michael Muré
99b5c58d43
finish the refactoring for the dedicated identifier type
2019-08-12 16:12:14 +02:00
Michael Muré
bc03a89aa7
fix tests
2019-06-16 21:40:45 +02:00
Michael Muré
c7abac388a
repo: refactor how test repo are created/cleaned
2019-05-27 21:14:55 +02:00
Michael Muré
96987bf6ae
cache: add a push/pull test
2019-04-02 22:01:42 +02:00
Michael Muré
d27e3849b8
cache: add basic unit testing
2019-03-25 22:06:01 +01:00