Commit Graph

23 Commits

Author SHA1 Message Date
vince
e3737f216a
expose format version
this commit exposes the format version of the operation pack and identity to reduce the changes needed in vendored code when migrating. This also creates error variables that can be propagated and tested against for migrations.
2020-12-15 14:11:07 +01:00
Michael Muré
499dbc0a03
identity: remove support for legacy identity 2020-10-04 20:50:15 +02: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é
3cf31fc404
repository: merge git.Hash in for one less /util package 2020-07-01 19:39:02 +02:00
Michael Muré
2e1a5e246e bug: compute op's ID based on the serialized data on disk 2019-08-08 19:02:46 +02:00
Michael Muré
71f9290fda
identity: store the times properly 2019-03-01 22:40:27 +01:00
Michael Muré
d2483d83dd
identity: I can compile again !! 2019-03-01 22:40:24 +01:00
Michael Muré
14b240af8f
identity: more cleaning and fixes after a code review 2019-03-01 22:40:22 +01:00
Michael Muré
d10c76469d
identity: somewhat getting closer ! 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é
c46d01f8c1
bug: implement comment edition
- add a new operation
- add a new "timeline" in the snapshot that hold a processed version of the operations
2018-09-29 20:41:19 +02:00
Michael Muré
794d014fae
bug: define a hash-based identifier for an operation 2018-09-29 00:51:54 +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é
7bec0b1f13
bug: add a data validation process to avoid merging incorrect operations 2018-09-15 13:15:00 +02:00
Michael Muré
60fcfcdcb0
bug: change the OperationPack serialization format for Json
See https://github.com/MichaelMure/git-bug/issues/5 for the details of this choice
2018-09-12 16:57:46 +02:00
Michael Muré
3605887345 reorganize package for a more idomatic go 2018-09-11 22:14:46 +02:00
Michael Muré
4c850b5989
cleanup go imports 2018-08-13 18:39:19 +02:00
Michael Muré
df144e727a
fix some linting trouble 2018-08-13 15:28:47 +02:00
Michael Muré
0180b68cb0
implement pull/merge 2018-07-17 01:52:56 +02:00
Michael Muré
da470993d1
complete the storage/read process + tests (!) 2018-07-14 22:17:37 +02:00
Michael Muré
1779a0f3b9
serialize a Bug to git as a blob+tree+commit+ref 2018-07-13 21:21:24 +02:00
Michael Muré
deff9e0a41
add basic tests for Bug and OperationIterator 2018-07-13 16:48:55 +02:00
Michael Muré
bc12fee58e
create the Bug structure 2018-07-13 16:13:40 +02:00