On Tue, Apr 13, 2010 at 01:48:28PM -0400, David Golden wrote: > > He and I agree that there are significant benefits to the community to > using a single repository for both Perl 5 and Perl 6 distributions.
+1 > We worked through some differences of opinion in various ways this > could be accomplished harmoniously and came up with what we think is a > reasonable approach using much of the existing infrastructure. > > We agreed on several things: > > * We want to avoid bikeshed discussions of "CPAN/PAUSE 2.0" > * We want to use the existing PAUSE/CPAN author credentials for both > Perl 5 and Perl 6 > * We want to use the existing PAUSE upload infrastructure with as > few changes as possible > * We want to consider "uploading" and "indexing" as separate issues [1] Upload is essentially 'drop a distro tarball' + 'claim ownership' (+ and optional 'put in this directory') which then queues it for automated indexing later. PAUSE already unpacks and examines the uploaded tarball as part of indexing. It's reasonable to assume that we'll be using a META.json file (or .yml I guess) for distributions that require perl6. The META spec already includes a 'requires' element that can be used to specify a minimum perl version, so I suggest we use that to identify that perl6 is required: requires: perl: 6.0 A very simple and natural use of the existing mechanisms. http://www.mail-archive.com/cpan-workers@perl.org/msg00505.html > If we separate Perl 5 and Perl 6 distributions within the file system, > we can distinguish between them easily and without relying on indexes, > meta data files or other elements of complexity. True, but is that *really* a significant need? Why bother? It seems to me that all that's needed in the short term is for PAUSE to not index uploads where it detects perl >= 6 in META requires. (Which seems pretty trivial on the face of it.) Once that's in place then perl6 distros can be uploaded freely while new indexing arrangements are being worked out. > We also thought that it might be relatively easy for to add > radio-boxes to the PAUSE upload page to indicate Perl 5 or Perl 6 and > to place Perl 6 distributions into the proper directory without it > having to be specified explicitly. (Whether it *must* be specified as > one or the other, which would require updates to Perl 5 tools like > CPAN::Uploader I will defer to Andreas' judgment.) No need for a radio-box if PAUSE auto-detects from the META file. Tim.