[pull-debian-source] should download source for given binary package name

Bug #617349 reported by Rolf Leggewie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Wishlist
Stefano Rivera

Bug Description

Binary package hint: devscripts

steps to reproduce in lucid:

$ pull-debian-source flegita
Use of uninitialized value $vers[0] in hash element at /usr/bin/pull-debian-source line 130.
Use of uninitialized value $dsc in concatenation (.) or string at /usr/bin/pull-debian-source line 37.

Use of uninitialized value $dsc in concatenation (.) or string at /usr/bin/pull-debian-source line 38.
Usage: dget [options] URL|package[=version]
Run dget --help for more details.

I'm not sure what is happening here. Other packages seem to pull just fine.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

I have an idea about the possible root cause. flegita is 0ubuntuX in Ubuntu, source package gnomescan. It is -1 version in Debian, source package gnome-scan (not the dash).

$ pull-debian-source gnomescan
Could Not Get http://qa.debian.org/madison.php?text=on&package=gnomescan&s=unstable at /usr/bin/pull-debian-source line 84.

"pull-debian-source gnome-scan" then finally works.

Revision history for this message
Benjamin Drung (bdrung) wrote :

pull-debian-source is part of ubuntu-dev-tools. pull-debian-source was rewritten in Python since your first report.

$ pull-debian-source flegita
pull-debian-source: Error: Unable to find flegita in unstable.

Should pull-debian-source support downloading the source for a specified binary?

affects: devscripts (Ubuntu) → ubuntu-dev-tools (Ubuntu)
Changed in ubuntu-dev-tools (Ubuntu):
status: New → Incomplete
summary: - pull-debian-source fails for flegita
+ [pull-debian-source] fails for flegita
Revision history for this message
Rolf Leggewie (r0lf) wrote : Re: [pull-debian-source] fails for flegita

Benjamin, are you asking me? If yes, I think the program is about downloading the source for $package, isn't it? The user should not have to worry about matching $binarypackage to $srcpackage, I think.

Revision history for this message
Benjamin Drung (bdrung) wrote :

Yes, I was asking you. I convert this bug report to a feature request.

Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Wishlist
status: Incomplete → Triaged
summary: - [pull-debian-source] fails for flegita
+ [pull-debian-source] should download source for given binary package
+ name
Changed in ubuntu-dev-tools (Ubuntu):
assignee: nobody → Stefano Rivera (stefanor)
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
ubuntu-dev-tools (0.137) unstable; urgency=low

  [ Stefano Rivera ]
  * mk-sbuild: Make --eatmydata command line flag actually work.
  * Remove dgetlp. No longer needed.
  * Use httplib2 everywhere that we do https. The python stdlib doesn't do
    certificate verification.
  * requestbackport:
    - Check for existing backport bugs first.
    - Check that there are published binaries (i.e. not stuck in bin-NEW).
  * pull-lp-source, requestbackport: Take the latest version from any
    non-backports pocket. Implemented by making lpapicache's getSourcePackage
    smarter.
  * sponsor-patch: Build a source package for lintian to run on, when not
    test-building syncs.
  * sponsor-patch: Check the bug's title, not the task, when determining
    source series for syncs.
  * mk-sbuild, pbuilder-dist, ubuntu-build: Add armhf.
  * pull-debian-source, pull-lp-source: Resolve the source package (via DDE),
    if a binary package was requested (LP: #617349)
  * submittodebian:
    - Do the report boiler-plate checking in a script that wraps an editor, so
      that we only edit the report once, after checking for duplicates.
    - rm the tmpdir with a little more force (shutil.rmtree) (LP: #899399)
  * New Tools: (LP: #876554)
    - ubuntu-upload-permission: Query upload permissions.
    - seeded-in-ubuntu: Query a package's seed status. Whether it is on
      current daily images and/or part of the supported seed.
  * syncpackage: Support sponsorship for native-syncs, now that LP does.

  [ Andreas Moog ]
  * sponsor-patch: Check permission to unsubscribe sponsors-team (LP: #896884)
  * grep-merges: We already require a UTF-8 enabled terminal, so encode
    package and uploader name in UTF-8 (LP: #694388)
  * requestsync: Give user option to retry in case of temporary error
    (LP: #850360)

 -- Stefano Rivera <email address hidden> Fri, 09 Dec 2011 12:59:29 +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.