Michael Muré
3c6ebc2bfd
core: bubble up the comment ID when created, or edited the first comment
2022-11-13 12:31:38 +01:00
Michael Muré
5511c230b6
move {bug,identity} to /entities, move input to /commands
2022-08-18 23:44:06 +02:00
Michael Muré
d179b8b7ec
bug: fix an issue where Id would be used, then changed due to metadata
2022-07-31 14:38:32 +02:00
Steve Moyer
e120fdb97e
refactor: use namespace instead of application of applicationName
2022-05-26 13:39:13 -04:00
Steve Moyer
b42fae382a
feat: make local storage configurable
2022-05-25 07:55:28 -04:00
Michael Muré
3f6ef50883
bug: migrate to the DAG entity structure!
2021-02-14 12:19:50 +01:00
Michael Muré
ab57d74a31
deal with the previous changes
2021-02-14 12:17:47 +01:00
Michael Muré
4ef2c11040
repo: finish RepoStorage move
2020-12-08 13:07:51 +01:00
Michael Muré
ca720f165c
cache,bug,identity: structural change
...
- 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
2020-10-04 20:39:10 +02:00
Michael Muré
02146f0b40
use go-git by default!
2020-09-29 20:43:53 +02:00
Michael Muré
9f3a56b1f3
misc: move the random bug command on its own package
2020-09-27 21:39:05 +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
Michael Muré
283e97111b
bug: make sure there is no Operation's hash collision
2019-11-19 19:51:18 +01:00
Michael Muré
c7abac388a
repo: refactor how test repo are created/cleaned
2019-05-27 21:14:55 +02:00
Michael Muré
dc1edf8e64
generator cleanup
2019-03-01 22:40:28 +01:00
Michael Muré
56c6147eb6
identity: more refactoring progress
2019-03-01 22:40:22 +01:00
Michael Muré
844616baf8
identity: more progress and fixes
2019-03-01 22:40:21 +01:00
Michael Muré
feab9412df
WIP identity in git
2019-03-01 22:35:36 +01:00
Michael Muré
6ea6f3614e
bug: in op convenience function, return the new op to be able to set metadata later
2018-10-01 23:31:16 +02:00
Michael Muré
1bf268cebc
merge package operations into bug, they are tightly coupled anyway
2018-09-29 00:51:54 +02:00
Michael Muré
40c6e64e4b
cache: add raw edit functions to allow setting up the author, the timestamp and the metadatas
2018-09-25 17:56:58 +02:00
Michael Muré
82eaceffc1
repo: split the Repo interface to avoid abstraction leak in RepoCache
2018-09-21 18:53:37 +02:00
Michael Muré
7bec0b1f13
bug: add a data validation process to avoid merging incorrect operations
2018-09-15 13:15:00 +02:00
Michael Muré
f569e6aacc
operations: return a more convenient array of result for label changes
2018-09-13 12:20:28 +02:00
Michael Muré
27c5ea5b5b
random bugs: fix a crash when minOps == maxOps
2018-09-12 17:23:04 +02:00
Michael Muré
3605887345
reorganize package for a more idomatic go
2018-09-11 22:14:46 +02:00
Michael Muré
2adca224f0
random bugs: cleanup + generate random OperationPack as well
2018-09-06 14:11:10 +02:00
Michael Muré
16f55e3f4d
bug: introduce WithSnapshot to maintain incrementally and effitiently a snapshot
2018-08-23 19:15:50 +02:00
Michael Muré
285e839486
random_bugs: make it seedable and reusable
2018-08-19 21:26:35 +02:00