Commit Graph

22 Commits

Author SHA1 Message Date
Michael Muré
f1d4a19af8
bug: nonce on all operation to prevent id collision 2021-03-14 18:40:50 +01:00
Michael Muré
1ced77af1a
fix merge 2021-02-14 12:24:40 +01:00
Michael Muré
2bf2b2d765
entity: unique function to generate IDs 2021-02-14 12:17:47 +01:00
Michael Muré
b01aa18d39
identity: PR fixes 2021-02-14 12:17:47 +01:00
Michael Muré
5ae8a13277
identity: Id from data, not git + hold multiple lamport clocks 2021-02-14 12:17:17 +01:00
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é
3cf31fc404
repository: merge git.Hash in for one less /util package 2020-07-01 19:39:02 +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é
893de4f5c0 identity: bring back the login to hold that info from bridges (purely informational) 2020-02-25 21:35:57 +01:00
Michael Muré
74e9114410
more more wip 2020-02-08 17:19:57 +01:00
Michael Muré
8da522d97a
wip 2020-02-08 17:18:30 +01:00
Michael Muré
390b13c9ff
identity: rework mutation 2020-02-08 17:18:29 +01:00
Michael Muré
46beb4b886
identity: another round of cleanups 2019-03-01 22:52:53 +01:00
Michael Muré
7193032260
identity: fix tests 2019-03-01 22:40:27 +01:00
Michael Muré
71f9290fda
identity: store the times properly 2019-03-01 22:40:27 +01:00
Michael Muré
21048e785d
identity: wip 2019-03-01 22:40:23 +01:00
Michael Muré
328a4e5abf
identity: wip push/pull 2019-03-01 22:40:23 +01:00
Michael Muré
14b240af8f
identity: more cleaning and fixes after a code review 2019-03-01 22:40:22 +01:00
Michael Muré
3df4f46c71
identity: add metadata support 2019-03-01 22:35:37 +01:00
Michael Muré
06d9c68726
identity: implement the loading from git 2019-03-01 22:35:37 +01:00
Michael Muré
feab9412df
WIP identity in git 2019-03-01 22:35:36 +01:00