Michael Muré
5549925235
cache: many fixes following the dag entity migration
2021-04-08 16:18:31 +02:00
Michael Muré
cb9b06551d
entity: more comments
2021-04-04 11:23:04 +02:00
Michael Muré
5215634d0d
entity: add support for storing files
2021-03-21 18:22:04 +01:00
Michael Muré
214abe4dea
WIP operation with files
2021-03-14 18:41:22 +01:00
Michael Muré
f1d4a19af8
bug: nonce on all operation to prevent id collision
2021-03-14 18:40:50 +01:00
Michael Muré
45e540c178
bug: wrap dag.Entity into a full Bug in MergeAll
2021-02-14 12:38:09 +01:00
Michael Muré
1ced77af1a
fix merge
2021-02-14 12:24:40 +01:00
Michael Muré
d0d7be8db0
minor cleanups
2021-02-14 12:19:51 +01:00
Michael Muré
4b9862e239
entity: make sure merge commit don't have operations
2021-02-14 12:19:51 +01:00
Michael Muré
3f6ef50883
bug: migrate to the DAG entity structure!
2021-02-14 12:19:50 +01:00
Michael Muré
99b9dd84cb
entity: support different author in staging operations
2021-02-14 12:19:04 +01:00
Michael Muré
94f06cd54d
entity: pass the identity resolver instead of defining it once
...
Having the resolver in Definition doesn't actually work well as the resolver
is very situational.
2021-02-14 12:19:04 +01:00
Michael Muré
71e22d9f6e
entity: clock loader
2021-02-14 12:19:04 +01:00
Michael Muré
59e9981161
entity: expose create and edit lamport clocks
2021-02-14 12:19:03 +01:00
Michael Muré
ef05c15f87
entity: implement remove
2021-02-14 12:19:03 +01:00
Michael Muré
f74166914c
entity: remove the pack lamport time that doesn't bring anything actually
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é
26a4b0332e
entity: test all merge scenario
2021-02-14 12:19:02 +01:00
Michael Muré
32c55a4985
entity: use BFS instead of DFS to get the proper topological order
2021-02-14 12:19:01 +01:00
Michael Muré
e35c7c4d17
entity: more testing and bug fixing
2021-02-14 12:19:01 +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é
4ef92efeb9
entity: total ordering of operations
2021-02-14 12:19:00 +01:00
Michael Muré
51ece14908
entity: clocks and write
2021-02-14 12:18:59 +01:00
Michael Muré
9cca74cc33
entity: add embryo of a generic, DAG-enabled entity
2021-02-14 12:18:59 +01:00
Michael Muré
5f6a39145d
entity: add error to signal invalid format
2021-02-14 12:18:57 +01:00
Michael Muré
db7074301b
entity: generalize the combined Ids, use 64 length
2021-02-14 12:17:49 +01:00
Michael Muré
2bf2b2d765
entity: unique function to generate IDs
2021-02-14 12:17:47 +01:00
Michael Muré
ab57d74a31
deal with the previous changes
2021-02-14 12:17:47 +01:00
Michael Muré
7163b2283b
bug: Id from first operation data, not git + remove root link
2021-02-14 12:17:44 +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
vince
647b05eee4
add remove identity feature
...
also adds:
- listlocalidentities
- refactors refstoids into entity package
2020-11-22 15:20:51 +01:00
Michael Muré
b92adfcb5f
bridge: huge refactor to accept multiple kind of credentials
2019-12-08 21:28:27 +01:00
Michael Muré
e2445edcb9
bridge: various improvement on the global token PR
2019-11-10 14:53:40 +01:00
Amine Hilaly
5ca326af83
bridge/core: add context.Context to ImportAll and ExportAll signatures
...
bridge/core: add ImportResult objects to stream import events
bridge/core: launchpad support asynchronous import
bridge/github: cancellable export and import functions
bridge/gitlab: cancellable export and import functions
commands: bridge pull/push gracefull kill
bridge/github: fix github import
bridge/github: use simple context for imports
bridge/core: name parameters in interfaces
github/core: Add EventError to export and import events types
bridge/gitlab: add context support in gitlab requests functions
bridge/gitlab: remove imported events count from importer logic
bridge/github: remove imported events count from importer logic
bridge/github: add context support in query and muration requets
bridge/github: fix bug duplicate editions after multiple calls
bridge/core: import import and export events String methods
bridge/gitlab: fix error handling in note import events
commands/bridge: Add statistics about imports and exports
bridge/gitlab: properly handle context cancellation
bridge/github: improve error handling
bridge: break iterators on context cancel or timeout
bridge: add context timeout support
bridge: improve event formating and error handling
commands: handle interrupt and switch cases
bridge/github: add export mutation timeouts
bridge: fix race condition bug in the github and gitlab importers
bridge/github: improve context error handling
2019-08-18 00:14:22 +02:00
Michael Muré
c809d37152
more hash-->id fixes
2019-08-13 16:23:05 +02:00
Michael Muré
99b5c58d43
finish the refactoring for the dedicated identifier type
2019-08-12 16:12:14 +02:00
Michael Muré
67a3752e17
bug,entity: use a dedicated type to store IDs
2019-08-11 14:08:03 +02:00
Michael Muré
24d6714dd5
cache: properly push/pull identities and bugs
2019-03-27 21:44:11 +01:00