voxpupuli / metadata-json-lint

Tool to check the validity of Puppet metadata.json files
Apache License 2.0
29 stars 27 forks source link

Add warning for mixed version range syntax #64

Closed domcleal closed 7 years ago

domcleal commented 7 years ago

semantic_puppet 1.0.0 now accepts a mixed range syntax, per the NodeJS specifications. It should be considered as bad style though as the syntax is unclear and will only be available in Puppet 5 and higher.


Fixes the test failure of mixed_version_syntax on master, which occurred after the release of semantic_puppet 1.0.0 by changing it to expect the new warning.

See https://groups.google.com/forum/#!topic/puppet-dev/BohRo-fqy-g for discussion about whether this is valid or not.