package opam-repomin

  1. Overview
  2. Docs
Minimize opam repository overlays into one unified repo

Install

dune-project
 Dependency

Authors

Maintainers

Sources

opam-repomin-1.0.0.tbz
sha256=d386aa90c5465b295d9d87de446b65da93bb0fa576fe925a4df48d60abc446b1
sha512=207d89cb7b9fc429ef172529f94d8a8f85a42f0107985f5e3fb23d2944f6b67722fb4dfc41e660e7db14b3135ab908ac1b29421de4b8917a939cbedc98b02489

doc/opam-repomin.lib/Opam_repomin/index.html

Module Opam_repominSource

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.

Sourcemodule Env : sig ... end

Environment configuration for the solver.

Repository Operations

Sourcemodule Repo : sig ... end

Repository handling.

Sourcemodule Solver : sig ... end

Solver for finding minimal package sets.

Sourcemodule Output : sig ... end

Output operations for copying packages.

Sourceval 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.

  • parameter env

    Environment configuration

  • parameter overlay

    Path to the overlay repository

  • parameter full

    Path to the full opam-repository

  • parameter compiler

    Compiler package to solve with

  • parameter output

    Output directory for the minimized repository

  • parameter dry_run

    If true, only print what would be copied