andk/pause — Issue #11: Feature Request: include dist's mtime in the index
Author: thaljef
Created: 2012-01-22 13:12:42+00:00
State: open

I'd like to have an additional field in the 02packages.details.txt.gz file that reflects the mtime of the distribution file (or perhaps the module file). My reason is this...

Given the indexes from two different repositories, I need to determine which one contains the latest version of any given package. If the version numbers are different, the only way to decide is based on the mtime of either the distribution or the module. As I understand the code, this is how PAUSE decides what the "latest" is.

Most code that parses the index files will probably just ignore an extra field (after the dist path). So hopefully, this change will be relatively safe.

What do you think?