initialise-from-parent blindly copies PARTNER archive

Bug #239807 reported by Celso Providelo
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Steve Kowalik

Bug Description

When copying sources from the parent.distroseries to the current one i-f-p creates a PARTNER archive if it doesn't exist.

This will become a problem when distroseries from other distributions derive from ubuntu ones, the current code will blindly copy PARTNER packages and the canonical ISVs will be upset ;)

This part of the code needs to be revised before we start hosting ubuntu derivations in soyuz

Related branches

Changed in soyuz:
status: New → Triaged
importance: Undecided → High
tags: added: partner
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Steve Kowalik (stevenk)
Changed in soyuz:
assignee: nobody → Steve Kowalik (stevenk)
milestone: none → 10.09
status: Triaged → Fix Committed
Revision history for this message
Steve Kowalik (stevenk) wrote :

I have QA'd this on dogfood by creating a new distroseries for Ubuntu, called nobby, and after doing some surgery on maverick (emptying queues, and disabling pending builds), I ran 'scripts/ftpmaster-tools/initialise-from-parent.py -a i386,amd64,powerpc,sparc nobby'.

The initialise-from-parent script no longer copies PARTNER packages either.

With one small database permission caveat that I have prepared a branch for, everything looks to have been copied fine.

Looking at the nobby distroseries page after initialisation showed me that the packaging links had been copied. After running 'cronscripts/update-pkgcache.py', the nobby distroseries page showed package counts and everything else expected.

I have verified that source packages, binary packages, packagesets and their related archivepermissions have been copied from maverick to nobby via SQL.

I have also had Julian check the new distroseries, and he agrees it has been initialised correctly.

tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
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.