Skip Menu |

This queue is for tickets about the Test-Kwalitee CPAN distribution.

Report information
The Basics
Id: 59860
Status: resolved
Priority: 0/
Queue: Test-Kwalitee

People
Owner: Nobody in particular
Requestors: MSTEVENS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.01
Fixed in: (no value)



Subject: META.yml error raised when MakeMaker is autogenerating it
I get the warning: t/kwalitee.t ........... 1/13 # Failed test 'has_meta_yml' # at /usr/local/share/perl/5.10.1/Test/Kwalitee.pm line 101. # Add a META.yml to the distribution. Your buildtool should be able to autogenerate it.The file 'META.yml' is missing from this distribution. META.yml is needed by people maintaining module collections (like CPAN), for people writing installation tools, or just people who want to know some stuff about a distribution before downloading it. # Looks like you failed 1 test of 13. It's correct there's no META.yml in my source tree. I'm using ExtUtils::MakeMaker to autogenerate it when I build the dist, so users do get one. Surely this isn't a sign of a lack of kwalitee?
You're absolutely right. I wonder if checking that if you're using EUMM or M::B or M::I is sufficient to assume that something will write a META.yml for you. All modern versions of those tools do.
On Thu Aug 12 15:16:22 2010, CHROMATIC wrote: Show quoted text
> You're absolutely right. I wonder if checking that if you're using EUMM > or M::B or M::I is sufficient to assume that something will write a > META.yml for you. All modern versions of those tools do.
Sounds good to me. If you're feeling fancy you could do a "make dist" and inspect that. But that could be complicated.
I don't think this is a bug -- the tests should be run in a *build* directory, not necessarily a bare repository. Running via 'make test' or 'dzil test' or ./Build.PL test should all be sufficient - alternatively if the test is restricted to release-time only then a build dir should exist.