Subject: | [WISHLIST] Write a minimal RECENT file for the mirror |
Date: | Tue, 25 Nov 2008 09:25:10 +0000 |
To: | bug-CPAN-Mini [...] rt.cpan.org |
From: | "Chris 'BinGOs' Williams" <chris [...] bingosnet.co.uk> |
As discussed in #cpantesters-discuss IRC channel:
[12:21] <@BinGOs> rjbs: ping.
[12:52] < rjbs> hi
[12:54] <@BinGOs> oh hai.
[12:54] <@BinGOs> I was wondering how hard it would be to add something to CPAN::Mini
[12:55] <@BinGOs> ( and by implication any subclasses like CPAN::Mini::Devel )
[12:55] <@BinGOs> Basically, make the trace() write a minimal RECENT file.
[13:02] <@BinGOs> So RECENT file looks like: http://www.cpan.org/RECENT
[13:03] <@BinGOs> So CPAN::Mini could generate that from the things it updates
[21:47] < rjbs> BinGOs: probably doable
This is mostly of use to CPAN Testers tools which query the RECENT file to determine which
distributions to test.
The tools parse the RECENT file and look for any strings which look like distributions:
<sample>
authors/id/A/AA/AALLAN/CHECKSUMS
authors/id/A/AA/AAR/CHECKSUMS
authors/id/A/AA/AAR/Net-Calais-1.02.meta
authors/id/A/AA/AAR/Net-Calais-1.02.tar.gz
authors/id/A/AA/AARDO/CHECKSUMS
authors/id/A/AA/AARDO/Combine-3.12-0.meta
authors/id/A/AA/AARDO/Combine-3.12-0.readme
authors/id/A/AA/AARDO/Combine-3.12-0.tar.gz
authors/id/A/AB/ABW/Badger-0.03_02.tar.gz
authors/id/A/AB/ABW/CHECKSUMS
authors/id/A/AD/ADAMK/CHECKSUMS
authors/id/A/AD/ADAMK/YAML-Tiny-1.34_01.tar.gz
authors/id/A/AD/ADRIANWIT/Abstract-Meta-Class-0.13.meta
authors/id/A/AD/ADRIANWIT/Abstract-Meta-Class-0.13.readme
authors/id/A/AD/ADRIANWIT/Abstract-Meta-Class-0.13.tar.gz
authors/id/A/AD/ADRIANWIT/CHECKSUMS
authors/id/A/AD/ADRIANWIT/DBIx-Connection-0.09.meta
authors/id/A/AD/ADRIANWIT/DBIx-Connection-0.09.readme
authors/id/A/AD/ADRIANWIT/DBIx-Connection-0.09.tar.gz
authors/id/A/AD/ADRIANWIT/DBIx-Connection-0.10.meta
authors/id/A/AD/ADRIANWIT/DBIx-Connection-0.10.readme
authors/id/A/AD/ADRIANWIT/DBIx-Connection-0.10.tar.gz
</sample>
As parsed by the tools becomes:
<parsed>
authors/id/A/AA/AAR/Net-Calais-1.02.tar.gz
authors/id/A/AA/AARDO/Combine-3.12-0.tar.gz
authors/id/A/AB/ABW/Badger-0.03_02.tar.gz
authors/id/A/AD/ADAMK/YAML-Tiny-1.34_01.tar.gz
authors/id/A/AD/ADRIANWIT/Abstract-Meta-Class-0.13.tar.gz
authors/id/A/AD/ADRIANWIT/DBIx-Connection-0.09.tar.gz
authors/id/A/AD/ADRIANWIT/DBIx-Connection-0.10.tar.gz
</parsed>
Many thanks in advance,
--
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http://www.gumbynet.org.uk
==========================
Message body not shown because it is not plain text.