Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the SVN-Notify CPAN distribution.

Report information
The Basics
Id: 29044
Status: resolved
Priority: 0/
Queue: SVN-Notify

People
Owner: Nobody in particular
Requestors: pdey [...] realmtech.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Problem with ticket-map
Date: Wed, 29 Aug 2007 10:55:07 +1000
To: bug-svn-notify [...] rt.cpan.org
From: Peter Dey <pdey [...] realmtech.net>
I've found a problem with ticket-map that I've been unable to resolve... I get an error when I try to use --ticket-map, as documented: $ svnnotify --repos-path '/svn/productname' \ --revision 1219 \ --to 'email@address.com' \ --handler HTML \ --with-diff \ --ticket-map 'bugzilla=http://bugzilla/show_bug.cgi?id=%s' Can't use string ("http://bugzilla/show_bug.cgi?id=") as a HASH ref while "strict refs" in use at /usr/lib/perl5/site_perl/5.8.0/SVN/Notify.pm line 1425. Doing 'print $map' on the line before 1425 shows $map = 'http://bugzilla/show_bug.cgi?id=%s'. Using --bugzilla-url 'http://bugzilla/show_bug.cgi?id=%s' doesn't throw any errors; but it also doesn't URL-ify bug strings in log messages... SVN-Notify 2.6.6 (17 Jun 2007) Linux voldemort 2.4.20-28.8smp #1 SMP Thu Dec 18 12:25:21 EST 2003 i686 i686 i386 GNU/Linux Perl, v5.8.0 built for i386-linux-thread-multi
Subject: Re: [rt.cpan.org #29044] Problem with ticket-map
Date: Fri, 7 Sep 2007 11:04:33 -0700
To: bug-SVN-Notify [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
On Aug 28, 2007, at 17:57, Peter Dey via RT wrote: Show quoted text
> Can't use string ("http://bugzilla/show_bug.cgi?id=") as a HASH ref > while "strict refs" in use at > /usr/lib/perl5/site_perl/5.8.0/SVN/Notify.pm line 1425. > > Doing 'print $map' on the line before 1425 shows $map = 'http:// > bugzilla/show_bug.cgi?id=%s'.
What version of Getopt::Long are you using? Make sure that it supports hash options (2.4 or later). Best, David
Subject: RE: [rt.cpan.org #29044] Problem with ticket-map
Date: Tue, 11 Sep 2007 16:39:22 +1000
To: <bug-SVN-Notify [...] rt.cpan.org>
From: "Peter Dey" <pdey [...] intermatrix.com.au>
Show quoted text
> What version of Getopt::Long are you using? Make sure that it > supports hash options (2.4 or later).
Upgraded to Getopt::Long 2.36. (I couldn't find 2.4 on http://search.cpan.org/). --ticket-map bugzilla='http://blah/%s' Works as expected now with Getopt::Long 2.36. --bugzilla-url 'http://blah/%s' Still doesn't work. I'll stick with --ticket-map.