On Tue Aug 11 16:48:22 2020, CHORNY wrote:
Show quoted text> Module id = CPAN::PackageDetails
> CPAN_USERID BDFOY (brian d foy <bdfoy@cpan.org>)
> CPAN_VERSION 0.261
> CPAN_FILE B/BD/BDFOY/CPAN-PackageDetails-0.261.tar.gz
> UPLOAD_DATE 2018-06-12
> INST_FILE (not installed)
>
CPAN::SQLite doesn't index back files.
Basically, the problem is here:
CPAN::PackageDetails 0.261 B/BD/BDFOY/CPAN-PackageDetails-0.261.tar.gz
CPAN::PackageDetails::Entries 0.261 B/BD/BDFOY/CPAN-PackageDetails-0.262.tar.gz
CPAN::PackageDetails::Entry 0.261 B/BD/BDFOY/CPAN-PackageDetails-0.262.tar.gz
CPAN::PackageDetails::Header 0.261 B/BD/BDFOY/CPAN-PackageDetails-0.262.tar.gz
CPAN::PackageDetails::PerlHash 0.261 B/BD/BDFOY/CPAN-PackageDetails-0.262.tar.gz
CPAN::PackageDetails::Redis 0.261 B/BD/BDFOY/CPAN-PackageDetails-0.262.tar.gz
Specifically, CPAN::PackageDetails is referenced to CPAN-PackageDetails-0.261.tar.gz, the rest of the modules are referenced to B/BD/BDFOY/CPAN-PackageDetails-0.262.tar.gz
So what happens here, CPAN::SQLite realizes that CPAN::PackageDetails is not in the latest version (0.262.tar.gz) and therefore removes it from the index.
Interestingly enough, 0.262.tar.gz actually has CPAN::PackageDetails version 0.262. But for some reason, whatever program generates 02packages.details.txt, it contains a bug that produces incorrect file reference to the older version why in ideal world it would be:
CPAN::PackageDetails 0.262 B/BD/BDFOY/CPAN-PackageDetails-0.262.tar.gz
CPAN::PackageDetails::Entries 0.261 B/BD/BDFOY/CPAN-PackageDetails-0.262.tar.gz
[...]
Because CPAN::SQLite treats 02packages.details as the source of truth, it processes it accordingly.
If 02packages.details generation gets fixed, the problem should naturally go away.
--
Serguei Trouchelle