Christopher H. Laco wrote: > Thomas Klausner wrote: >> Hi! >> >> I had some time recently and added some first META.yml checking to >> CPANTS (with the help of Gabor Szabo): >> >> metayml_is_parsable >> metayml_has_license >> metayml_conforms_spec >> >> metayml_has_license now indictes whether there's a computer readable >> license in META.yml, while (the also new metric) >> has_humanreadable_license does some where basic guessing if there's a >> human-readable license (LICENSE file or pod-section). >> >> metayml_conforms_spec currently very much busts the CPANTS game. I'm >> checking if the files comply to META.yml spec 1.2. Most don't, because >> they seem to use 1.0 >> Should I switch to 1.0-checking? > > Well, files that declare themselves as nothing: --- > are a free for all... > > > Files that declare: --- #YAML:1.0 should pass the 1.0 spec > Files that declare: --- #YAML:1.1 should pass the 1.2 spec
err... Files that declare: --- #YAML:1.2 should pass the 1.2 spec I know what I meant. :-)
signature.asc
Description: OpenPGP digital signature