Monorepo management for opam overlays
0
fork

Configure Feed

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

*: drop unused runtime opam deps (lint sweep)

Per-package removal of opam runtime [depends] entries that
[monopam lint] flagged as unused -- packages declared as runtime deps
but referenced by no library [(libraries ...)] stanza in any of the
package's main lib/exec dune files (and not pulled in transitively
via META).

Verified each removal by running [dune build] (and [dune test] for
packages with a test suite) before moving on. No code changes -- only
dune-project [(depends ...)] lists.

Packages touched:

- ca-certs drop nox-crypto
- dupfind drop bos
- merlint drop nox-json (still pulled in via nox-opam.bytesrw)
- monopam drop bytesrw, requests
- monopam-info drop nox-loc, nox-sexp
- ocaml-agent drop nox-tty
- ocaml-atproto-oauth drop did-plc, did-web
- ocaml-auth drop nox-json
- ocaml-cam drop ptime
- ocaml-claude drop nox-loc
- ocaml-cop1 drop logs
- ocaml-did drop bytesrw
- ocaml-ewah drop bytesrw
- ocaml-freebox drop ipaddr
- ocaml-gauth drop base64, ptime
- ocaml-gdocs drop oauth
- ocaml-gsheets drop oauth
- ocaml-gslides drop oauth
- ocaml-hap drop nox-crypto-rng
- ocaml-jailhouse drop fmt

Generated [.opam] files updated by dune accordingly.

Remaining unused warnings ([ocaml-jwt], [ocaml-meross], [ocaml-oci],
[ocaml-pid1], [ocaml-publicsuffix], [ocaml-punycode], [ocaml-pus],
[ocaml-qemu], [ocaml-rego], [ocaml-requests], [ocaml-sbom],
[ocaml-scc], [ocaml-sdls], [ocaml-sigstore], [ocaml-sle],
[ocaml-spacedata], [ocaml-stix], [ocaml-vz], [prune], plus the
[ocaml-ccsds] meta-package and a handful of others) will follow in a
later pass once each is verified against its tests; this commit
covers only the ones I built and tested in this session.

-4
-2
dune-project
··· 16 16 (description "Monopam helps manage an opam overlay by synchronizing packages between individual git checkouts and a monorepo.") 17 17 (depends 18 18 (ocaml (>= 5.2.0)) 19 - (bytesrw (>= 0.1.0)) 20 19 (eio (>= 1.2)) 21 20 (eio_main (>= 1.2)) 22 21 (nox-git (>= 0.1.0)) ··· 33 32 (fpath (>= 0.7.0)) 34 33 (claude (>= 0.1.0)) 35 34 (nox-json (>= 0.2.0)) 36 - requests 37 35 (ptime (>= 1.0.0)) 38 36 (nox-sexp (>= 0.1.0)) 39 37 (nox-dune (>= 0.1.0))
-2
monopam.opam
··· 12 12 depends: [ 13 13 "dune" {>= "3.21"} 14 14 "ocaml" {>= "5.2.0"} 15 - "bytesrw" {>= "0.1.0"} 16 15 "eio" {>= "1.2"} 17 16 "eio_main" {>= "1.2"} 18 17 "nox-git" {>= "0.1.0"} ··· 29 28 "fpath" {>= "0.7.0"} 30 29 "claude" {>= "0.1.0"} 31 30 "nox-json" {>= "0.2.0"} 32 - "requests" 33 31 "ptime" {>= "1.0.0"} 34 32 "nox-sexp" {>= "0.1.0"} 35 33 "nox-dune" {>= "0.1.0"}