upstream: github.com/robur-coop/kdf
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.

+6 -3
+6 -3
kdf.opam
··· 1 1 # This file is generated by dune, edit dune-project instead 2 2 opam-version: "2.0" 3 - synopsis: "Key Derivation Functions: HKDF RFC 5869, PBKDF RFC 2898, SCRYPT RFC 7914" 3 + synopsis: 4 + "Key Derivation Functions: HKDF RFC 5869, PBKDF RFC 2898, SCRYPT RFC 7914" 4 5 description: 5 6 "A pure OCaml implementation of scrypt (RFC 7914), PBKDF 1 and 2 as defined by PKCS#5 (RFC 2898), and HKDF (RFC 5869)." 6 7 maintainer: [ ··· 19 20 bug-reports: "https://tangled.org/gazagnaire.org/kdf/issues" 20 21 depends: [ 21 22 "ocaml" {>= "4.13.0"} 22 - "dune" {>= "1.8.0"} 23 + "dune" {>= "3.21" & >= "1.8.0"} 23 24 "digestif" {>= "1.2.0"} 24 25 "crypto" {>= "1.0.0"} 25 26 "alcotest" {with-test & >= "0.8.1"} 26 27 "ohex" {with-test & >= "0.2.0"} 28 + "odoc" {with-doc} 27 29 ] 28 30 build: [ 29 31 ["dune" "subst"] {dev} ··· 39 41 "@doc" {with-doc} 40 42 ] 41 43 ] 42 - dev-repo: "git+https://tangled.org/gazagnaire.org/kdf.git" 44 + dev-repo: "git+https://tangled.org/gazagnaire.org/kdf" 45 + x-maintenance-intent: ["(latest)"]