![]() |
|
|
|
|
Issue Type:
|
New Feature
|
|
Assignee:
|
Unassigned |
|
Created:
|
05/Aug/13 2:38 PM
|
|
Description:
|
The VersionRange class (used among other for module dependencies) currently supports a very simple syntax:
- * - includes all versions
- 1.2 - matches only 1.2 exactly
- 1.2/* - matches all versions including and above 1.2
- 1.2/1.2.9 - matches all versions including and between 1.2 and 1.2.9
It'd be beneficial to be able to exclude versions in a range - currently, if you want to specify a dependency as "1.* but not 2.0", you can only use 1/1.999, which isn't elegant.. nor safe. We could support the following syntaxes - "math"-style, and Maven style:
- [1.2,1.2.9] - inward square brackets mean inclusion/exclusion
- [1.2,1.2.9[ - outward square brackets mean exclusion
- [1.2,1.2.9) - parenthesis mean exclusion
Maven style is described here:
I currently don't see a use for supporting multiple sets, although it could be useful to avoid a specific, known-buggy, version.
|
|
Fix Versions:
|
5.0.2, 5.1 |
|
Project:
|
Magnolia
|
|
Priority:
|
Neutral
|
|
Reporter:
|
Grégory Joseph
|
|
Security Level:
|
Public |
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------