addSources silently drops source names that haven't been seen anywhere in Launchpad before(could not add linux-meta-ti-omap to kernel/lucid package set)

Bug #546017 reported by Colin Watson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

$ lp-shell
>>> kernel_lucid = lp.packagesets.getByName(name='kernel', distroseries=lp.distributions['ubuntu'].getSeries(name_or_version='lucid'))
>>> sorted(kernel_lucid.getSourcesIncluded(direct_inclusion=True))
[u'linux', u'linux-backports-modules-2.6.22', u'linux-backports-modules-2.6.24', u'linux-backports-modules-2.6.27', u'linux-backports-modules-2.6.28', u'linux-backports-modules-2.6.30', u'linux-backports-modules-2.6.31', u'linux-backports-modules-2.6.32', u'linux-ec2', u'linux-firmware', u'linux-fsl-imx51', u'linux-kernel-headers', u'linux-lpia', u'linux-lpia-meta', u'linux-meta', u'linux-meta-ec2', u'linux-meta-fsl-imx51', u'linux-meta-mvl-dove', u'linux-meta-qcm-msm', u'linux-meta-rt', u'linux-mvl-dove', u'linux-ports', u'linux-ports-meta', u'linux-qcm-msm', u'linux-restricted-modules', u'linux-restricted-modules-2.6.15', u'linux-restricted-modules-2.6.22', u'linux-restricted-modules-2.6.24', u'linux-restricted-modules-rt', u'linux-rt', u'linux-source-2.6.15', u'linux-source-2.6.22', u'linux-ti-omap', u'linux-ubuntu-modules-2.6.22', u'linux-ubuntu-modules-2.6.24', u'lpia-linux-restricted-modules']
>>> kernel_lucid.addSources(names=['linux-meta-ti-omap'])
>>> sorted(kernel_lucid.getSourcesIncluded(direct_inclusion=True))
[u'linux', u'linux-backports-modules-2.6.22', u'linux-backports-modules-2.6.24', u'linux-backports-modules-2.6.27', u'linux-backports-modules-2.6.28', u'linux-backports-modules-2.6.30', u'linux-backports-modules-2.6.31', u'linux-backports-modules-2.6.32', u'linux-ec2', u'linux-firmware', u'linux-fsl-imx51', u'linux-kernel-headers', u'linux-lpia', u'linux-lpia-meta', u'linux-meta', u'linux-meta-ec2', u'linux-meta-fsl-imx51', u'linux-meta-mvl-dove', u'linux-meta-qcm-msm', u'linux-meta-rt', u'linux-mvl-dove', u'linux-ports', u'linux-ports-meta', u'linux-qcm-msm', u'linux-restricted-modules', u'linux-restricted-modules-2.6.15', u'linux-restricted-modules-2.6.22', u'linux-restricted-modules-2.6.24', u'linux-restricted-modules-rt', u'linux-rt', u'linux-source-2.6.15', u'linux-source-2.6.22', u'linux-ti-omap', u'linux-ubuntu-modules-2.6.22', u'linux-ubuntu-modules-2.6.24', u'lpia-linux-restricted-modules']

The addSources call seems to have had no effect. How can I grant the kernel team the ability to upload this package?

This is a reduction of a more elaborate program, namely edit_acl.py in lp:ubuntu-archive-tools; I was calling it as './edit_acl.py -P kernel -S lucid -s linux-meta-ti-omap' add. Most of the other packages in this list were added in the same way; I haven't changed my process recently, as far as I can remember.

Revision history for this message
William Grant (wgrant) wrote :

The package was only published in Ubuntu some 20 hours after this bug was reported. addSources silently drops source names that haven't been seen anywhere in Launchpad before -- could that have been the case here?

Changed in soyuz:
status: New → Incomplete
Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 546017] Re: can't add linux-meta-ti-omap to kernel/lucid package set

Yes, it may well have been the case (and indeed it works now) - but
urgh. Would it be possible to lift this restriction? It would save on
a good deal of sponsoring of initial versions of packages, certainly for
the kernel team but possibly others too.

Also, the silent failure seems like a clear bug.

Revision history for this message
William Grant (wgrant) wrote : Re: can't add linux-meta-ti-omap to kernel/lucid package set

Oh yes, it should definitely be fixed. I was just proposing a theory for what the actual bug was. It will require a rewrite of the method, but it's not difficult.

Changed in soyuz:
status: Incomplete → Triaged
importance: Undecided → Medium
tags: added: packagesets
summary: - can't add linux-meta-ti-omap to kernel/lucid package set
+ addSources silently drops source names that haven't been seen anywhere
+ in Launchpad before(could not add linux-meta-ti-omap to kernel/lucid
+ package set)
Changed in launchpad:
importance: Medium → Low
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.