[Bug 530344] Re: dependency devscripts is too heavy

2010-04-20 Thread Simon Huerlimann
*** This bug is a duplicate of bug 560686 ***
https://bugs.launchpad.net/bugs/560686

** This bug has been marked a duplicate of bug 560686
   Shouldn't use rmadison

-- 
dependency devscripts is too heavy
https://bugs.launchpad.net/bugs/530344
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 530344] Re: dependency devscripts is too heavy

2010-03-02 Thread Loïc Minier
I noticed the same issue WRT the dependency, thanks for actually filing
a bug!

In terms of fixing it:
- ideally, but this is my personal opinion, this would be done in the 
guest/chroot at image creation time, and we wouldn't have to compute this from 
the host; just defer to when we have the packages lists
- if that's not possible, use urllib2 and parse packages.gz with python-apt; 
see suite-diff for some sample code parsing packages.gz

Note that the latter will actually bypass GPG verification; it would be
nice to GPG verify the Packages.gz... even if currently rmadison is
completely untrustable.

suite-diff sample code:
https://code.launchpad.net/~cjwatson/+junk/suite-diff

-- 
dependency devscripts is too heavy
https://bugs.launchpad.net/bugs/530344
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 530344] Re: dependency devscripts is too heavy

2010-03-01 Thread Soren Hansen
vmbuilder uses rmadison which is in devscripts.

-- 
dependency devscripts is too heavy
https://bugs.launchpad.net/bugs/530344
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 530344] Re: dependency devscripts is too heavy

2010-03-01 Thread Simon Huerlimann
Okay, thanx for the quick response!

A quick check showed that rmadison is called in the python script
VMBuilder/plugins/ubuntu/distro.py, where it is used to get the version
of the xen kernel. (Hehe, just drop the xen support, karmic not being a
nice Xen citizen anyway;-)

I've dug into the rmadison source and it's more or less a lot of documentation 
and option parsing. It all boils down to a simple:
wget -q -O - 
'http://people.canonical.com/~ubuntu-archive/madison.cgi?package=linux-image-FLAVORtext=on'

The only drawback I can see using this is a dependency on (priority
standard) package wget and the missing abstraction level. But I doubt
the URL or the result format will ever change concerning the widespread
deployment of current versions of rmadison.

Do you think it would be sensible to replace the call to rmadison with a
pythonized version of above wget call?

-- 
dependency devscripts is too heavy
https://bugs.launchpad.net/bugs/530344
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs