[libvirt] [sandbox PATCH v4 01/21] Add virt-sandbox-image

Daniel P. Berrange berrange at redhat.com
Mon Sep 7 12:36:47 UTC 2015


On Fri, Aug 28, 2015 at 01:47:29PM +0000, Eren Yagdiran wrote:
> From: Daniel P Berrange <berrange at redhat.com>
> 
> virt-sandbox-image.py is a python script that lets you download Docker
> images easily. It is a proof of concept code and consumes Docker Rest API.
> ---
>  po/POTFILES.in                           |   1 +
>  virt-sandbox-image/virt-sandbox-image.py | 394 +++++++++++++++++++++++++++++++
>  2 files changed, 395 insertions(+)
>  create mode 100644 virt-sandbox-image/virt-sandbox-image.py

I'm thinking that this file would be better off going in

   libvirt-sandbox/image/cli.py

and then adding a bin/virt-sandbox-image file that merely does

  #!/usr/bin/python
  # -*- coding: utf-8 -*-

  from libvirt_sandbox.image import cli
  import sys

  if __name__ == '__main__':
     sys.exit(cli.main())

and also updating libvirt-sandbox.spec.in to hold the new file


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list