Subject: | cpandb --update should really reindex everything |
Hi,
I have CPAN 2.10 and CPAN::SQLite 0.211.
A few days ago I uploaded DOLMEN/Pod-Spell-1.18.tar.gz on PAUSE. This distribution contains both Pod::Spell and Pod::Wordlist.
I updated my local CPANDB: perl -MCPAN -e "CPAN::Index->force_reload"
Unfortunately I noticed that Pod::Wordlist was not indexed by PAUSE because I had co-maint on Pod::Spell, but not on Pod::Wordlist.
Once I got the perms, I told PAUSE to reindex the dist.
I'm using a minicpan as my mirror for CPAN.pm. After an update, I checked that 02packages.details.txt.gz had Pod::Wordlist properly indexed:
zgrep Pod::Wordlist /home/dolmen/mirrors/minicpan/modules/02packages.details.txt.gz
Pod::Wordlist 1.18 D/DO/DOLMEN/Pod-Spell-1.18.tar.gz
But all my attempts at telling CPAN.pm to reload the index failed: Pod::Wordlist did not appear. I tried this:
perl -MCPAN -e "CPAN::Index->force_reload"
cpandb --update
"cpandb --dist Pod-Spell" was still not showing Pod::Wordlist
The only command that fixed the issue was "cpandb --setup".
I expected both commands "CPAN::Index->force_reload" and "cpandb --update" to really reload the DB as an image of 02packages.details.txt.gz, but this wasn't the case. It seems that those commands take too many shortcuts.
--
Olivier Mengué - http://perlresume.org/DOLMEN
I have CPAN 2.10 and CPAN::SQLite 0.211.
A few days ago I uploaded DOLMEN/Pod-Spell-1.18.tar.gz on PAUSE. This distribution contains both Pod::Spell and Pod::Wordlist.
I updated my local CPANDB: perl -MCPAN -e "CPAN::Index->force_reload"
Unfortunately I noticed that Pod::Wordlist was not indexed by PAUSE because I had co-maint on Pod::Spell, but not on Pod::Wordlist.
Once I got the perms, I told PAUSE to reindex the dist.
I'm using a minicpan as my mirror for CPAN.pm. After an update, I checked that 02packages.details.txt.gz had Pod::Wordlist properly indexed:
zgrep Pod::Wordlist /home/dolmen/mirrors/minicpan/modules/02packages.details.txt.gz
Pod::Wordlist 1.18 D/DO/DOLMEN/Pod-Spell-1.18.tar.gz
But all my attempts at telling CPAN.pm to reload the index failed: Pod::Wordlist did not appear. I tried this:
perl -MCPAN -e "CPAN::Index->force_reload"
cpandb --update
"cpandb --dist Pod-Spell" was still not showing Pod::Wordlist
The only command that fixed the issue was "cpandb --setup".
I expected both commands "CPAN::Index->force_reload" and "cpandb --update" to really reload the DB as an image of 02packages.details.txt.gz, but this wasn't the case. It seems that those commands take too many shortcuts.
--
Olivier Mengué - http://perlresume.org/DOLMEN