radicle-heartwood-lfs/radicle-cli/examples
Alexis Sellier 3bd5589b1a
cob: Stabilize formats
> I'm going to be making a set of breaking changes to COBs in order to
stabilize the data formats. This is hopefully a one-time change that
bundles various breaking changes.

All COBs have been reworked: issue, patch, id.

The changes included are:

* Revise the assign and tag actions to take a single list of
  assignees/tags to set, instead of an "add" and a "remove" list. This
  makes API usage simpler when editing issues, and simplifies the apply
  function
* Rename "tags" to "labels", and the tag action to label. This is
  because tag is confusing in the context of git, as it could mean a git
  tag. Using label removes that confusion.
* Use DIDs instead of PublicKeys for assignees -- this is more
  future-proof
* Modify the manifest file format in the COB tree. Mainly, remove the
  `history_type` key which is redundant, and use camelCase for keys
* Flatten the `Thread` actions into the parent action type
* Ensure that operations on redacted objects do not fail, since
  redactions could have happened concurrently
* Use a consistent naming scheme for actions, using `.` as separator
* Consolidate comment types and remove `CodeComment`, by adding an
  optional `location` field to `Comment`
* Add many placeholder actions that are not yet implemented

To preserve backwards compatibility, a `legacy` module is created with
the old `apply` function. When loading the manifest, we check whether it
is a legacy COB or a "stable" COB, and in the legacy case, use the
legacy code to materialize the state and then convert the object into
the stable type. Eventually, we'll delete the legacy code.
2023-08-07 11:05:14 +02:00
..
framework cli-test: Update framework with new features 2023-08-04 12:23:49 +02:00
git node: Make node aliases required 2023-07-11 18:08:59 +02:00
workflow cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-auth.md node: Make node aliases required 2023-07-11 18:08:59 +02:00
rad-checkout-repo-config-linux.md cli: Add canonical remote to `init` and `checkout` 2023-04-24 15:42:00 +02:00
rad-checkout-repo-config-macos.md cli: Add canonical remote to `init` and `checkout` 2023-04-24 15:42:00 +02:00
rad-checkout.md cli: Add canonical remote to `init` and `checkout` 2023-04-24 15:42:00 +02:00
rad-clone-all.md cli: Remove rad-inspect `tree' dependency 2023-08-03 13:40:48 +02:00
rad-clone-unknown.md cli: Add `--scope` flag for `rad clone` 2023-06-13 11:09:42 +02:00
rad-clone.md node: Make node aliases required 2023-07-11 18:08:59 +02:00
rad-delegate.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-fetch.md cli: Fix rad-fetch readme link 2023-07-25 11:52:24 +02:00
rad-fork.md cli: Remove rad-inspect `tree' dependency 2023-08-03 13:40:48 +02:00
rad-id-rebase.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-id.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-init-sync.md cli: Add `--scope` flag to `rad init` 2023-06-13 11:09:42 +02:00
rad-init.md cli: Update some of the output formatting 2023-05-12 13:09:42 +02:00
rad-inspect-noauth.md node: Make node aliases required 2023-07-11 18:08:59 +02:00
rad-inspect.md cli: Remove rad-inspect `tree' dependency 2023-08-03 13:40:48 +02:00
rad-issue.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-label.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-merge-after-update.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-merge-via-push.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-node.md cli: Give hint on how to start node, when stopped 2023-07-20 10:40:24 +02:00
rad-patch-ahead-behind.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-patch-draft.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-patch-pull-update.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-patch-update.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-patch-via-push.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-patch.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-remote.md node: Make node aliases required 2023-07-11 18:08:59 +02:00
rad-review-by-hunk.md cob: Stabilize formats 2023-08-07 11:05:14 +02:00
rad-rm.md cli: Update examples to use new `fail` decorator 2023-05-12 12:54:21 +02:00
rad-self.md node: Make node aliases required 2023-07-11 18:08:59 +02:00
rad-sync.md cli: Rework `rad sync` command 2023-05-15 15:34:45 +02:00
rad-track.md cli: Get fetch after track working 2023-04-26 09:49:37 +02:00