develooper Front page | perl.perl5.porters | Postings from January 2013

Re: git-hook to prevent perlbug as patch author

Thread Previous | Thread Next
From:
Tony Cook
Date:
January 30, 2013 06:51
Subject:
Re: git-hook to prevent perlbug as patch author
Message ID:
20130130065125.GA20163@mars.tony.develop-help.com
On Wed, Jan 30, 2013 at 07:38:29AM +0100, Steffen Mueller wrote:
> On 01/30/2013 07:12 AM, bulk88 via RT wrote:
> >On Tue Jan 29 19:09:07 2013, tonyc wrote:
> >>
> >>Unfortunately you messed up the author email address.
> >>
> >>The attached patch has headers:
> >>
> >> From 030ed137171a0d895b1b36f35c8a10c274a4535d Mon Sep 17 00:00:00 2001
> >>From: Daniel Dragan <bulk88@hotmail.com>
> >>Date: Sun, 23 Dec 2012 21:18:24 -0500
> >>
> >>but I guess you <git am>ed the whole mailbox entry instead of the
> >>attachment.
> 
> Happens to the best.
> 
> >I think its time for a git hook to stop any commits with perlbug as the
> >author's email,
> >http://perl5.git.perl.org/perl.git?a=search&h=HEAD&st=author&s=perlbug .
> 
> I will bribe Dennis into installing such post-receive a hook if
> somebody provides it.

Any committer has access to the main perl.git hooks directory.

I'm pretty sure post-receive is too late, and the check would need to
be done in update or pre-receive.

Tony

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About