Re: [PATCH 5 of 5] Package/unpackage an image for distribution

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

 



On Thu, 2007-12-13 at 10:28 +0000, Mark McLoughlin wrote:
> On Wed, 2007-12-12 at 18:24 -0800, David Lutterkort wrote:
> 
> > Package/unpackage an image for distribution
> 
> 	Interesting ... one thought is that you should expose the Package[1]
> class, and an UnWarePackage sub-class, from virtinst instead of UnWare.
> Also, I'd really only expect a single public Package method - pack().
> 
> 	Basically, I'm thinking about how the likes of livecd's image-creator
> could use this stuff.

Yeah, I structured it that way because I didn't think there would be
many users for it - how would you include that with image-creator ? Are
you thinking of doing the image creation soup-to-nuts (kickstart to
tarball, really) in one big jump ?

> [1] - Also, I don't think it's usual for constructors to raise
> exceptions ... I think constructors are always supposed to be safe in
> python

Yeah, it's lame .. I'll make it a factory method

David


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

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux