Your message dated Fri, 13 Jul 2012 22:25:34 +0200
with message-id <1342211134.32135.7.camel@deep-thought>
and subject line Re: Bug#680760: [getbuildlog] Fails to fetch versions which 
contain +
has caused the Debian Bug report #680760,
regarding [getbuildlog] Fails to fetch versions which contain +
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
680760: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680760
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.12.0
Severity: normal
Tags: patch

Dear Maintainer,

getbuildlog fails to fetch versions which contain +, e.g.

    $ getbuildlog mpg123 1.14.2+svn20120622-1

The following patch should fix this issue:

--- /usr/bin/getbuildlog        2012-06-30 17:20:16.000000000 +0200
+++ /usr/bin/getbuildlog        2012-07-08 15:35:24.000000000 +0200
@@ -82,6 +89,9 @@
 elif [ "$VERSION" = "last-all" ]; then
     GET_LAST_VERSION=all
     VERSION=[:~+.[:alnum:]-]+
+# We must escape + in the package version.
+else
+    VERSION=`echo "$VERSION" | sed -e 's/\+/\\\+/g'`
 fi
 
 PATTERN="fetch\.(cgi|php)\?pkg=$ESCAPED_PACKAGE&arch=$ARCH&ver=$VERSION&\

Regards,
Simon
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Am Sonntag, den 08.07.2012, 15:40 +0200 schrieb Simon Ruderich:
> getbuildlog fails to fetch versions which contain +, e.g.
> 
>     $ getbuildlog mpg123 1.14.2+svn20120622-1

getbuildlog takes a version pattern:

$ getbuildlog 
Usage: getbuildlog <package> [<version-pattern>]
[<architecture-pattern>]
[...]
Examples:
  # Download amd64 build log for hello version 2.2-1:
  getbuildlog hello 2\.2-1 amd64

You need to specify a pattern:

$ getbuildlog 'mpg123 1\.14\.2\+svn20120622-1'

Feel free to reopen the bug if you want a different behavior of
getbuildlog.

-- 
Benjamin Drung
Debian & Ubuntu Developer

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to