more-extra.override.* generation doesn't match use

Bug #966092 reported by Colin Watson
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Colin Watson

Bug Description

The easiest way to illustrate this bug is probably by way of a grep for "more-extra.override":

./cronscripts/publishing/cron.germinate:44: SUPPORTED="$MISCROOT/more-extra.override.$supported_suite.main.supported"
./cronscripts/publishing/cron.germinate:47: TARGET="$MISCROOT/more-extra.override.$supported_suite.main"
./lib/lp/archivepublisher/tests/ "more-extra.override.%s.main" %
./lib/lp/archivepublisher/tests/ "more-extra.override.%s.main" %
./lib/lp/archivepublisher/tests/ "more-extra.override.%s.main" % series_name)
./lib/lp/archivepublisher/model/ "more-extra.override.%s.%s" % (distroseries, component))
./lib/lp/archivepublisher/model/ "more-extra.override.%s.%s" % (unpocketed_series, component))
./lib/lp/archivepublisher/scripts/ "more-extra.override.%s.main" % series_name)
./lib/lp/soyuz/scripts/tests/ "more-extra.override.%s.main" % dist),
./lib/lp/soyuz/scripts/tests/ "more-extra.override.%s.main.supported" % dist)
./lib/lp/soyuz/scripts/tests/ "more-extra.override.%s.main" % dist)
./lib/lp/soyuz/scripts/tests/ self.ubuntu_misc_dir, "more-extra.override.lucid.main")

Notice how almost all of these are always "more-extra.override.%s.main", including lib/lp/archivepublisher/scripts/ and cronscripts/publishing/cron.germinate which are responsible for generating this file. It'd be pretty cumbersome to try to generate these files per-component, and so far it hasn't been necessary; entries for packages which aren't in the component apt-ftparchive is looking at are just ignored.

However, the problem is that lib/lp/archivepublisher/model/ looks for "more-extra.override.%s.%s", where the second %s may not be "main". Currently, we work around this with the following entry in

  "Create symbolic links /srv/ -> more-extra.override.DSN.main, /srv/ -> more-extra.override.DSN.main, and /srv/ -> more-extra.override.DSN.main on cocoplum, where DSN is the new distroseries name."

This is obviously insanely cumbersome, though, and I'd like to get rid of this step. I think the simplest approach would just be to make match the generation code and use "more-extra.override.%s.main". This approach demonstrably works fine as it's essentially what we've been doing for years, only by way of symlink hacks rather than fixing the code.

Related branches

Colin Watson (cjwatson)
Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

I decided it would make more sense to do the QA on oneiric, rather than on precise as in the MP, since oneiric is the development release on dogfood.

I ran '/srv/ -s oneiric -x kernel -y linux-image-3.0.0-11-generic' to cheaply create a publication record, and then ran 'LPCONFIG=dogfood-publish /srv/ -v -d ubuntu >> /srv/ 2>&1'.

After this, the "Package: caps" stanza in /srv/ does indeed regain its missing "Task: ubuntustudio-audio-plugins" field, and a quick visual check of Task fields elsewhere looks generally sensible. So I think this is qa-ok.

tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
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