In Puppet 5.0.0, where SemanticPuppet 1.0.0 is used, ">= 1.x" is a legal version requirement. It is interpreted as '>=1.0.0'. Mixing operator and .x branches can be somewhat confusing though, and therefore not something that I'd recommend. For instance:
">1.x" is the same as ">2.0.0" "<=2.x" is the same as "<3.0.0" - thomas On Fri, May 26, 2017 at 1:40 PM, Dominic Cleal <[email protected]> wrote: > Hello, > > In metadata-json-lint, we have an issue about whether to mark ">= 1.x" > (a literal "x") version requirements as permitted or not. > > https://docs.puppet.com/puppet/latest/modules_metadata.html#version- > specifiers > states that "1.x" version requirements can't be mixed with greater/less > than operators, but recently under PUP-6373, semantic_puppet started > parsing them. > > I've opened https://github.com/puppetlabs/semantic_puppet/pull/24 to > disallow them again, but is this correct? > > Does anybody know if a) they should start to be allowed , b) if > semantic_puppet should disallow them, or c) if semantic_puppet may allow > them but metadata-json-lint should disallow them? > > Cheers, > > -- > Dominic Cleal > [email protected] > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-dev/aea60427-c976-b857-fd91-d3383a2d3efa%40cleal.org. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/CAO5TtCv6rEoA-HXjqwO4UCs5hoL4eJLm_KbDsW-X6p1CLqCNJA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
