support new multi-distribution PPA upload path

Bug #1340130 reported by Colin Watson
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dput (Ubuntu)
Fix Released
High
Colin Watson
Trusty
Fix Released
High
Colin Watson
dput-ng (Debian)
Fix Released
Unknown
dput-ng (Ubuntu)
Fix Released
High
Scott Kitterman
Trusty
Fix Released
High
Scott Kitterman

Bug Description

Since http://bazaar.launchpad.net/+branch/launchpad/revision/17093, Launchpad has supported a new form for the PPA upload path, ~<person>/<distro>/<ppa>. This helps with some prior ambiguities and so works better with non-Ubuntu PPAs, which we're going to need for the Ubuntu phone RTM project in a month or two. However, it clashes with the current contents of dput.cf, namely "~%(ppa)s/ubuntu"; if you try to upload to ppa:~person/ubuntu/ppa-name, then this expands to ~person/ubuntu/ppa-name/ubuntu and goes wrong.

We can reasonably safely drop the trailing "/ubuntu" here. Uploading to ppa:~person/ppa-name still works fine. The only casualty is that uploading to ppa:~person will fail rather than expanding to the PPA named "ppa" for that person; however, multiple PPAs have been a thing for many years now, so I think most people have got used to specifying the PPA name. If not, it's an easy adjustment to make.

Similarly, the preferred upload path for the Ubuntu primary distribution is now "/ubuntu" rather than "/".

As well as fixing this in utopic, I think we should SRU this back to trusty to support people doing phone development there. Given the audience it's probably not necessary to update earlier releases.

Colin Watson (cjwatson)
Changed in dput (Ubuntu Trusty):
assignee: nobody → Colin Watson (cjwatson)
Changed in dput (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → High
Changed in dput (Ubuntu Trusty):
importance: Undecided → High
Changed in dput (Ubuntu):
status: New → Fix Committed
Changed in dput (Ubuntu Trusty):
status: New → Triaged
Colin Watson (cjwatson)
Changed in dput (Ubuntu Trusty):
status: Triaged → In Progress
tags: added: phone-rtm
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dput - 0.9.6.4ubuntu2

---------------
dput (0.9.6.4ubuntu2) utopic; urgency=medium

  * dput.cf: Drop trailing "/ubuntu" from ppa stanza, to support the new
    form of the upload path needed for PPAs based on derived distributions
    (LP: #1340130).
 -- Colin Watson <email address hidden> Thu, 10 Jul 2014 11:48:28 +0100

Changed in dput (Ubuntu):
status: Fix Committed → Fix Released
Changed in dput-ng (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Scott Kitterman (kitterman)
Changed in dput-ng (Ubuntu Trusty):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Scott Kitterman (kitterman)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dput-ng - 1.7ubuntu1

---------------
dput-ng (1.7ubuntu1) utopic; urgency=medium

  * Drop trailing "/ubuntu" from ppa stanza, to support the new form of the
    upload path needed for PPAs based on derived distributions. Also switch
    ubuntu stanza to upload to "/ubuntu" rather than "/" (LP: #1340130)
    - Changes shamelessly cribbed from Colin Watson's dput update
 -- Scott Kitterman <email address hidden> Sat, 12 Jul 2014 01:27:34 -0400

Changed in dput-ng (Ubuntu):
status: In Progress → Fix Released
Changed in dput-ng (Debian):
status: Unknown → Fix Committed
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Colin, or anyone else affected,

Accepted dput into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/dput/0.9.6.4ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in dput (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Chris J Arges (arges) wrote :

Hello Colin, or anyone else affected,

Accepted dput-ng into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/dput-ng/1.7ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in dput-ng (Ubuntu Trusty):
status: In Progress → Fix Committed
Changed in dput-ng (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

I've been using this dput change for ages; I just tried dput-ng and that looks fine too.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dput - 0.9.6.4ubuntu1.1

---------------
dput (0.9.6.4ubuntu1.1) trusty; urgency=medium

  * dput.cf: Drop trailing "/ubuntu" from ppa stanza, to support the new
    form of the upload path needed for PPAs based on derived distributions.
    Also switch ubuntu stanza to upload to "/ubuntu" rather than "/"
    (LP: #1340130).
 -- Colin Watson <email address hidden> Thu, 10 Jul 2014 12:00:29 +0100

Changed in dput (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of the Stable Release Update for dput has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dput-ng - 1.7ubuntu0.1

---------------
dput-ng (1.7ubuntu0.1) trusty; urgency=medium

  * Drop trailing "/ubuntu" from ppa stanza, to support the new form of the
    upload path needed for PPAs based on derived distributions. Also switch
    ubuntu stanza to upload to "/ubuntu" rather than "/" (LP: #1340130)
    - Changes shamelessly cribbed from Colin Watson's dput update
 -- Scott Kitterman <email address hidden> Sat, 12 Jul 2014 01:27:34 -0400

Changed in dput-ng (Ubuntu Trusty):
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.