dgetlp doesn't work with dscs offered by launchpad

Bug #322051 reported by Luke Faraone on 2009-01-27
2
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Low
Jonathan Davies

Bug Description

Binary package hint: ubuntu-dev-tools

lfaraone@newhp:~$ dgetlp https://launchpad.net/ubuntu/jaunty/+source/abiword/2.6.4-5ubuntu1/+files/abiword_2.6.4-5ubuntu1.dsc
Error: This utility only works for files on launchpadlibrarian.net.
lfaraone@newhp:~$ dgetlp https://launchpadlibrarian.net/19377257/abiword_2.6.4-5ubuntu1.dsc
Error: This utility only works for files on launchpadlibrarian.net.

Ideally dget should work with _both_ those URLs, but the latter not working is unacceptable.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 8.10
Package: ubuntu-dev-tools 0.46
PackageArchitecture: all
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-dev-tools
Uname: Linux 2.6.27-9-generic x86_64

Luke Faraone (lfaraone) wrote :
description: updated
Jonathan Davies (jpds) wrote :

launchpadlibrarian.net is HTTP, and dget will handle the newer https://launchpad.net/ubuntu/<release>/+source/<source>/<version>/+files/<file> links just fine.

However I'll fix the error message so that it shows that it only works for HTTP.

Changed in ubuntu-dev-tools:
assignee: nobody → jpds
importance: Undecided → Low
milestone: none → jaunty-alpha-4
status: New → In Progress
Jonathan Davies (jpds) wrote :

------------------------------------------------------------
revno: 310
committer: Jonathan Davies <email address hidden>
branch nick: ubuntu-dev-tools
timestamp: Sun 2009-02-01 10:53:30 +0000
message:
  * dgetlp: Improved error message to show that dgetlp only accepts HTTP
    URLs (LP: #322051).

Changed in ubuntu-dev-tools:
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

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

---------------
ubuntu-dev-tools (0.60) jaunty; urgency=low

  [ Jonathan Davies ]
  * ubuntutools/common.py: Now split into multiple files depending on
    function.
  * Adjusted imports on all files as necessary for the change above.
  * Removed ubuntutools/misc.py's mkdir function - superseded by
    os.makedirs().
  * dgetlp: Improved error message to show that dgetlp only accepts HTTP
    URLs (LP: #322051).

  [ Iain Lane ]
  * requestsync: Only attempt to change bug importance if in ubuntu-dev, as it
    will fail otherwise (LP: #320984).
  * ubuntutools/lp/functions.py: Rename urlopener import as it conflicts with
    a variable, causing an error.

  [ Luca Falavigna ]
  * pull-debian-source: do not fail if package name contains a hypen.
  * buildd: display help message if no parameters are passed.

 -- Jonathan Davies <email address hidden> Sun, 01 Feb 2009 10:55:42 +0000

Changed in ubuntu-dev-tools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers