Eio HTTP server with static file serving and route handlers
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.

+18 -7
+18 -7
respond.opam
··· 1 1 # This file is generated by dune, edit dune-project instead 2 2 opam-version: "2.0" 3 3 synopsis: "Eio HTTP server with static file serving and route handlers" 4 - description: """ 5 - Serves files from a document root with MIME detection, ETag 6 - conditional requests, and directory index. Supports custom route 7 - handlers for API endpoints. Reuses HTTP types from requests. 8 - """ 4 + description: 5 + "Serves files from a document root with MIME detection, ETag conditional requests, and directory index. Supports custom route handlers for API endpoints. Reuses HTTP types from requests." 9 6 maintainer: ["Thomas Gazagnaire <thomas@gazagnaire.org>"] 10 7 authors: ["Thomas Gazagnaire <thomas@gazagnaire.org>"] 11 8 license: "ISC" 12 9 tags: ["org:blacksun" "network" "http" "eio"] 13 10 depends: [ 14 11 "ocaml" {>= "5.1"} 15 - "dune" {>= "3.0"} 12 + "dune" {>= "3.21" & >= "3.0"} 16 13 "http" 17 14 "eio" 18 15 "logs" 19 16 "magic-mime" 20 17 "fmt" 18 + "odoc" {with-doc} 21 19 ] 22 20 build: [ 23 21 ["dune" "subst"] {dev} 24 - ["dune" "build" "-p" name "-j" jobs] 22 + [ 23 + "dune" 24 + "build" 25 + "-p" 26 + name 27 + "-j" 28 + jobs 29 + "@install" 30 + "@runtest" {with-test} 31 + "@doc" {with-doc} 32 + ] 25 33 ] 34 + x-maintenance-intent: ["(latest)"] 35 + x-quality-build: "2026-04-15" 36 + x-quality-test: "2026-04-15"