Skip Menu |

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

Report information
The Basics
Id: 128378
Status: resolved
Priority: 0/
Queue: CPAN-SQLite

People
Owner: Nobody in particular
Requestors: shlomif [...] shlomifish.org
Cc:
AdminCc:

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



Subject: The max results setting in "cpandb" should be tweakable
The max results setting in "cpandb" should be tweakable. " cpandb --CPAN /home/shlomif/Download/Arcs/Perl/minicpan/ --cpanid SHLOMIF " gave only 100 out of 140 results and I had to edit the script and increase it to get more, including for https://metacpan.org/author/PERLANCAR who has 1,574 and was the whole point of trying this dist. Thanks!
On Mon Jan 28 15:13:09 2019, shlomif@shlomifish.org wrote: Show quoted text
> The max results setting in "cpandb" should be tweakable. > > " cpandb --CPAN /home/shlomif/Download/Arcs/Perl/minicpan/ --cpanid > SHLOMIF " gave only 100 out of 140 results and I had to edit the > script and increase it to get more, including for > https://metacpan.org/author/PERLANCAR who has 1,574 and was the whole > point of trying this dist. > > Thanks!
I removed the limitation altogether (though it can be tweaked with an env variable): $ perl -Ilib -Iblib/lib bin/cpandb --cpanid PERLANCAR|wc -l 1580 $ CPAN_SQLITE_MAX_RESULTS=123 perl -Ilib -Iblib/lib bin/cpandb --cpanid PERLANCAR|wc -l 129 Fixed in 0.217, I've just uploaded in to CPAN. -- Serguei Trouchelle
On Tue Jan 29 21:39:04 2019, STRO wrote: Show quoted text
> On Mon Jan 28 15:13:09 2019, shlomif@shlomifish.org wrote: >
> > The max results setting in "cpandb" should be tweakable. > > > > " cpandb --CPAN /home/shlomif/Download/Arcs/Perl/minicpan/ --cpanid > > SHLOMIF " gave only 100 out of 140 results and I had to edit the > > script and increase it to get more, including for > > https://metacpan.org/author/PERLANCAR who has 1,574 and was the whole > > point of trying this dist. > > > > Thanks!
> > I removed the limitation altogether (though it can be tweaked with an > env variable): > > $ perl -Ilib -Iblib/lib bin/cpandb --cpanid PERLANCAR|wc -l > 1580 > > $ CPAN_SQLITE_MAX_RESULTS=123 perl -Ilib -Iblib/lib bin/cpandb > --cpanid PERLANCAR|wc -l > 129 > > Fixed in 0.217, I've just uploaded in to CPAN.
many thanks! It seems to be ok here.