opam-repomin.lib
Opam_repomin
Minimize opam repository overlays using the 0install solver.
This library provides functionality to determine the minimal set of packages from a full opam-repository that are required to make an overlay repository standalone.
module Env : sig ... end
Environment configuration for the solver.
module Repo : sig ... end
Repository handling.
module Solver : sig ... end
Solver for finding minimal package sets.
module Output : sig ... end
Output operations for copying packages.
val run : env:Env.t -> overlay:Fpath.t -> full:Fpath.t -> compiler:OpamPackage.t -> output:Fpath.t -> dry_run:bool -> (unit, [ `Msg of string ]) result
Run the full minimization process.
Environment configuration
Path to the overlay repository
Path to the full opam-repository
Compiler package to solve with
Output directory for the minimized repository
If true, only print what would be copied