[Libguestfs] [PATCH] Differentiate 'distro' and 'distrofamily' in Sys::Guestfs::Lib

Richard W.M. Jones rjones at redhat.com
Fri Jul 17 11:21:33 UTC 2009


On Fri, Jul 17, 2009 at 12:06:31PM +0100, Matthew Booth wrote:
> On 17/07/09 11:21, Daniel P. Berrange wrote:
>> IMHO doing this is a big mistake. This is what we did for virt-install
>> and hugely regret it. Things just don't fall into a nice hierarchy. We
>> are now looking at doing a flat list of distros + tagging/categorization
>> relationships to be defined.
>>
>>   http://www.redhat.com/archives/et-mgmt-tools/2009-June/msg00018.html
>
> Thanks, Dan.
>
> What problems did you hit? I'm inclined to think I might get away with  
> it for virt-v2v because we also have so much other additional info about  
> the system. So far, 'redhat' pretty much means it uses rpm rather than  
> anything else.

How about instead of "distrofamily" we add flags to tell us what
we actually want to know:

  uses_rpm
  uses_dpkg

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list