Skip Menu |

This queue is for tickets about the Metabolomics-Fragment-Annotation CPAN distribution.

Report information
The Basics
Id: 132027
Status: resolved
Priority: 0/
Queue: Metabolomics-Fragment-Annotation

People
Owner: pfem.bioinfo [...] gmail.com
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.3.1
  • 0.5.1
  • 0.5.2
Fixed in: 0.5.2



Subject: Decreasing versions
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.
On Fri Feb 28 18:02:21 2020, SREZIC wrote: Show quoted text
> 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
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)
On 2020-10-14 05:10:17, SREZIC wrote: Show quoted text
> On 2020-10-07 09:20:04, GIACOMONI wrote:
> > 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)
In the meanwhile, CPAN.pm lists the correct module (0.6.2).