On Fri, Apr 01, 2005 at 05:48:47AM -0500, John Peacock wrote: > If a module contains a line that matches the $VERSION regex, yet evaluates > to undef inside the indexer, then use the package $VERSION (as defined by > the META.yml or Makefile.PL/Build.PL stanza). Only report 'undef' for > modules which have no $VERSION stanza at all.
Again I disagree. This A) introduces yet another versioning heuristic and lord knows we don't need another and B) the reasoning against it is dubious (see below). > It just seems very wasteful to add 70 lines to the SVK META.yml, just so > the indexer doesn't report undef for any of the submodules (which are > indeed tightly coupled to the core distro files and could not be released > independently). Sure, it can be automated by the build tool, but it defeats > the purpose of the META.yml file to be human readable if the actual content > is swamped by mostly duplicated information. Its still human readable. Its just an indented block of Module::Name: 1.23, its not like its scribbling all over the place. And its very easy to autogenerate. As a matter of fact, look at SVK's existing META.yml file. There's an entire page of "requires" information there. Would you say this swamps all the other information and makes it difficult to read? (File attached)
name: SVK version: 0.30 abstract: A decentralized version control system author: Chia-liang Kao <[EMAIL PROTECTED]> license: perl distribution_type: module requires: Algorithm::Annotate: 0 Algorithm::Diff: 0 YAML: 0.36 Regexp::Shellish: 0 Data::Hierarchy: 0.21 File::Temp: 0.14 Clone: 0 Pod::Escapes: 0 Pod::Simple: 0 PerlIO::via::dynamic: 0.11 PerlIO::via::symlink: 0.02 IO::Digest: 0 SVN::Simple::Edit: 0.27 Date::Parse: 0 File::Type: 0 URI: 0 PerlIO::eol: 0.13 Class::Autouse: 1.15 SVN::Mirror: 0.57 no_index: directory: - inc generated_by: Module::Install version 0.36
