Add Natty to the list of known distros

Bug #668764 reported by Bilal Akhtar
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bzr-builddeb
Fix Released
High
Bilal Akhtar
bzr-builddeb (Ubuntu)
Fix Released
Medium
Bilal Akhtar
Maverick
Fix Released
Medium
Bilal Akhtar
Natty
Fix Released
Medium
Bilal Akhtar

Bug Description

Currently, if I run bzr bd -S --package-merge and the changelog targets Natty, then builddeb outputs an error, saying:

ERROR: Unknown Distribution: natty

Calling builddeb without the --package-merge flag works fine.

To work around this problem, I have to manually add the -v flag to the end of the bzr bd call as I am not able to enjoy the convenience of --package-merge.

TEST CASE: 1) Install the package from maverick-proposed.
2) Do a package merge from Debian by following the instructions at https://wiki.ubuntu.com/DistributedDevelopment/Documentation/Merging .
3) Make sure the latest changelog entry targets natty and then run bzr bd -S --package-merge (as specified in the UDD merging documentation in the link above.)

VERIFICATION DONE: The source package build should run perfectly fine (the 'Unknown Distribution' error shouldn't come), and the generated *_source.changes file should contain the changes from the last Ubuntu upload.

description: updated
Changed in bzr-builddeb:
assignee: nobody → Bilal Akhtar (bilalakhtar)
status: New → In Progress
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Linked branch fixes issue.

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Should we SRU this?

Changed in bzr-builddeb (Ubuntu):
assignee: nobody → Bilal Akhtar (bilalakhtar)
importance: Undecided → Low
milestone: none → maverick-updates
status: New → In Progress
Changed in bzr-builddeb:
status: In Progress → Fix Committed
Changed in bzr-builddeb (Ubuntu Natty):
assignee: Bilal Akhtar (bilalakhtar) → nobody
importance: Low → Medium
milestone: maverick-updates → none
status: In Progress → Triaged
Changed in bzr-builddeb (Ubuntu Maverick):
assignee: nobody → Bilal Akhtar (bilalakhtar)
importance: Undecided → Medium
milestone: none → maverick-updates
status: New → In Progress
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

SRU team,
Is this suitable for an SRU? The patch could be very useful for developers new to UDD, and also the change would be tiny enough to avoid regressions.

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Uploaded to natty and maverick-proposed.

Changed in bzr-builddeb (Ubuntu Natty):
assignee: nobody → Bilal Akhtar (bilalakhtar)
Changed in bzr-builddeb (Ubuntu Maverick):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bzr-builddeb - 2.6ubuntu1

---------------
bzr-builddeb (2.6ubuntu1) natty; urgency=low

  * util.py: Add 'natty' to the list of Ubuntu releases, so that bzr-builddeb
    can find out the last Ubuntu upload easily rather than give an error
    when builddeb is called with the --package-merge argument. (LP: #668764)
 -- Bilal Akhtar <email address hidden> Sat, 06 Nov 2010 17:23:53 +0300

Changed in bzr-builddeb (Ubuntu Natty):
status: Triaged → Fix Released
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted bzr-builddeb into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
description: updated
Revision history for this message
Nobuto Murata (nobuto) wrote :

The -proposed package works fine.

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

This bug was fixed in the package bzr-builddeb - 2.6ubuntu0.1

---------------
bzr-builddeb (2.6ubuntu0.1) maverick-proposed; urgency=low

  * util.py: Add 'natty' to the list of Ubuntu releases, so that bzr-builddeb
    can find out the last Ubuntu upload easily rather than give an error
    when builddeb is called with the --package-merge argument. (LP: #668764)
 -- Bilal Akhtar <email address hidden> Sat, 06 Nov 2010 16:42:35 +0300

Changed in bzr-builddeb (Ubuntu Maverick):
status: Fix Committed → Fix Released
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
importance: Undecided → High
Max Bowsher (maxb)
Changed in bzr-builddeb:
milestone: none → 2.7
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: Fix Committed → Fix Released
tags: added: testcase
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.