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-FLAVOR&text=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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to