On Sat, Oct 25, 2003 at 01:24:59PM +0800, Autrijus Tang wrote: > A) On the PAUSE side, it should publish data for all currently existing, > distinct module versions under 02packages.details.txt.gz. So, where it > currently has: > > mod_perl 1.29 G/GO/GOZER/mod_perl-1.29.tar.gz > > You'd like it to say: > > ... > mod_perl 1.27 G/GO/GOZER/mod_perl-1.27.tar.gz > mod_perl 1.28 G/GO/GOZER/mod_perl-1.28.tar.gz > mod_perl 1.29 G/GO/GOZER/mod_perl-1.29.tar.gz > mod_perl 2.00 S/ST/STAS/mod_perl-2.00.tar.gz > ...
That will be a massive increase in data volume. I think the index only needs to track "The highest of each major version for each author". So you'd generate a new index entry only if the major version has changed or if the author of the new release is different to the author of the previous minor version of the same major version. Here's an example sequence of uploads to demonstrate: JOE 1.1 new entry JOE 1.2 replaces 1.1 entry JOE 1.3 replaces 1.2 entry JIM 2.0 new entry JIM 2.1 replaces 2.0 entry JOE 1.4 replaces 1.3 entry JIM 1.5 new entry and you'd end up with these entries JOE 1.4 JIM 1.5 JIM 2.1 Tim.