Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cli: `rad cob {show → log}`, and new `rad cob show`
Merged lorenz opened 1 year ago

Makes rad cob show print the COB as materialized object. The previous implementation of rad cob show, which showed operations on the COB, stays available as rad cob log.

This is a breaking change to rad cob.

Related discussion: https://radicle.zulipchat.com/#narrow/stream/411091-dogfood/topic/Plumbing.20Command.20for.20COBs

lorenz opened with revision 4bce378c on base 6ab3bfcb +44 -8 1 year ago

Makes rad cob show print the COB as materialized object. The previous implementation of rad cob show, which showed operations on the COB, stays available as rad cob log.

This is a breaking change to rad cob.

Related discussion: https://radicle.zulipchat.com/#narrow/stream/411091-dogfood/topic/Plumbing.20Command.20for.20COBs

lorenz pushed revision 2 58fa9295 on base 6ab3bfcb +58 -37 1 year ago

I decided to remove the custom format that rad cob log uses in favor of a simple JSON encoding. This is easier to parse, and needs less maintenance.

lorenz pushed revision 3 2098f813 on base 6ab3bfcb +58 -37 1 year ago
lorenz pushed revision 4 e9e9e414 on base 6ab3bfcb +120 -43 1 year ago
lorenz pushed revision 5 2f741674 on base 6ab3bfcb +477 -182 1 year ago

Address comments after review from Fintan:

  • Add option --pretty to rad cob show
  • Add test for rad cob show
lorenz pushed revision 6 a19c1994 on base 6ab3bfcb +486 -182 1 year ago

Clean up. Should be good to merge now.

fintohaps accepted 1 year ago

LGTM

lorenz pushed revision 7 16fcc066 on base 57273593 +486 -182 1 year ago

Trivial rebase.

lorenz pushed revision 8 d5401011 on base 749e8239 +471 -184 1 year ago

Much prettier!

lorenz pushed revision 9 6bc09fd2 on base 749e8239 +472 -187 1 year ago

Fix output order

did:key:z6MksFqX...wzpT pushed revision 10 cbe3f07d on base 30c9b0db +468 -184 1 year ago

Rebase and minor output format changes.

did:key:z6MksFqX...wzpT merged revision cbe3f07d at 6d11ea17 1 year ago