Monorepo management for opam overlays
0
fork

Configure Feed

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

add x-quality metadata to 171 packages, fix sse build

Generate .opam.template files with x-quality-* fields based on
detected package features:
- x-quality-build: has lib/ with .ml files
- x-quality-test: has test/ with .ml files
- x-quality-fuzz: has fuzz/ with .ml files
- x-quality-interop: has test/interop/ directory
- x-quality-cram: has test/*.t/ directories

These fields are picked up by dune's opam generation and will be
checked by merlint E910 for consistency.

Also: add fmt dep to ocaml-sse/lib/dune (Fmt.pf used without dep).

+12 -6
+6 -6
lib/pull.ml
··· 492 492 conflicts; 493 493 (List.rev !unresolved, !applied) 494 494 495 - (** Check whether any checkout or monorepo prefix is dirty. Returns 496 - [Ok ()] when clean, [Error (Dirty_state _)] otherwise. *) 495 + (** Check whether any checkout or monorepo prefix is dirty. Returns [Ok ()] when 496 + clean, [Error (Dirty_state _)] otherwise. *) 497 497 let check_dirty ~sw ~fs_t ~config pkgs = 498 498 Log.info (fun m -> m "Checking status of %d packages" (List.length pkgs)); 499 499 let statuses = Status.compute_all ~sw ~fs:fs_t ~config pkgs in ··· 559 559 { 560 560 paths = unresolved; 561 561 hint = 562 - "Edit the conflicted files under mono/, stage the resolution \ 563 - with 'git add', 'git commit', and run 'monopam push' again."; 562 + "Edit the conflicted files under mono/, stage the resolution with \ 563 + 'git add', 'git commit', and run 'monopam push' again."; 564 564 }) 565 565 566 - (** Load sources.toml for the monorepo, returning [None] for legacy 567 - workspaces without one. *) 566 + (** Load sources.toml for the monorepo, returning [None] for legacy workspaces 567 + without one. *) 568 568 let load_sources ~fs_t ~config = 569 569 let monorepo = Config.Paths.monorepo config in 570 570 let sources_path = Fpath.(monorepo / "sources.toml") in
+3
monopam.opam
··· 49 49 ] 50 50 dev-repo: "git+https://tangled.org/anil.recoil.org/monopam" 51 51 x-maintenance-intent: ["(latest)"] 52 + x-quality-build: "2026-04-15" 53 + x-quality-cram: "2026-04-15" 54 + x-quality-test: "2026-04-15"
+3
monopam.opam.template
··· 1 + x-quality-build: "2026-04-15" 2 + x-quality-cram: "2026-04-15" 3 + x-quality-test: "2026-04-15"