On Sat Aug 31 01:00:24 2013, ETHER wrote:
Show quoted text> This seems to be affecting all the metayml metrics -- e.g.
>
http://cpants.cpanauthors.org/dist/MooseX-Storage (version 0.40)
> claims there is no perl version specified in prereqs, when it is
> actually there in both META.json and META.yml -- only because the
> META.json data is being used as if it were in 1.4 format, the prereq
> information is in the wrong place.
>
> META.json and META.yml data cannot be used interchangably - they are
> in different formats. It would be better to have separate metajson
> metrics, that are calculated entirely separately from metayml.
There are several topics in this thread, but for the moment, META.json and META.yml should be used interchangeably. See
https://github.com/andk/pause/blob/master/lib/PAUSE/dist.pm#L905 and around. It's true we need to take more care about the spec version in the META.(json|yml), though (ie. by using CPAN::Meta when necessary).
That said, it's nice to have metrics (or analysis) dedicated to META.json in the future, especially because the contents of META.yml and META.json may differ sometimes.