[PATCH sandbox 00/24] Add support for docker v2 registry

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

 



I was on the verge of doing a release of libvirt-sandbox to
include the docker/virt-builder support when I discovered
it didn't work with many new images since docker is only
exposing them over its v2 registry API. Hence this series
to add support for the v2 API. It also includes a tonne of
fixes for bugs encountered during debugging, and adds a
new 'list' command for virt-sandbox-image so you can actally
see what you have downloaded :-)

Daniel P. Berrange (24):
  Remove transfer annotations on scalar parameters
  Improve error message for unsupported URIs
  init: search $PATH for user specified binary
  image: rename python source impl modules
  image: remove execute permission from cli.py
  image: add support for --debug arg
  image: don't assume ValueError has a multi-line message
  image: check for errors running mkfs / virt-sandbox
  virt-builder: check exit status of commands run
  virt-builder: disable setup of network for virt-builder
  docker: check exit status of qemu-img command
  docker: rename destdir to templatedir
  docker: Remove duplicated call to download_template
  docker: add missing hashlib import statement
  docker: fix download progress target value
  docker: remove unused variables & code in download method
  docker: introduce a DockerImage class
  docker: fix setting of Accept header
  docker: refactor authentication method handling
  docker: introduce a DockerRegistry class
  docker: refactor download method exception handling
  docker: implement support for oauth
  docker: add support for v2 registry server
  image: add 'list' command for viewing local templates

 libvirt-sandbox/image/cli.py                       |  76 ++-
 libvirt-sandbox/image/sources/DockerSource.py      | 407 ------------
 libvirt-sandbox/image/sources/Makefile.am          |   6 +-
 .../image/sources/{Source.py => base.py}           |  14 +-
 libvirt-sandbox/image/sources/docker.py            | 683 +++++++++++++++++++++
 .../{VirtBuilderSource.py => virtbuilder.py}       |  34 +-
 libvirt-sandbox/image/template.py                  |  32 +-
 .../libvirt-sandbox-config-interactive.c           |   4 +-
 .../libvirt-sandbox-config-network-route.c         |   2 +-
 libvirt-sandbox/libvirt-sandbox-config.c           |  16 +-
 .../libvirt-sandbox-context-interactive.c          |   6 +-
 libvirt-sandbox/libvirt-sandbox-init-common.c      |   2 +-
 12 files changed, 818 insertions(+), 464 deletions(-)
 mode change 100755 => 100644 libvirt-sandbox/image/cli.py
 delete mode 100644 libvirt-sandbox/image/sources/DockerSource.py
 rename libvirt-sandbox/image/sources/{Source.py => base.py} (93%)
 create mode 100644 libvirt-sandbox/image/sources/docker.py
 rename libvirt-sandbox/image/sources/{VirtBuilderSource.py => virtbuilder.py} (76%)

-- 
2.7.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]