Subject: | Repository information does not conform to spec |
CPANTS doesn't seem to like the META.yml generated by
Module::Install::GithubMeta, in ->{resources}{repository}{url} section:
http://cpants.cpanauthors.org/dist/Class-Method-Modifiers/metadata
"error" : {
"metayml_conforms_spec_current" : [
"1.4",
"'HASH(0x3a2e710)' for 'repository' does not have a URL scheme
(resources -> repository) [Validation: 1.4]"
],
"metayml_conforms_to_known_spec" : [
"1.4",
"'HASH(0x3a2e710)' for 'repository' does not have a URL scheme
(resources -> repository) [Validation: 1.4]"
]
},
The metadata it generated is:
...
resources:
homepage:
https://github.com/karenetheridge/Class-Method-Modifiers/tree
license: http://dev.perl.org/licenses/
repository:
type: git
url: git://github.com/karenetheridge/Class-Method-Modifiers.git
web: https://github.com/karenetheridge/Class-Method-Modifiers/tree
According to
https://metacpan.org/source/DAGOLDEN/CPAN-Meta-2.120921/history/META-spec-1_4.pod,
the 'repository' field should be a string, not a hash. The repository
subfields weren't added until metaspec v2.0.