Skip Menu |

This queue is for tickets about the DBD-CSV CPAN distribution.

Report information
The Basics
Id: 80673
Status: resolved
Priority: 0/
Queue: DBD-CSV

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

Bug Information
Severity: Normal
Broken in: 0.36
Fixed in: 0.37



Subject: Invalid META.json
Unfortunately, META.json in this release is invalid.

The following top level keys you  have used are not valid in the METAv2 spec:

installdirs
test_requires
distribution_type
requires
configure_requires
build_requires
recommends

All dependency types are instead children of

prereqs

Additionally, some of the fields you have used are of the wrong type:

'licence' in V2 is an array.

Here is an automated conversion of your V1 META.yml to JSON form:

https://gist.github.com/a6961e77d028ac6a0bc4

And the simple script I used for the translation:

https://gist.github.com/07ac68adfa69de0ee926

 

Note it does a good, but imperfect job, as some of the translated fields from V1 were also invalid in V1.
 

"x_test_requires" # should appear as {prereqs}->{test}->{requires}
"x_installdirs"   # no idea what uses this flag, its the first Time I've seen it, and its not part of either V1 or V2 spec.

Hope this helps.