MASTER_SITES/MASTER_SITE_SUBDIR for perl ports
Anton Berezin
tobez at tobez.org
Thu Feb 10 09:54:40 UTC 2011
On Thu, Feb 10, 2011 at 01:15:12AM -0800, milki wrote:
> I've been noticing that sometimes cpan packages aren't showing up in the
> /modules/by-module subdirectories of the CPAN mirrors. I only queried a
> couple packages (DBIx-Class). Many perl ports already use the SUBDIR to
> specify the package via the authors uri. CPAN and its
> modules/02package.details.txt also link to the authors packages
> directly.
It is better to use modules/by-module because the author can
change, and for a number of modules changes pretty often. This is
especially true for a number of modules developed by a community
wider than a single person. In particular, a lot of Catalyst and
Moose-related modules "change" the author often from one release
to another.
As for modules/by-module not having the most recent version, I think
that something has happened to one of CPAN's indexing jobs in the start of
last December. I have not investigated any further and have not talked
to people who might know for sure, but that was my impression.
> So, I'm wondering. Would it be more correct to use the /authors/id uri
> instead of /modules/by-module? Portlint explicitly detects this case and
> suggests not using SUBDIR in this manner at least.
Cheers,
\Anton.
--
Our society can survive even a large amount of irrational regulation.
-- John McCarthy
More information about the freebsd-perl
mailing list