Issue #7183 has been updated by Daniel Pittman.

After discussion with Nick and Randall:

We discussed the idea of "invisible glob" matching being "equal or greater" for 
the second and third digits of the match, and decided that was more magic than 
we wanted to implicitly support.  When we encounter the need we will extend the 
syntax of matching to support more complex descriptions of intent and allow the 
user to go ahead and tell us what they wanted explicitly.
----------------------------------------
Feature #7183: Implement "invisible glob" version matching for faces
https://projects.puppetlabs.com/issues/7183

Author: Daniel Pittman
Status: Accepted
Priority: Immediate
Assignee: Daniel Pittman
Category: Faces
Target version: Statler
Affected Puppet version: development
Keywords: 
Branch: 


At the moment we only support "exact match" when requesting a face to either 
extend, or use.  This is kind of undesirable in the face of our use of semantic 
versioning, under which the last digit is utterly irrelevant to the end user 
almost all the time, and they totally do *not* want to explicitly stick with 
the current set of bugs forever.

We should implement "invisible glob", or "prefix" matching: you specify digits 
from the left, and we treat the highest version that matches that prefix to be 
the one you wanted:

    1 => 1.0.0, 1.1.*, etc
    1.1 => 1.1.*, but not 1.0.* or 1.2.*

This won't be sufficient forever, since someone will eventually want to match 
"1.1 or greater", but it doesn't shut the door on extending the syntax when we 
get that far, and we can have this working right now, for release 0.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to