Subject: | metayml_has_repository_resource not validating correctly |
I have tried to find this metric, but I keep seeing references to Module::CPANTS::SiteKwalitee, which doesn't exist on CPAN, so I'm guessing this bit exists there.
However, the experimental metric metayml_has_repository_resource seems to be a bit unpredictable. For most of my dists this works fine, however, I had a failure recently (http://cpants.cpanauthors.org/dist/CPAN-Testers-WWW-Reports/metadata) as follows:
Metadata
Analyzed metadata and errors of CPAN-Testers-WWW-Reports.
{
...
"got_prereq_from" : "META.yml",
"kwalitee" : {
...
"metayml_has_repository_resource" : 0,
...
},
...
"meta_yml" : {
...
"resources" : {
"bugtracker" : "http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Testers-WWW-Reports",
"license" : "http://www.perlfoundation.org/artistic_license_2_0",
"repository" : "http://github.com/barbie/cpan-testers-www-reports"
},
...
},
"metayml_is_parsable" : 1,
...
"package" : "CPAN-Testers-WWW-Reports-3.49.tar.gz",
...
}
So the analysis shows that META,yml clearly has a resource->repository reference, but the kwalitee indicator says it doesn't.
I'd try and find the bug if I knew where to look :(
PS: I found Module::CPANTS::SiteKwalitee on GitHub, but this metric doesn't exist there either!