Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Obi.IndexIndex of all the opam2 builds. The Index module contains types for the opam2 bulk build results.
deps is a list of package dependencies, where each entry is a tuple of name, version, status
val sexp_of_deps : deps -> Ppx_sexp_conv_lib.Sexp.tval deps_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> depstype result = [ | `Ok| `Fail of int * deps| `Depfail of deps| `Uninstallable of string list| `No_sources of string list| `Solver_failure ]result represents the exit result of an opam invocation. The raw exit codes are parsed to look for special opam exit codes, which indicate errors such as the internal solver failing to find a result.
val sexp_of_result : result -> Ppx_sexp_conv_lib.Sexp.tval result_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> resultval __result_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> resultval pp_result : Format.formatter -> result -> unitpp_result ppf result will print a human-readable result to formatter ppf
type params = {arch : Dockerfile_distro.arch;CPU architecture
*)distro : Dockerfile_distro.t;Operating system distribution
*)ov : Ocaml_version.t;OCaml compiler version
*)}params represents some of the build parameters that opam packages are tested against. These include the CPU architecture, OS distribution and OCaml compiler version.
val sexp_of_params : params -> Ppx_sexp_conv_lib.Sexp.tval params_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> paramstype metadata = {rev : string;opam-repository git revision hash that this run was built against
*)params : params;build_result : result;result of the execution of this set of parameters
*)duration : float;wall clock time of the duration of the build in Unix seconds
*)log : string list;list of log lines. This is blank unless there is an error
*)}metadata contains the results and parameters for a single build run of a package and version.
val sexp_of_metadata : metadata -> Ppx_sexp_conv_lib.Sexp.tval metadata_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> metadatatype pkg = {name : string;opam package name
*)mutable maintainers : string list;list of maintainers associated with this package. As a heuristic, all of the maintainers listed for all versions are bundled together here for simplicity.
*)mutable versions : (string * metadata list) list;list of a tuple of opam package version and the list of build results. There is a list of results since there are usually multiple different runs for every version, to test it against different compiler and CPU/OS combinations.
*)}pkg collects all the metadata for all versions of a given opam package.
val sexp_of_pkg : pkg -> Ppx_sexp_conv_lib.Sexp.tval pkg_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> pkgt contains a version number of the metadata system, which is set to current_version for the latest builds. Older clients can parse the sexpression to determine if they need to upgrade for a newer format. The CHANGES.md file in the Obi source code repository tracks metadata version number bumps.
current_version is a monotonically increasing number for the version of Obi in use.
maintainers is an association list of the package name (including version string) to the list of maintainers registered for that package. As a heuristic, all of the maintainers listed for all versions are bundled here for simplicity.
val sexp_of_maintainers : maintainers -> Ppx_sexp_conv_lib.Sexp.tval maintainers_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> maintainerstags is an association list of the package name (including version string) to the list of tags registered for that package. As a heuristic, all of the tags listed for all versions are bundled here for simplicity.
val sexp_of_tags : tags -> Ppx_sexp_conv_lib.Sexp.tval tags_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> tags