Skip Menu |

This queue is for tickets about the CPAN-SQLite CPAN distribution.

Report information
The Basics
Id: 112018
Status: new
Priority: 0/
Queue: CPAN-SQLite

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

Bug Information
Severity: (no value)
Broken in: 0.211
Fixed in: (no value)



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