Skip Menu |

This queue is for tickets about the Google-GeoCoder-Smart CPAN distribution.

Report information
The Basics
Id: 124231
Status: open
Priority: 0/
Queue: Google-GeoCoder-Smart

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

Bug Information
Severity: (no value)
Broken in:
  • v2.0.0
  • v2.0.1
Fixed in: (no value)



Subject: v2 is not indexed
It seems that the newest release v2.0.1 is not released: * on MetaCPAN https://metacpan.org/release/Google-GeoCoder-Smart is linked to 1.18 * the CPAN.pm shell also thinks that 1.18 is the latest version: $ cpan cpan[1]> m Google::GeoCoder::Smart Reading '/home/eserte/.cpan/Metadata' Database was generated on Fri, 26 Jan 2018 21:29:02 GMT Module id = Google::GeoCoder::Smart CPAN_USERID TTG (John <ttg@cpan.org>) CPAN_VERSION 1.18 CPAN_FILE T/TT/TTG/Google-GeoCoder-Smart/Google-GeoCoder-Smart-1.18.tar.gz UPLOAD_DATE 2014-11-11 INST_FILE (not installed) Maybe the distribution needs to be re-indexed, or there's some other problem...
There is a vstring at the version assignment: our $VERSION = 2.0.1; This generates a sequence of non-printable characters as the version number and confuses the pause indexer. Witness: % perl -le 'our $VERSION = 2.0.1; print $VERSION' | hexdump -C 00000000 02 00 01 0a |....| 00000004 Quoting the version number would do. % perl -le 'our $VERSION = "2.0.1"; print $VERSION' | hexdump -C 00000000 32 2e 30 2e 31 0a |2.0.1.| 00000006 But then the version number would still not match the version number of the package. Maybe one should recommend reading "version numbers should be boring" once again? http://www.dagolden.com/index.php/369/version-numbers-should-be-boring/ or maybe http://blogs.perl.org/users/grinnz/2018/04/a-guide-to-versions-in-perl.html or maybe https://cpants.cpanauthors.org/dist/Google-GeoCoder-Smart It would also help to teach the pause indexer to diagnose the problem clearly and let the user know.