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:
- check the pasted metadata: listing and creating images works,
so most of the current metadata is correct
- possibly wait for normalization patches:
https://www.redhat.com/archives/libguestfs/2015-August/msg00058.html
Thanks,
Pino Toscano (2):
builder: add non-int revisions
builder: support Simple Streams v1.0 as index metadata
builder/Makefile.am | 13 ++-
builder/builder.ml | 11 +-
builder/cache.ml | 2 +-
builder/cache.mli | 6 +-
builder/downloader.mli | 2 +-
builder/index.ml | 4 +-
builder/index.mli | 2 +-
builder/index_parser.ml | 4 +-
builder/simplestreams_parser.ml | 213 +++++++++++++++++++++++++++++++++++++++
builder/simplestreams_parser.mli | 19 ++++
builder/sources.ml | 9 ++
builder/sources.mli | 1 +
builder/utils.ml | 7 ++
builder/virt-builder.pod | 7 ++
builder/yajl-c.c | 143 ++++++++++++++++++++++++++
builder/yajl.ml | 30 ++++++
builder/yajl.mli | 33 ++++++
po/POTFILES | 1 +
po/POTFILES-ml | 2 +
19 files changed, 495 insertions(+), 14 deletions(-)
create mode 100644 builder/simplestreams_parser.ml
create mode 100644 builder/simplestreams_parser.mli
create mode 100644 builder/yajl-c.c
create mode 100644 builder/yajl.ml
create mode 100644 builder/yajl.mli
--
2.1.0