On 9/13/06, Thomas Klausner <[EMAIL PROTECTED]> wrote:
Yes, the metric currently checks if there's a 'license' field in META.yml
META.yml is supposed to get most of distribution information in a format that it is safe and comprehensible. No need for further heuristics. It is a good thing that the distributions have complete META.yml files -- it decreases the effort to retrieve information, it avoids the need to run code. As META.yml gets more pervasive, we can trust it even more. A license in docs which does not match the license in META.yml could be thought as a mistake by convention, and the naive solution would be to rely on META.yml
Maybe it would be reasonable to also check for a POD-Heading named LICENSE, but that's definitly more error-prone.
Tell one place where people should look to have a bunch of information about a Perl dist? META.yml, Makefile.PL, Build.PL, README, the sources, etc. do not look like a good answer. A simple one would be desirable. The META.yml specification from Module::Build is lame? Let's fix this together with Module::Build author. Let's make META.yml useful. CPAN relies on 'no_index' fields already - an information which is nowhere else. Other examples may follow. My $0.02. Adriano Ferreira.