On 2014-12-28 11:02:59, JGNI wrote:
Show quoted text> On Sun Dec 28 10:52:25 2014, SREZIC wrote:
> > On 2014-12-28 09:49:22, JGNI wrote:
> > > Thanks for helping. The next update should be in 5 hours or so.
> > >
> > > I'm flying blind for some of this as the tests all pass on my box.
> > >
> >
> > BTW, it seems that using "...-TRIAL-n..." as a distribution name is
> > problematic. These versions are not listed on the metacpan page at
> > all, and on search.cpan.org it looks like it's indexed as a different
> > distribution as Locale-CLDR, see here:
> >
http://search.cpan.org/~jgni/Locale-CLDR-v0.26.6-TRIAL-2/
> >
> > Maybe it should be "...-TRIALn..." instead, without a dash after
> > "TRIAL"?
>
> That's deliberate. The distribution is marked internally as unstable.
> Build.PL sees that and appends the TRIAL when I create the
> distribution. As it's marked as unstable the PAUSE indexer does not
> index the files. This allows you to upload different versions of the
> Distribution so that the CPAN testers can test it with out it being
> marked as the current version on CPAN.
Well, the problem is that the versions with "...-TRIAL-n-..." don't show up in the cpantesters listings. See here:
http://matrix.cpantesters.org/?dist=Locale-CLDR
It seems that using "...-TRIAL.n..." is fine (dot instead of a dash), or using a letter instead of a digit for the n.
Also, CPAN::DistnameInfo cannot cope with such a distname correctly. Note the wrong "maturity" status ("released" instead of "developer"), and the wrong dist field:
$ perl -MData::Dumper -MCPAN::DistnameInfo -e 'warn Dumper(CPAN::DistnameInfo->new("Locale-CLDR-v0.26.6-TRIAL-2.tar.gz"))'
$VAR1 = bless( {
'extension' => 'tar.gz',
'filename' => 'Locale-CLDR-v0.26.6-TRIAL-2.tar.gz',
'version' => 'TRIAL2',
'distvname' => 'Locale-CLDR-v0.26.6-TRIAL-2',
'dist' => 'Locale-CLDR-v0.26.6',
'maturity' => 'released',
'pathname' => 'Locale-CLDR-v0.26.6-TRIAL-2.tar.gz'
}, 'CPAN::DistnameInfo' );
This looks right, dist is "Locale-CLDR" and "maturity" is correct:
$ perl -MData::Dumper -MCPAN::DistnameInfo -e 'warn Dumper(CPAN::DistnameInfo->new("Locale-CLDR-v0.26.6-TRIAL2.tar.gz"))'
$VAR1 = bless( {
'extension' => 'tar.gz',
'filename' => 'Locale-CLDR-v0.26.6-TRIAL2.tar.gz',
'version' => 'v0.26.6-TRIAL2',
'distvname' => 'Locale-CLDR-v0.26.6-TRIAL2',
'dist' => 'Locale-CLDR',
'maturity' => 'developer',
'pathname' => 'Locale-CLDR-v0.26.6-TRIAL2.tar.gz'
}, 'CPAN::DistnameInfo' );
Show quoted text>
> I should have really have done that with all the distributions until I
> got the split distributions working.
>
> Well you live and learn
>
> John