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

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

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
September 10, 2013 15:45
Subject:
[perl #119625] [PATCH] e7c16d9 Update README copyright to 2013, and add test
Message ID:
rt-3.6.HEAD-1873-1378827945-1816.119625-15-0@perl.org
On Tue Sep 10 03:15:55 2013, smylers@stripey.com wrote:
> 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.

Thank you.  Applied:

$ git log --reverse -3 --oneline
9ff0b39 Enhance runperl doc to mention its return value
acc70a0 Test that README and perl -v copyright years match
52d097d Added release manager test for copyright year

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=119625

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