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

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

 



On Fri, Aug 28, 2015 at 01:47:29PM +0000, Eren Yagdiran wrote:
> From: Daniel P Berrange <berrange@xxxxxxxxxx>
> 
> 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 :|

--
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]