Hi all, Here is the latest version of the series. Diffs to v10: * Make Index.arch a (string, string option) maybe and use it to guess arch at parse time * Compute the image size at parse time when the template flag is set and the value is missing. * Add virt-repository_main slow test * Other fixes from Richard's comments Cédric Bosdonnat (7): Ignore builder/*.out and *.img files builder: change arch type to (string, string option) maybe. builder: add Utils.get_image_infos function builder: add a template parameter to get_index builder: add Index.write_entry function mllib: add XPath helper xpath_get_nodes New tool: virt-builder-repository Pino Toscano (1): builder: add simple OCaml osinfo-db reader .gitignore | 8 + builder/Makefile.am | 129 ++++++- builder/builder.ml | 9 +- builder/cache.ml | 10 + builder/cache.mli | 6 +- builder/downloader.mli | 2 +- builder/index.ml | 13 +- builder/index.mli | 10 +- builder/index_parser.ml | 94 ++++- builder/index_parser.mli | 9 +- builder/index_parser_tests.ml | 130 +++++++ builder/list_entries.ml | 16 +- builder/osinfo.ml | 76 ++++ builder/osinfo.mli | 22 ++ builder/repository_main.ml | 607 ++++++++++++++++++++++++++++++++ builder/simplestreams_parser.ml | 2 +- builder/test-docs.sh | 2 + builder/test-virt-builder-repository.sh | 98 ++++++ builder/utils.ml | 10 + builder/utils.mli | 7 + builder/virt-builder-repository.pod | 213 +++++++++++ builder/virt-builder.pod | 4 + common/mltools/xpath_helpers.ml | 9 + common/mltools/xpath_helpers.mli | 4 + fish/guestfish.pod | 1 + installcheck.sh.in | 1 + lib/guestfs.pod | 1 + v2v/output_libvirt.ml | 11 +- v2v/test-harness/v2v_test_harness.ml | 51 +-- 29 files changed, 1481 insertions(+), 74 deletions(-) create mode 100644 builder/index_parser_tests.ml create mode 100644 builder/osinfo.ml create mode 100644 builder/osinfo.mli create mode 100644 builder/repository_main.ml create mode 100755 builder/test-virt-builder-repository.sh create mode 100644 builder/virt-builder-repository.pod -- 2.13.2