Comment 2 for bug 553616

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Hey pitti-

Question for you...

In testdrive's /etc/testdriverc file, there's a line that sets the target release code, for what is to be testdriven:

$ grep -n "r = .*lucid" /etc/testdriverc
60:r = "lucid"

After Lucid releases, and cdimage starts building whatever lucid+1 images are called, I'd like to bump this value in the conffile, such that people can use Lucid to testdrive Lucid+1.

Can I get this SRU'd easily enough? Or would it be better to build in logic like:
  wget -q -O- http://cdimage.ubuntu.com/daily/current/source/MD5SUMS | awk -F"[^0-9a-zA-Z ]" '{print $2}'

This is "smarter" in that it can figure out the new release, but that's a lot of network calls...

Or, better yet, do we have a "fast" way in python to query what the current development release's code name is?