search for: json_templates

Displaying 7 results from an estimated 7 matches for "json_templates".

2014 Oct 10
0
[PATCH 3/3] builder: use the JSON module
...h + | Sigchecker.No_Key -> item + | Sigchecker.Fingerprint fp -> + ("fingerprint", JSON.String fp) :: item + | Sigchecker.KeyFile kf -> + ("key", JSON.String kf) :: item in + JSON.Dict item + ) sources in + let json_templates = + List.map ( + fun (name, { Index_parser.printable_name = printable_name; arch = arch; size = size; compressed_size = compressed_size; notes = notes; aliases = aliases;...
2014 Oct 10
4
[PATCH 1/3] Move JSON to mllib
Move the simple OCaml JSON writer to mllib, so that can be enhanced and used also outside v2v. --- mllib/JSON.ml | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ mllib/JSON.mli | 26 ++++++++++++++++++++++++++ mllib/Makefile.am | 5 ++++- po/POTFILES-ml | 2 +- v2v/JSON.ml | 53 ----------------------------------------------------- v2v/JSON.mli | 26
2015 Jul 28
0
[PATCH 06/10] builder: split Index_parser.index in an own module
...dex_parser.printable_name = printable_name; + fun (name, { Index.printable_name = printable_name; arch = arch; size = size; compressed_size = compressed_size; @@ -112,7 +112,7 @@ and list_entries_json ~sources index = ) sources in let json_templates = List.map ( - fun (name, { Index_parser.printable_name = printable_name; + fun (name, { Index.printable_name = printable_name; arch = arch; size = size; compressed_size = compressed_size; diff --git a/builder/list_entries.m...
2015 Jul 28
19
[PATCH 00/10] RFC: builder: first support for Simple Streams metadata
Hi, this series adds a basic support for Simple Streams v1.0 metadata files. This makes it possible to create a repository .conf files with [cirros] uri=http://download.cirros-cloud.net format=simplestreams to read the latest version of each CirrOS image. TODO items: - a bit more testing: listing and creating images works, so the current metadata is correct - handle revisions, so newer
2017 Oct 04
0
[PATCH 2/9] ocaml: Replace pattern matching { field = field } with { field }.
...st.map ( - fun { Sources.uri = uri; gpgkey = gpgkey } -> + fun { Sources.uri; gpgkey } -> let item = [ "uri", JSON.String uri ] in let item = match gpgkey with @@ -120,14 +113,8 @@ and list_entries_json ~sources index = ) sources in let json_templates = List.map ( - fun (name, { Index.printable_name = printable_name; - arch = arch; - size = size; - compressed_size = compressed_size; - notes = notes; - aliases = aliases; - osinfo...
2018 Aug 20
6
[PATCH 0/4] mltools: JSON unification
An evolution of: https://www.redhat.com/archives/libguestfs/2018-August/msg00155.html
2017 Oct 04
11
[PATCH 0/9] build: Require OCaml >= 4.02.
Per my previous email: https://www.redhat.com/archives/libguestfs/2017-September/msg00203.html I'd like to talk about requiring a more modern version of the OCaml compiler. These commits show some of the code changes which would be possible with OCaml >= 3.12 [which it turns out we already require by accident] and also with OCaml >= 4.02. The latter is my favoured option. Rich.