cron.germinate change to avoid hardcoding URLs

Bug #189904 reported by Colin Watson
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Celso Providelo

Bug Description

I have a cron.germinate change I need to sync up with distro-side seed changes. Right now it's blocked on germinate 0.11ubuntu10 being installed on drescher, but James has promised me that LaMont will do that today once he wakes up.

Historically, the seeds have been one Bazaar branch for each of Ubuntu, Kubuntu, etc.; there are a lot of items that are common to these branches, for instance Ubuntu and Kubuntu have the exact same base system. There are also quite a lot of common bits in the desktop and such, so this has led to a lot of merging back and forth, which is essentially busy-work.

As part of some features we're trying to land for 8.04, we've arranged for it to be possible for one seed branch to include another, so we can have a "platform" branch with all the common stuff; have Edubuntu include Ubuntu and add some extra stuff; and so on. germinate knows how to handle all this stuff now. However, there's one small glitch, in that cron.germinate used to have to fetch some bits it needed from more or less hardcoded URLs in the seeds. I've arranged for germinate to output the files it needs (the last such change is going through IS now) and would like to have cron.germinate use those outputs instead.

The attached patch implements this. I've discussed this with Kiko with a view to asking for a cherrypick. I've tested it myself to ensure that it produces the exact same output in ubuntu-misc as before, but would welcome thoughts on testing it more routinely.

Tags: lp-soyuz
Revision history for this message
Colin Watson (cjwatson) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

LaMont has now installed the necessary version of germinate on drescher and mawson.

Revision history for this message
Colin Watson (cjwatson) wrote :

After asking Celso to help me get an up-to-date publisher run on mawson:

cjwatson@mawson:~/test$ ./cron.germinate
Running germinate... ................................... done.
cjwatson@mawson:~/test$ diff -u /srv/launchpad.net/ubuntu-archive/ubuntu-misc/more-extra.override.hardy.main ubuntu-misc/more-extra.override.hardy.main
cjwatson@mawson:~/test$

The only change applied to cron.germinate beyond the patch I posted earlier was this one to let me test it as my ordinary user on mawson rather than as launchpad:

--- cron.germinate.orig 2008-02-07 12:55:05.000000000 +0000
+++ cron.germinate 2008-02-07 13:46:38.000000000 +0000
@@ -4,9 +4,9 @@
 set -u

 ARCHIVEROOT=/srv/launchpad.net/ubuntu-archive/ubuntu
-MISCROOT=$ARCHIVEROOT/../ubuntu-misc
-LOCKROOT=$ARCHIVEROOT/..
-GERMINATEROOT=$ARCHIVEROOT/../ubuntu-germinate
+MISCROOT=/home/cjwatson/test/ubuntu-misc
+LOCKROOT=/home/cjwatson/test
+GERMINATEROOT=/home/cjwatson/test/ubuntu-germinate

 ## Check to see if another germinate run is in progress

@@ -22,8 +22,7 @@

 trap cleanup EXIT

-LAUNCHPADROOT=/srv/launchpad.net/codelines/current
-suite=`$LAUNCHPADROOT/scripts/ftpmaster-tools/lp-query-distro.py development`
+suite=hardy

 echo -n "Running germinate... "
 cd $GERMINATEROOT

Celso Providelo (cprov)
Changed in soyuz:
assignee: nobody → cprov
milestone: none → 1.2.2
status: New → In Progress
Revision history for this message
Celso Providelo (cprov) wrote :

RF5633

Changed in soyuz:
importance: Undecided → High
status: In Progress → Fix Committed
Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.