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

Re: [perl #119625] [PATCH] e7c16d9 Update README copyright to 2013,and add test

Thread Previous | Thread Next
From:
Smylers
Date:
September 10, 2013 10:15
Subject:
Re: [perl #119625] [PATCH] e7c16d9 Update README copyright to 2013,and add test
Message ID:
20130910101507.GB2235@stripey.com
On Friday I wrote:

> Father Chrysostomos via RT writes:
> 
> > On Thu Sep 05 07:00:10 2013, smylers@stripey.com wrote:
> > 
> > > +=head1 NAME
> > > +
> > > +copyright.t
> > > +
> > > +=head1 DESCRIPTION
> > > +
> > > +Tests that the copyright notice in the top-level README file includes the
> > > +current year.
> > 
> > Hmm.  If I’m reading this correctly, then when I try to install last
> > year’s perl then tests will fail.
> 
> Ooops, yes. Sorry for not thinking that through properly.

The attached includes a commit with a test which simply checks that the
latest copyright year in README matches that in the output of perl -v.

That at least ensures that if somebody remembers to update one place,
there'll be a test failure about the other. And it would've been good
enough for this year, where d907e2e9 updated one of them.

> > I would prefer a note in the release manager’s guide.

Another attached commit does that, with a switch on the above test to
check that both copyright dates match the current year.

Cheers

Smylers
-- 
Stop drug companies hiding negative research results.
Sign the AllTrials petition to get all clinical research results published.
Read more: http://www.alltrials.net/blog/the-alltrials-campaign/

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