radicle-heartwood-lfs/radicle-cli/examples
Alexis Sellier aacacf872f
cob: Use `EntryId` as the operation identifier
By introducing a small limitation: only allowing entries in the change
graph to be addressable, instead of individual operations; we
drastically simplify the CRDT implementation.

There are four advantages:

1. Op ids are just regular SHA-1s
2. There's no need for relative IDs, ops never refer to other ops within the
   same commit
3. There's no need for a nonce, since commits can't collide, and neither can op IDs
4. `OpId` can just be an alias of `EntryId`

The disadvantage of course, is that we have to be mindful of how we
create op transactions, since each transaction creates an addressable
unit. For example, we must not include multiple patch revisions in the
same transaction.
2023-03-09 17:08:56 +01:00
..
rad-auth.md cli: Improve `rad-auth` first authentication 2023-03-01 13:03:42 +01:00
rad-checkout-repo-config-linux.md cli: Fix a test failing on macos: rad_checkout 2023-02-10 15:01:06 +01:00
rad-checkout-repo-config-macos.md cli: Fix a test failing on macos: rad_checkout 2023-02-10 15:01:06 +01:00
rad-checkout.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-clone-unknown.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-clone.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-delegate.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-id-rebase.md cob: Use `EntryId` as the operation identifier 2023-03-09 17:08:56 +01:00
rad-id.md cob: Use `EntryId` as the operation identifier 2023-03-09 17:08:56 +01:00
rad-init-sync.md cli: Add `--verbose` flag to `init` 2023-03-06 15:38:42 +01:00
rad-init.md cli: Add `--verbose` flag to `init` 2023-03-06 15:38:42 +01:00
rad-inspect-noauth.md cli: Improve `rad inspect` 2023-03-01 13:03:42 +01:00
rad-inspect.md cli: Implement `rad fetch` command 2023-03-02 17:00:27 +01:00
rad-issue.md cob: Use `EntryId` as the operation identifier 2023-03-09 17:08:56 +01:00
rad-node.md cli: Update `track` command 2023-03-08 15:32:34 +01:00
rad-patch.md cob: Use `EntryId` as the operation identifier 2023-03-09 17:08:56 +01:00
rad-rm.md cli: Fix `rad rm` prompt 2023-03-04 22:28:45 +01:00
rad-track.md cli: Update `track` command 2023-03-08 15:32:34 +01:00