module StdLoaders: sig
.. end
val label : string
include struct ... end
val load_list_timer : Common.Util.Timer.t
val deb_load_list_timer : Common.Util.Timer.t
val deb_load_source_timer : Common.Util.Timer.t
type
rawpackage =
val read_deb : ?filter:(Common.Format822.stanza -> bool) ->
?extras:(string * Pef.Packages.parse_extras_f option) list ->
string -> Debian.Packages.Set.elt list
read a debian Packages file - compressed or not
val deb_load_list : Debian.Debcudf.options ->
?status:Debian.Packages.Set.elt list ->
?raw:bool ->
rawpackage list list ->
Cudf.preamble * Cudf.package list list * Cudf.request *
(Cudf_types.pkgname * Cudf_types.version ->
Pef.Packages_types.name * Pef.Packages_types.version) *
(Pef.Packages_types.name * Pef.Packages_types.version ->
Pef.Packages_types.name * int) *
rawpackage list list option
val opam_load_list : ?options:Opam.Opamcudf.options ->
string ->
Cudf.preamble * Cudf.package list list * Cudf.request *
(string * int -> string * string) * (string * string -> string * int) *
'a option
val pef_load_list : 'a ->
< 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 * string) * (string * string -> string * int) *
'b option
val csw_load_list : Csw.Packages.package list list ->
Cudf.preamble * Cudf.package list list * Cudf.request *
('a * int -> 'a * string) *
(Csw.Packages.name * string -> Csw.Packages.name * int) * 'b option
val edsp_load_list : Debian.Debcudf.options ->
string ->
Cudf.preamble * Cudf.package list list * Cudf.request *
(Cudf_types.pkgname * Cudf_types.version ->
Pef.Packages_types.name * Pef.Packages_types.version) *
(Pef.Packages_types.name * Pef.Packages_types.version ->
Pef.Packages_types.name * int) *
'a option
val edsp_load_universe : Debian.Debcudf.options ->
string ->
Cudf.preamble * Cudf.universe * Cudf.request *
(Cudf_types.pkgname * Cudf_types.version ->
Pef.Packages_types.name * Pef.Packages_types.version) *
(Pef.Packages_types.name * Pef.Packages_types.version ->
Pef.Packages_types.name * int) *
'a option
val deb_load_universe : Debian.Debcudf.options ->
?raw:bool ->
rawpackage list list ->
Cudf.preamble * Cudf.universe * Cudf.request *
(Cudf_types.pkgname * Cudf_types.version ->
Pef.Packages_types.name * Pef.Packages_types.version) *
(Pef.Packages_types.name * Pef.Packages_types.version ->
Pef.Packages_types.name * int) *
rawpackage list list option
transform a list of debian control stanza into a cudf universe
val rpm_load_list : 'a -> 'b
transform a list of rpm control stanza into a cudf packages list
val rpm_load_universe : 'a -> 'b * Cudf.universe * 'c * 'd * 'e * 'f
transform a list of rpm control stanza into a cudf universe
val parse_cudf : string -> Cudf.preamble option * Cudf.package list * Cudf.request option
parse 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 option
parse 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 * string) * ('b * string -> 'b * int) * 'c option
val cudf_load_universe : string ->
Cudf.preamble * Cudf.universe * Cudf.request * ('a * int -> 'a * string) *
('b * string -> 'b * int) * 'c option
val unpack_l : Common.Url.filetypes ->
(Common.Url.filetypes * ('a * 'b * 'c * 'd * 'e) * 'f) list -> 'e list
val unpack : 'a -> 'a * ('b * 'c * 'd * 'e * string) * 'f -> string
val deb_parse_input : Debian.Debcudf.options ->
?status:Debian.Packages.Set.elt 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 ->
Pef.Packages_types.name * Pef.Packages_types.version) *
(Pef.Packages_types.name * Pef.Packages_types.version ->
Pef.Packages_types.name * int) *
rawpackage list list option
val pef_parse_input : 'a ->
(Common.Url.filetypes * ('b * 'c * 'd * 'e * string) * 'f) list list ->
Cudf.preamble * Cudf.package list list * Cudf.request *
(string * int -> string * string) * (string * string -> string * int) *
'g option
val opam_parse_input : ?options:Opam.Opamcudf.options ->
([> `Opam ] * ('a * 'b * 'c * 'd * string) * 'e) list list ->
Cudf.preamble * Cudf.package list list * Cudf.request *
(string * int -> string * string) * (string * string -> string * int) *
'f option
val csw_parse_input : (Common.Url.filetypes * ('a * 'b * 'c * 'd * string) * 'e) list list ->
Cudf.preamble * Cudf.package list list * Cudf.request *
('f * int -> 'f * string) *
(Csw.Packages.name * string -> Csw.Packages.name * int) * 'g option
val cudf_parse_input : ([> `Cudf ] * ('a * 'b * 'c * 'd * string) * 'e) list list ->
Cudf.preamble * Cudf.package list list * Cudf.request *
('f * int -> 'f * string) * ('g * string -> 'g * int) * 'h option
val edsp_parse_input : 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 ->
Pef.Packages_types.name * Pef.Packages_types.version) *
(Pef.Packages_types.name * Pef.Packages_types.version ->
Pef.Packages_types.name * int) *
'f option
val parse_input : ?options:StdOptions.options option ->
?raw:bool ->
string list list ->
Cudf.preamble * Cudf.package list list * Cudf.request *
(Cudf_types.pkgname * Cudf_types.version ->
Cudf_types.pkgname * Pef.Packages_types.version) *
(Pef.Packages_types.name * Pef.Packages_types.version ->
Pef.Packages_types.name * int) *
rawpackage list list option
parse a list of uris of the same type and return a cudf packages list
val supported_formats : unit -> string list
val deb_load_source : ?filter:(Common.Format822.stanza -> bool) ->
?dropalternatives:bool ->
?profiles:Pef.Packages_types.buildprofile list ->
?noindep:bool ->
Pef.Packages_types.architecture ->
Pef.Packages_types.architecture -> string -> Debian.Packages.package list
return a list of Debian packages from a debian source file
val load_list : ?options:StdOptions.options option ->
?raw:bool ->
string list list ->
Cudf.preamble * Cudf.package list list * Cudf.request *
(Cudf_types.pkgname * Cudf_types.version ->
Cudf_types.pkgname * Pef.Packages_types.version) *
(Pef.Packages_types.name * Pef.Packages_types.version ->
Pef.Packages_types.name * int) *
rawpackage list list option
parse and merge a list of files into a cudf package list
val load_universe : ?options:StdOptions.options option ->
?raw:bool ->
string list ->
Cudf.preamble * Cudf.universe * Cudf.request *
(Cudf_types.pkgname * Cudf_types.version ->
Cudf_types.pkgname * Pef.Packages_types.version) *
(Pef.Packages_types.name * Pef.Packages_types.version ->
Pef.Packages_types.name * int) *
rawpackage list list option
parse and merge a list of files into a cudf universe