change-override can't handle pockets

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

Bug Description

We'd like to move python-vte to main in breezy-updates, so that mvo's new dist-upgrade tool can easily be made available there to users wanting to upgrade to dapper. However:

lp_archive@drescher:/tmp/cjwatson$ python /srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/change-override.py -n -s breezy-updates -c main -S python-vte
Traceback (most recent call last):
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/change-override.py", line 201, in ?
    sys.exit(main())
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/change-override.py", line 181, in main
    arguments = init()
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/change-override.py", line 137, in init
    Options.distrorelease = Options.distro.getRelease(Options.distrorelease)
  File "../../canonical/launchpad/database/distribution.py", line 244, in getRelease
canonical.launchpad.interfaces.launchpad.NotFoundError: 'breezy-updates'

Could you either (a) make it look for pockets such as breezy-updates automatically when using -s or (b) add a new command-line option to control which pocket it looks in? I don't mind which.

Tags: lp-soyuz
Christian Reis (kiko)
Changed in launchpad-upload-and-queue:
status: Unconfirmed → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

We would like to get the update-manager backport into breezy-updates soon to get more testing for the upgrade process (the update-manager will have a switch to allow upgrades to dapper).

This problem blocks a upload currently because pyton-vte is now a dependency for update-manager and people without universe in their brezy-updates line in the sources.list (the default) will not be able to upgrade.

Is there a (rough) estimation how difficult it is to fix this problem?

Thanks,
 Michael

Colin Watson (cjwatson)
Changed in launchpad-upload-and-queue:
assignee: nobody → elmo
Revision history for this message
Celso Providelo (cprov) wrote :

I will add support for full suite (-s) term, as: breezy (RELEASED), breezy-updates (UPDATES) and so on.

Changed in launchpad-upload-and-queue:
assignee: elmo → cprov
status: Confirmed → In Progress
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks a million for working on this :)

Revision history for this message
Daniel Silverstone (dsilvers) wrote :

‎This bug turns out to be deeper rooted that simply the frontend script. It will require extensive work to the package metaclasses in the launchpad database layer in order to permeate pocket support through the various layers used by the override system.

As a result, I will perform a manual database intervention to effect this override change for now.

After discussion with Colin Watson, I am thus lowering the priority of this bug and setting Celso to work on other issues for now. This is not a priority since the bug affects very rare circumstances which we can work around for now.

Changed in launchpad-upload-and-queue:
status: In Progress → Confirmed
Revision history for this message
Celso Providelo (cprov) wrote :

It's impossible to navigate across copies in different pockets using the source package classes (they simply don't support pockets). The quickest solution might be porting change-override to use SoyuzScript, which used the Archive source-lookup API.

Changed in soyuz:
milestone: none → 2.1.9
status: Confirmed → Triaged
Celso Providelo (cprov)
Changed in soyuz:
milestone: 2.1.9 → 2.1.10
Changed in soyuz:
milestone: 2.1.10 → pending
Celso Providelo (cprov)
Changed in soyuz:
milestone: pending → 2.1.11
status: Triaged → In Progress
Revision history for this message
Celso Providelo (cprov) wrote :

RF 7263

Changed in soyuz:
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.