On Tue, Nov 25, 2008 at 1:11 PM, Martin Evans <[EMAIL PROTECTED]> wrote: > Gabor Szabo wrote: >> >> On Tue, Nov 25, 2008 at 12:59 PM, Martin Evans >> <[EMAIL PROTECTED]> wrote: >>> >>> Gabor Szabo wrote: >>>> >>>> A month ago we had a discussion about the license field of META.yml >>>> >>>> Back then there were 10,235 modules on CPAN without a license field in >>>> META.yml. >>>> Today I checked it again an there are now 10,264 such modules. >>>> >>>> Now either people still don't know about it, don't care or there is a >>>> bug in CPANTS that >>>> does not know how to check it. >>>> http://cpants.perl.org/dist/shortcoming?metric=metayml_has_license >>>> >>>> Can anyone point me at a module that has license field (with a value >>>> that is not undef) in >>>> the META.yml and CPANTS does not recognize it? >>>> >>>> Gabor >>>> http://szabgab.com/blog/2008/11/1227608301.html >>>> >>>> >>> Not 100% sure but try >>> >>> http://cpants.perl.org/dist/kwalitee/DBIx-Log4perl >> >> >> http://search.cpan.org/src/MJEVANS/DBIx-Log4perl-0.13/META.yml >> >> its license field is ~ (that is empty) >> That's not good either, along with fields that are undef. >> >> Gabor >> >> > You are right it is ~. However, in the META.YML I typed in before running > make tardist (and what is checked in to source control) it says: > > --- #YAML:1.0 > name: DBIx-Log4perl > abstract: Log all Perl DBI calls Log::Log4perl > version: 0.13 > version_from: lib/DBIx/Log4perl.pm > author: Martin J. Evans > license: perl > distribution_type: module > requires: > DBI: 1.5 > Log::Log4perl: 1.04 > Test::More: 0.62 > build_requires: > DBI: 1.21 > configure_requires: > DBI: 1.21 > resources: > license: http://dev.perl.org/licenses/ > bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=DBIx-Log4perl > installdirs: site > keywords: > > So somewhere along the line that got changed - I guess forgot to set > "NO_META" in the options for EU::MM.
Probably but I don't know how that works as I let MB or EU::MM generate the META.yml for me and add the license field from the Build.PL/Makefile.PL file. I don't even keep META.yml in version control. Gabor