On Sun, Apr 5, 2009 at 2:15 PM, Barbie <[email protected]> wrote:
> Not necessarily need for the key to the metabase, the path is just
> another attribute or fact.

Yes -- though I'm not sure if RJBS accounts for it in URI::cpan.  From
the standpoint of a
distfile resource, the first part of the path is the author name and
the last part is the archive file with zero or more subdirectories in
between.  In the end, it's a path under authors/id (with the
appropriate initial letter hashing).

(Technically, even that isn't true as there are things in oddball
locations from the dim, dark antiquity of CPAN, but I think they all
have appropriate symlinks now.  Or at least, that's what I concluded
when I was writing CPAN::Mini::Devel and parsing the findls file.

> Note there are a couple of bugs in Parse::BACKPAN::Packages that mean it
> doesn't return the true author of a distribution. Where author is
> actually the release manager, where some distributions have more than
> one author (e.g. Catalyst). I have parts of patches waiting in the wings
> that I need to push to Leon soon.

For the purpose of URI::cpan -- "author" is really release manager --
the person who uploaded the distribution archive file to PAUSE.  But
since that's how CPAN refers to it, we keep the "author" name with
that meaning.

-- David

Reply via email to