jonathanstowe / Test-META

Test that a Perl 6 project has a good and proper META file
Artistic License 2.0
10 stars 11 forks source link

Report invalid "*" versions #28

Closed zoffixznet closed 7 years ago

zoffixznet commented 7 years ago

if a module has "*" as version in META file, it should be reported as a meta error. Per: https://irclog.perlgeek.de/perl6-dev/2017-06-16#i_14743456

eveo    Well, it's using "*" as a version number
TimToady    that's not really a valid version number; it's a valid version number matcher
TimToady    wildcards should not be part of the identity of a module; they should only be used where dependencies are being checked
jonathanstowe commented 7 years ago

Sounds sensible to me. I'll try to have a look this evening.

jonathanstowe commented 7 years ago

I'm going to make the test "shouldn't have any '*' as part of the version"

jonathanstowe commented 7 years ago

Okay I didn't leave it till the evening.