InitialiseDistroSeries should not copy disabled DASes

Bug #649717 reported by Steve Kowalik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Undecided
Steve Kowalik

Bug Description

InitialiseDistroSeries currently copies all of the DASes for the parent series unless it is instructed otherwise. It should not copy disabled DASes to the child.

Tags: lp-soyuz qa-ok

Related branches

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

I have QA'd this branch on dogfood using the following script:

import transaction
from zope.component import getUtility
from lp.registry.interfaces.person import IPersonSet
from lp.registry.interfaces.distribution import IDistributionSet
from lp.soyuz.scripts.initialise_distroseries import InitialiseDistroSeries

maverick = getUtility(IDistributionSet)['ubuntu']['maverick']
soyuz_team = getUtility(IPersonSet).getByName('soyuz-team')
deribuntu = getUtility(IDistributionSet)['deribuntu']
text = 'The Insane Deribuntu'
insane = deribuntu.newSeries('insane', text, text, text, text, '11.02', maverick, soyuz_team)

ids = InitialiseDistroSeries(insane, arches=('i386', 'ia64'), packagesets=('kernel',), rebuild=False)
ids.check()
ids.initialise()
transaction.commit()
insane.updatePackageCount()

This created a derivate distribution that contained 20 source packages, 145 binary packages and only one DAS (i386)

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.