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: 22620
Status: resolved
Priority: 0/
Queue: SVN-Notify

People
Owner: Nobody in particular
Requestors: joseph.gregory [...] gmail.com
Cc:
AdminCc:

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



Subject: --to-regex-map could/should be the other way around
Date: Thu, 26 Oct 2006 20:32:56 +0200
To: bug-svn-notify [...] rt.cpan.org
From: "Grégory Joseph" <joseph.gregory [...] gmail.com>
Hi, I love svn::notify, but I'm currently facing an issue with the --to-regex-map option. As it is, unless I want to write "complex" regexes, I can't notify the same email adress for multiple directories. (Typically, I'd want to notify a public svn list for /main and /contributions, and a private svn list for /enterprise-edition-of-my-project and /client-projects, for instance) If the hah was regex=email instead, this would be much easier. And if a path needs notifications for multiple adresses, it could use the comma separated notation of email. Maybe there's already a way of doing this, but right now I'm just writing ugly regexes with |, it doesn't really help maintenance, and I'm down to making test commits to make sure it set it all up right :-/ Any suggestion ? I'd happily contribute if I could, but I can hardly decipher perl .. Cheers greg
Subject: Re: [rt.cpan.org #22620] --to-regex-map could/should be the other way around
Date: Thu, 30 Nov 2006 09:42:56 -0800
To: bug-SVN-Notify [...] rt.cpan.org
From: "David E. Wheeler" <david [...] kineticode.com>
On Oct 26, 2006, at 12:01, Grégory Joseph via RT wrote: Show quoted text
> Any suggestion ? I'd happily contribute if I could, but I can hardly > decipher perl ..
I could see a `--to-email-map` option or some such being useful, the inversion of `--to-regex-map`. I'd actually be pretty straight- forward to do: Just grep for "regex_map" in Notify.pm and add in the extra code for the inversion… Anyone on the lazyweb want to take it on? I wouldn't say it's urgent, since there *is* a workaround, as you've found, but I agree that it would be useful. Best, David
On Thu Nov 30 12:43:16 2006, david@kineticode.com wrote: Show quoted text
> On Oct 26, 2006, at 12:01, Grégory Joseph via RT wrote: >
> > Any suggestion ? I'd happily contribute if I could, but I can hardly > > decipher perl ..
> > I could see a `--to-email-map` option or some such being useful, the > inversion of `--to-regex-map`. I'd actually be pretty straight- > forward to do: Just grep for "regex_map" in Notify.pm and add in the > extra code for the inversion… > > Anyone on the lazyweb want to take it on?
No one took me up on this, so I finally did it myself. Watch for a new release in the next few days. Best, David
Subject: Re: [rt.cpan.org #22620] --to-regex-map could/should be the other way around
Date: Tue, 27 Mar 2007 11:22:48 +0200
To: bug-SVN-Notify [...] rt.cpan.org
From: "Grégory Joseph" <joseph.gregory [...] gmail.com>
On 27/03/07, David Wheeler via RT <bug-SVN-Notify@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=22620 >
> > No one took me up on this, so I finally did it myself. Watch for a new
> release in the next few days.
excellent ! Thanks, looking forward for this ! g
Subject: Re: [rt.cpan.org #22620] Resolved: --to-regex-map could/should be the other way around
Date: Wed, 27 Aug 2008 17:26:14 +0200
To: bug-SVN-Notify [...] rt.cpan.org
From: "Grégory Joseph" <joseph.gregory [...] gmail.com>
It would be nice if the new feature (--to-email-map was documented in svnnotify --help) - as I see it is on Notify.pm: http://search.cpan.org/dist/SVN-Notify/lib/SVN/Notify.pm#to_email_map
Subject: Re: [rt.cpan.org #22620] Resolved: --to-regex-map could/should be the other way around
Date: Thu, 4 Sep 2008 13:44:26 -0700
To: bug-SVN-Notify [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
On Aug 27, 2008, at 08:27, Grégory Joseph via RT wrote: Show quoted text
> It would be nice if the new feature (--to-email-map was documented in > svnnotify --help) - as I see it is on Notify.pm: > http://search.cpan.org/dist/SVN-Notify/lib/SVN/Notify.pm#to_email_map
Done in r4243. I'll get a new version out soonish. Thanks, David
Subject: Re: [rt.cpan.org #22620] Resolved: --to-regex-map could/should be the other way around
Date: Thu, 4 Sep 2008 13:44:26 -0700
To: bug-SVN-Notify [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
On Aug 27, 2008, at 08:27, Grégory Joseph via RT wrote: Show quoted text
> It would be nice if the new feature (--to-email-map was documented in > svnnotify --help) - as I see it is on Notify.pm: > http://search.cpan.org/dist/SVN-Notify/lib/SVN/Notify.pm#to_email_map
Done in r4243. I'll get a new version out soonish. Thanks, David