pull-debian-source should fail gracefully if a package is not in testing

Bug #529041 reported by Ryan Kavanagh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Wishlist
Marco Rodrigues

Bug Description

Binary package hint: ubuntu-dev-tools

pull-debian-source tries to download a package from Debian testing by default. If a package is not available in testing, it prints:
% pull-debian-source turnin-ng
Could Not Get http://qa.debian.org/madison.php?text=on&package=turnin-ng&s=testing at /usr/bin/pull-debian-source line 84

Rather, it should print a message along the lines:
"""
The source package turnin-ng is not available in Debian testing. Run
   pull-debian-source turnin-ng unstable
if the package has not yet migrated from Debian unstable to Debian testing.
"""

Ryan Kavanagh (ryanakca)
Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Changed in ubuntu-dev-tools (Ubuntu):
assignee: nobody → Marco Rodrigues (gothicx)
status: Confirmed → In Progress
Changed in ubuntu-dev-tools (Ubuntu):
status: In Progress → Confirmed
Benjamin Drung (bdrung)
Changed in ubuntu-dev-tools (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.105

---------------
ubuntu-dev-tools (0.105) experimental; urgency=low

  [ Siegfried-Angel Gevatter Pujals ]
  * pbuilder-dist, doc/pbuilder-dist.1:
     - Export the distribution and architecture information to the environment
       so that it is available in pbuilderrc, etc. (LP: #628933).

  [ Naty Bidart ]
  * lp-project-upload: Add support handling multiple project series.

  [ Kees Cook ]
  * mk-sbuild: use --no-install-recommends on Debian too (Closes: #599699).

  [ Marco Rodrigues ]
  * pull-debian-source:
     - Show message when a package isn't in Debian testing (LP: #529041).

  [ Stefano Rivera ]
  * doc/syncpackage.1:
     - Add a warning that the use of syncpackage is discouraged.
     - Correct and neaten options.
  * syncpackage:
     - Add --dont-sign parameter, for test builds.

  [ Christopher James Halse Rogers ]
  * mk-sbuild: Add support for btrfs-snapshot based chroots

  [ Iain Lane ]
  * pbuilder-dist: Explicitly use debian keyring when working with a
    Debian chroot, working around #599695

  [ Benjamin Drung ]
  * syncpackage:
    - Don't crash if environment variables aren't set (LP: #665202).
    - Don't add quotation marks to changelog entries (LP: #668805).
    - Show a error message instead of raising an error if Ubuntu contains a
      newer version.
    - Print an error message if the source-only build fails (LP: #668749).
 -- Benjamin Drung <email address hidden> Sat, 30 Oct 2010 20:58:30 +0200

Changed in ubuntu-dev-tools (Ubuntu):
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.