[virt-bootstrap] [PATCH v4 00/26] Add support for virt-builder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This version of the patch series includes a patch in tox.ini which
enables sitepackages and unit tests for Build_QCOW2_Image.

This patch series includes already acknowledged commits because they are
related to the other patches.

ACKed commits:

 - 1/26 sources: Set default format with a constant
 - 2/26 sources: Use default values of arguments
 - 3/26 Split 'sources' module into files
 - 5/26 setup: Use find_packages()
 - 6/26 Split 'sources' module into files
 - 15/26 Make UID/GID mapping reusable
 - 16/26 Split the function mapping_uid_gid
 - 17/26 Enable UID/GID mapping for qcow2

Radostin Stoyanov (26):
  sources: Set default format with a constant
  sources: Use default values of arguments
  tests: Remove redundant arguments
  Use explicit import
  setup: Use find_packages()
  Split 'sources' module into files
  tox: Enable sitepackages
  Add guestfs-python dependency
  DockerSoure: Keep list of tar files for image
  Make the code get compression type reusable
  Create qcow2 images with python-guestfs
  tests: Add unit tests for Build_QCOW2_Image
  Use libguestfs python's binding
  Drop unused functions
  Make UID/GID mapping reusable
  Split the function mapping_uid_gid
  Enable UID/GID mapping for qcow2
  Simplify setting permissins of shadow file
  Make set_root_password_in_rootfs reusable
  Build_QCOW2_Image: Enable setting root password
  Use Build_QCOW2_Image to set root password
  Add flag --faster
  tests: Update tests for untar()
  sources: Add support for virt-builder
  tests: DockerSource for fmt='qcow2'
  tests: FileSource for fmt='qcow2'

 MANIFEST.in                                        |   3 +-
 setup.py                                           |  23 +-
 src/virtBootstrap/sources/__init__.py              |  27 ++
 .../{sources.py => sources/docker_source.py}       | 102 ++---
 src/virtBootstrap/sources/file_source.py           |  88 ++++
 src/virtBootstrap/sources/virt_builder_source.py   | 134 ++++++
 src/virtBootstrap/utils.py                         | 469 +++++++++++++++------
 src/virtBootstrap/virt_bootstrap.py                | 100 +----
 tests/test_build_qcow2_image.py                    | 426 +++++++++++++++++++
 tests/test_docker_source.py                        | 113 ++---
 tests/test_file_source.py                          |  51 ++-
 tests/test_utils.py                                | 424 ++++++++++---------
 tests/test_virt_bootstrap.py                       | 176 +-------
 tox.ini                                            |   2 +
 14 files changed, 1424 insertions(+), 714 deletions(-)
 create mode 100644 src/virtBootstrap/sources/__init__.py
 rename src/virtBootstrap/{sources.py => sources/docker_source.py} (80%)
 create mode 100644 src/virtBootstrap/sources/file_source.py
 create mode 100644 src/virtBootstrap/sources/virt_builder_source.py
 create mode 100644 tests/test_build_qcow2_image.py

-- 
2.13.3

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux