Native CBOR codec with type-safe combinators
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

git-x: regroup CLI under tree/commit; add tree add

Previously the eight git-x subcommands sat flat at top level (split,
check, fix, verify, filter-paths, split-commit, drop-commit, reword),
with 'split' ambiguous between the subtree split and the per-directory
commit split.

Regrouped into two namespaces that mirror the object they act on:

git-x tree
split (was: git-x split)
add (new — inject a standalone history under a prefix)
drop (was: git-x filter-paths)
check (was: git-x check)
fix (was: git-x fix)
verify (was: git-x verify)

git-x commit
split (was: git-x split-commit)
drop (was: git-x drop-commit)
reword (was: git-x reword)

Each subcommand lives in cmd_<group>_<verb>.{ml,mli}; cmd_tree.ml and
cmd_commit.ml are the Cmd.group wrappers. git_x.ml registers just the
two groups.

'tree add' is a thin wrapper over Git.Subtree.add, which already
existed in the library but had no CLI exposure. It accepts a ref (e.g.
FETCH_HEAD after 'git fetch URL REF') and a --prefix, then builds a
subtree-merge commit with the current user's git config identity.

Log source names are updated to match (git-x.tree.split,
git-x.tree.fix). The cram test under test/cram/tree_split.t is
updated to use the new 'git-x tree split' invocation throughout.

+2 -2
+1 -1
cbor.opam
··· 8 8 maintainer: ["Anil Madhavapeddy <anil@recoil.org>"] 9 9 authors: ["Anil Madhavapeddy"] 10 10 license: "ISC" 11 - tags: ["org:blacksun" "codec" "binary"] 11 + tags: ["org:blacksun" "codec.binary"] 12 12 homepage: "https://tangled.org/anil.recoil.org/ocaml-cbor" 13 13 bug-reports: "https://tangled.org/anil.recoil.org/ocaml-cbor/issues" 14 14 depends: [
+1 -1
dune-project
··· 11 11 (package 12 12 (name cbor) 13 13 (synopsis "Native CBOR codec with type-safe combinators") 14 - (tags (org:blacksun codec encoding binary)) 14 + (tags (org:blacksun codec.binary)) 15 15 (description 16 16 "Type-safe CBOR (RFC 8949) encoding and decoding using a combinator-based 17 17 approach. Define codecs once and use them for both encoding and decoding
test/test_cbor_rw.ml test/test_binary.ml
test/test_cbor_rw.mli test/test_binary.mli