[Libguestfs] [PATCH 0/8] virt-builder: use .conf files for configuration

Pino Toscano ptoscano at redhat.com
Tue Feb 25 16:29:05 UTC 2014


Hi,

attached there is a serie of patches that completes the work on making
virt-builder use .conf files, shipped in XDG directories, to configure
all the available sources of indexes used.
This also removes the hardcoded default location, replaced now with a
configuration file (which may be not used at all).

Thanks,


Pino Toscano (8):
  builder: allow "no key" as key in Sigchecker
  builder: use Sigchecker.gpgkey_type for the fingerprint
  builder: add functions to read XDG_CONFIG_DIRS and XDG_CONFIG_PATH
  builder: extract the default key to file
  builder: switch sources to .conf files
  builder: remove VIRT_BUILDER_SOURCE and VIRT_BUILDER_FINGERPRINT
  builder: remove the default fingerprint/pubkey
  builder: update documentation

 .gitignore                                         |   3 +
 builder/Makefile.am                                |  10 +-
 builder/builder.ml                                 |  19 ++-
 builder/cmdline.ml                                 |  20 +--
 builder/libguestfs.conf.in                         |   3 +
 builder/libguestfs.gpg                             |  64 +++++++++
 builder/list_entries.ml                            |  22 ++-
 builder/list_entries.mli                           |   2 +-
 builder/paths.ml                                   |  15 ++
 builder/sigchecker.ml                              |  87 ++----------
 builder/sigchecker.mli                             |   3 +-
 builder/sources.ml                                 | 122 ++++++++++++++++
 builder/sources.mli                                |  25 ++++
 .../virt-builder/repos.d/test-index.conf.in        |   2 +
 builder/test-virt-builder-list.sh                  |   8 +-
 builder/test-virt-builder-planner.sh               |   2 +-
 builder/test-virt-builder.sh                       |   2 +-
 .../virt-builder/repos.d/libguestfs.conf.in        |   3 +
 builder/virt-builder.pod                           | 154 ++++++++++-----------
 configure.ac                                       |   9 ++
 po/POTFILES-ml                                     |   1 +
 run.in                                             |   6 +-
 22 files changed, 383 insertions(+), 199 deletions(-)
 create mode 100644 builder/libguestfs.conf.in
 create mode 100644 builder/libguestfs.gpg
 create mode 100644 builder/sources.ml
 create mode 100644 builder/sources.mli
 create mode 100644 builder/test-config/virt-builder/repos.d/test-index.conf.in
 create mode 100644 builder/test-website/virt-builder/repos.d/libguestfs.conf.in

-- 
1.8.3.1




More information about the Libguestfs mailing list