Skip Menu |

This queue is for tickets about the App-perlbrew CPAN distribution.

Report information
The Basics
Id: 61284
Status: open
Priority: 0/
Queue: App-perlbrew

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

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



Subject: Confused by inconsistent tagging in git
I tried to install perl-5.8.1 from git by checking out the tag. $ git co perl-5.8.1 HEAD is now at 0203dfd... Here goes nothing. $ perlbrew install . Use of uninitialized value $dist_name in string eq at /usr/local/perl/5.10.1/lib/site_perl/5.10.1/App/perlbrew.pm line 220. The problem is perlbrew is only looking for v5.x.y style tags. Before 5.11 it was perl-5.x.y. The regex on line 200 should be updated to take that into account. Or even better, add consistent tags to the perl repository.
On Sun Sep 12 04:53:35 2010, MSCHWERN wrote: Show quoted text
> I tried to install perl-5.8.1 from git by checking out the tag. > > $ git co perl-5.8.1 > HEAD is now at 0203dfd... Here goes nothing. > $ perlbrew install . > Use of uninitialized value $dist_name in string eq at > /usr/local/perl/5.10.1/lib/site_perl/5.10.1/App/perlbrew.pm line 220. > > The problem is perlbrew is only looking for v5.x.y style tags. Before > 5.11 it was perl-5.x.y. The regex on line 200 should be updated to
take Show quoted text
> that into account. > > Or even better, add consistent tags to the perl repository.
This also appears to fail for RCs: mike@charron:~/git/DOHERTY/perl (blead)$ git co v5.14.0-RC1 Note: checking out 'v5.14.0-RC1'. HEAD is now at 476c37e... On Win32, skip the tests added in 011c3814, as alarm can't interrupt select. mike@charron:~/git/DOHERTY/perl ((v5.14.0-RC1))$ perlbrew install . Use of uninitialized value $dist_name in string eq at /home/mike/perl5/perlbrew/bin/perlbrew line 433.
This has something to do with the result of `git describe`, Ingy has made a table showing the result of that: https://gist.github.com/901455 It appears sometimes it's better to simply use branch name or tag name, but not the result of `git describe`.