On 2020-10-07 09:20:04, GIACOMONI wrote:
Show quoted text> On Fri Feb 28 18:02:21 2020, SREZIC wrote:
> > Please note that version 0.5.2 translates to 0.005002 (try
> >
> > $ perl -Mversion -E 'say version->new("0.5.2")->numify'
> > 0.005002
> >
> > ) and this is less than 0.4 --- so some systems like CPAN.pm think
> > that 0.4 is the latest version:
> >
> > cpan[2]> m Metabolomics::Fragment::Annotation
> > Module id = Metabolomics::Fragment::Annotation
> > CPAN_USERID GIACOMONI (Franck Giacomoni <pfem.bioinfo@gmail.com>)
> > CPAN_VERSION 0.4
> > CPAN_FILE G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-
> > 0.4.tar.gz
> > INST_FILE (not installed)
> >
> > Best is to never mix two part and three part version numbers.
>
> Thank you for the advice --very new in cpan distribution process. All
> my new version are based on X.y.z formats
Reopening --- the problem still persists. With a freshly reloaded index in a CPAN.pm shell:
cpan[3]> m Metabolomics::Fragment::Annotation
Module id = Metabolomics::Fragment::Annotation
CPAN_USERID GIACOMONI (Franck Giacomoni <pfem.bioinfo@gmail.com>)
CPAN_VERSION 0.4
CPAN_FILE G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.4.tar.gz
INST_FILE (not installed)
To fix the problem you can do the following (one of both will be enough):
- use a X.Y.Z version which is guaranteed to be greater than 0.4. I think 0.401.0 will do, and for sure 1.0.0 will do
- in the PAUSE interface, schedule the deletion of version 0.4 (it will still be available on BackPAN) and then force a reindex of the module. I am not sure if the reindexing could be done immediately or after the deletion is active (three days later)