Skip Menu |
 

This queue is for tickets about the Perl-Version CPAN distribution.

Report information
The Basics
Id: 43946
Status: resolved
Priority: 0/
Queue: Perl-Version

People
Owner: Nobody in particular
Requestors: kwilliams [...] cpan.org
Cc:
AdminCc:

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



Subject: Extraneous version string found in README
Download (untitled) / with headers
text/plain 246b
My README contains the following text, which is just part of some documentation and not a version specifier: my $b = ExtUtils::CBuilder->new( quiet => 1 ); This line seems to be picked up perl-reversion as $VERSION=1 though. -Ken
Download (untitled) / with headers
text/plain 588b
On Sun Mar 08 15:46:41 2009, KWILLIAMS wrote: Show quoted text
> My README contains the following text, which is just part of some > documentation and not a > version specifier: > > my $b = ExtUtils::CBuilder->new( quiet => 1 ); > > This line seems to be picked up perl-reversion as $VERSION=1 though.
Hi Ken, Can you force it to work by specifying --current <current version> ? I think it's going to work better if I reorganise it so that it infers the current version from the formally structured files (.pms etc) and then looks for the version it inferred in the unstructured files.
Download (untitled) / with headers
text/plain 306b
I've just released 1.009 which improves the heuristic used for finding version strings in plain text files. It now scans the structured files first to work out what the project version is then searches only for that version number in the unstructured files. Give it a spin and see if it works for you :)
Subject: Re: [rt.cpan.org #43946] Extraneous version string found in README
Date: Mon, 9 Mar 2009 11:48:48 -0600
To: bug-Perl-Version [...] rt.cpan.org
From: Ken Williams <kenahoo [...] gmail.com>
Download (untitled) / with headers
text/plain 292b
On Mon, Mar 9, 2009 at 6:07 AM, Andy Armstrong via RT <bug-Perl-Version@rt.cpan.org> wrote: Show quoted text
> > Can you force it to work by specifying --current <current version> ?
Yup, that works fine. It's a slightly different use case, but that's indeed the workaround I ended up using. Thanks, -Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.