Partner uploads referring to an existing .orig file won't find it

Bug #456551 reported by Julian Edwards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Muharem Hrnjadovic

Bug Description

Culprit code here:

lib/lp/archiveuploader/dscfile.py:
        if (self.policy.archive.purpose == ArchivePurpose.PPA and
            filename.endswith('.orig.tar.gz')):
            archives = [self.policy.archive, self.policy.distro.main_archive]
        else:
            archives = [self.policy.archive]

i.e. the archive used is the one set in the policy, however this code runs before the archive is overridden in the policy for partner uploads.

Related branches

Revision history for this message
Julian Edwards (julian-edwards) wrote :

We can probably use self.policy.distro.all_distro_archives instead of self.policy.distro.main_archive

Changed in soyuz:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Julian Edwards (julian-edwards)
milestone: none → 3.1.10
tags: added: soyuz-upload trivial
Changed in soyuz:
assignee: Julian Edwards (julian-edwards) → Muharem Hrnjadovic (al-maisan)
importance: Low → Medium
Revision history for this message
Julian Edwards (julian-edwards) wrote :

This won't make 3.1.10 unfortunately.

Changed in soyuz:
milestone: 3.1.10 → 3.1.11
status: Triaged → In Progress
Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit
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.