Module Dose_doseparse__StdLoaders
include sig ... end
val it : Dose_common__Util.Info.tval info : ('a, unit, string, unit) Stdlib.format4 -> 'aval nt : Dose_common__Util.Notice.tval notice : ('a, unit, string, unit) Stdlib.format4 -> 'aval wt : Dose_common__Util.Warning.tval warning : ('a, unit, string, unit) Stdlib.format4 -> 'aval dt : Dose_common__Util.Debug.tval debug : ('a, unit, string, unit) Stdlib.format4 -> 'aval fatal : ('a, unit, string, 'b) Stdlib.format4 -> 'a
val load_list_timer : Dose_common.Util.Timer.tval deb_load_list_timer : Dose_common.Util.Timer.tval deb_load_source_timer : Dose_common.Util.Timer.t
type rawpackage=|Deb of Dose_debian.Packages.package|DebSrc of Dose_debian.Sources.source|Pef of Dose_pef.Packages.package|Opam of Dose_opam2.Packages.package|Npm of Dose_npm.Packages.package|Edsp of Dose_debian.Packages.package|Csw of Dose_opencsw.Packages.package
val read_deb : ?filter:(Dose_common.Format822.stanza -> bool) -> ?extras:(string * Dose_pef.Packages.parse_extras_f option) list -> string -> Dose_debian.Packages.package listread a debian Packages file - compressed or not
val deb_load_list : Dose_debian.Debcudf.options -> ?status:Dose_debian.Packages.package list -> ?raw:bool -> rawpackage list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((Cudf_types.pkgname * Cudf_types.version) -> Dose_pef.Packages_types.name * Dose_pef.Packages_types.architecture option * Dose_pef.Packages_types.version) * ((Dose_pef.Packages_types.name * Dose_pef.Packages_types.version) -> Dose_pef.Packages_types.name * int) * rawpackage list list option * (Cudf_types.vpkglist * Cudf.package list) listval npm_load_list : string -> Cudf.preamble * Cudf.package list list * Cudf.request * ((string * int) -> string * 'a option * string) * ((string * string) -> string * int) * 'b option * 'c listval opam_load_list : ?options:Dose_opam2.Opamcudf.options -> string -> Cudf.preamble * Cudf.package list list * Cudf.request * ((string * int) -> string * 'a option * string) * ((string * string) -> string * int) * 'b option * 'c listval pef_load_list : ?compare:(string -> string -> int) -> < conflicts : ((string * string option) * (string * string) option) list; depends : ((string * string option) * (string * string) option) list list; extras : (string * string) list; name : string; provides : ((string * string option) * (string * string) option) list; recommends : ((string * string option) * (string * string) option) list list; version : string; .. > list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((string * int) -> string * 'a option * string) * ((string * string) -> string * int) * 'b option * 'c listval csw_load_list : Dose_opencsw.Packages.package list list -> Cudf.preamble * Cudf.package list list * Cudf.request * (('a * int) -> 'a * 'b option * string) * ((Dose_opencsw.Packages.name * string) -> Dose_opencsw.Packages.name * int) * 'c option * 'd listval edsp_load_list : Dose_debian.Debcudf.options -> string -> Cudf.preamble * Cudf.package list list * Cudf.request * ((Cudf_types.pkgname * Cudf_types.version) -> Dose_pef.Packages_types.name * Dose_pef.Packages_types.architecture option * Dose_pef.Packages_types.version) * ((Dose_pef.Packages_types.name * Dose_pef.Packages_types.version) -> Dose_pef.Packages_types.name * int) * 'a option * (Cudf_types.vpkglist * Cudf.package list) listval edsp_load_universe : Dose_debian.Debcudf.options -> string -> Cudf.preamble * Cudf.universe * Cudf.request * ((Cudf_types.pkgname * Cudf_types.version) -> Dose_pef.Packages_types.name * Dose_pef.Packages_types.architecture option * Dose_pef.Packages_types.version) * ((Dose_pef.Packages_types.name * Dose_pef.Packages_types.version) -> Dose_pef.Packages_types.name * int) * 'a option * (Cudf_types.vpkglist * Cudf.package list) listval deb_load_universe : Dose_debian.Debcudf.options -> ?raw:bool -> rawpackage list list -> Cudf.preamble * Cudf.universe * Cudf.request * ((Cudf_types.pkgname * Cudf_types.version) -> Dose_pef.Packages_types.name * Dose_pef.Packages_types.architecture option * Dose_pef.Packages_types.version) * ((Dose_pef.Packages_types.name * Dose_pef.Packages_types.version) -> Dose_pef.Packages_types.name * int) * rawpackage list list option * (Cudf_types.vpkglist * Cudf.package list) listtransform a list of debian control stanza into a cudf universe
val parse_cudf : string -> Cudf.preamble option * Cudf.package list * Cudf.request optionparse a cudf file and return a triple (preamble,package list,request option). If the package is not valid returns an empty list of packages
val load_cudf : string -> Cudf.preamble option * Cudf.universe * Cudf.request optionparse a cudf file and return a triple (preamble,universe,request option). If the package is not valid return an empty list of packages
val cudf_load_list : string -> Cudf.preamble * Cudf.package list list * Cudf.request * (('a * int) -> 'a * 'b option * string) * (('c * string) -> 'c * int) * 'd option * 'e listval cudf_load_universe : string -> Cudf.preamble * Cudf.universe * Cudf.request * (('a * int) -> 'a * 'b option * string) * (('c * string) -> 'c * int) * 'd option * 'e listval unpack_l : Dose_common.Url.filetypes -> (Dose_common.Url.filetypes * ('a * 'b * 'c * 'd * 'e) * 'f) list -> 'e listval unpack : 'a -> ('a * ('b * 'c * 'd * 'e * string) * 'f) -> stringval deb_parse_input : Dose_debian.Debcudf.options -> ?status:Dose_debian.Packages.package list -> ?raw:bool -> ([> `Deb | `DebSrc ] * ('a * 'b * 'c * 'd * string) * 'e) list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((Cudf_types.pkgname * Cudf_types.version) -> Dose_pef.Packages_types.name * Dose_pef.Packages_types.architecture option * Dose_pef.Packages_types.version) * ((Dose_pef.Packages_types.name * Dose_pef.Packages_types.version) -> Dose_pef.Packages_types.name * int) * rawpackage list list option * (Cudf_types.vpkglist * Cudf.package list) listval pef_parse_input : ?compare:(Dose_pef.Packages_types.version -> Dose_pef.Packages_types.version -> int) -> (Dose_common.Url.filetypes * ('a * 'b * 'c * 'd * string) * 'e) list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((string * int) -> string * 'f option * string) * ((string * string) -> string * int) * 'g option * 'h listval npm_parse_input : ([> `Npm ] * ('a * 'b * 'c * 'd * string) * 'e) list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((string * int) -> string * 'f option * string) * ((string * string) -> string * int) * 'g option * 'h listval opam_parse_input : ?options:Dose_opam2.Opamcudf.options -> ([> `Opam ] * ('a * 'b * 'c * 'd * string) * 'e) list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((string * int) -> string * 'f option * string) * ((string * string) -> string * int) * 'g option * 'h listval csw_parse_input : (Dose_common.Url.filetypes * ('a * 'b * 'c * 'd * string) * 'e) list list -> Cudf.preamble * Cudf.package list list * Cudf.request * (('f * int) -> 'f * 'g option * string) * ((Dose_opencsw.Packages.name * string) -> Dose_opencsw.Packages.name * int) * 'h option * 'i listval cudf_parse_input : ([> `Cudf ] * ('a * 'b * 'c * 'd * string) * 'e) list list -> Cudf.preamble * Cudf.package list list * Cudf.request * (('f * int) -> 'f * 'g option * string) * (('h * string) -> 'h * int) * 'i option * 'j listval edsp_parse_input : Dose_debian.Debcudf.options -> ([> `Edsp ] * ('a * 'b * 'c * 'd * string) * 'e) list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((Cudf_types.pkgname * Cudf_types.version) -> Dose_pef.Packages_types.name * Dose_pef.Packages_types.architecture option * Dose_pef.Packages_types.version) * ((Dose_pef.Packages_types.name * Dose_pef.Packages_types.version) -> Dose_pef.Packages_types.name * int) * 'f option * (Cudf_types.vpkglist * Cudf.package list) listval parse_input : ?options:Dose_doseparse.StdOptions.options option -> ?raw:bool -> ?compare:(Dose_pef.Packages_types.version -> Dose_pef.Packages_types.version -> int) -> string list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((Cudf_types.pkgname * Cudf_types.version) -> Cudf_types.pkgname * Dose_pef.Packages_types.architecture option * Dose_pef.Packages_types.version) * ((Dose_pef.Packages_types.name * Dose_pef.Packages_types.version) -> Dose_pef.Packages_types.name * int) * rawpackage list list option * (Cudf_types.vpkglist * Cudf.package list) listparse a list of uris of the same type and return a cudf packages list
val supported_formats : unit -> string listval deb_load_source : ?filter:(Dose_common.Format822.stanza -> bool) -> ?dropalternatives:bool -> ?profiles:Dose_pef.Packages_types.buildprofile list -> ?noindep:bool -> ?noarch:bool -> Dose_pef.Packages_types.architecture -> Dose_pef.Packages_types.architecture -> string -> Dose_debian.Packages.package listreturn a list of Debian packages from a debian source file
val load_list : ?options:Dose_doseparse.StdOptions.options option -> ?raw:bool -> ?compare:(Dose_pef.Packages_types.version -> Dose_pef.Packages_types.version -> int) -> string list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((Cudf_types.pkgname * Cudf_types.version) -> Cudf_types.pkgname * Dose_pef.Packages_types.architecture option * Dose_pef.Packages_types.version) * ((Dose_pef.Packages_types.name * Dose_pef.Packages_types.version) -> Dose_pef.Packages_types.name * int) * rawpackage list list option * (Cudf_types.vpkglist * Cudf.package list) listparse and merge a list of files into a cudf package list
val load_universe : ?options:Dose_doseparse.StdOptions.options option -> ?raw:bool -> ?compare:(Dose_pef.Packages_types.version -> Dose_pef.Packages_types.version -> int) -> string list -> Cudf.preamble * Cudf.universe * Cudf.request * ((Cudf_types.pkgname * Cudf_types.version) -> Cudf_types.pkgname * Dose_pef.Packages_types.architecture option * Dose_pef.Packages_types.version) * ((Dose_pef.Packages_types.name * Dose_pef.Packages_types.version) -> Dose_pef.Packages_types.name * int) * rawpackage list list option * (Cudf_types.vpkglist * Cudf.package list) listparse and merge a list of files into a cudf universe