New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cversion attribute in <condition> element does not allow to change major version #273
Comments
I can confirm that packs do not follow the MAJOR rule, they got accepted. We can still modify most of the tools with:
|
I think the bit we are missing with version range
since
is a speculative hack. In the CMSIS-Toolbox project format we have defined: |
Please note that range |
@edriouk I had not thought about that !!! Note: in order for the version to be schema compliant something needs to follow the
|
@edriouk is it today possible to use |
Cversion:Specifies a software component version require Cversion: condition is true if version of component is equal or higher than requested but compatible. According to Semantic Versioning compatibility requires the major version to remain unchanged. deny Cversion: condition is true if version of component is lower than requested. Version ranges are specified with Only specifying the min_version |
@ReinhardKeil , semantic versioning works consistently across our tools, including |
…ition by components (#281) Clarify that in conditions Cversion and Capiversion specified by minVersion only only resolve to true for compatible versions, meaning for the same major version value as specified in minVersion. closing #273 closing #274 --------- Co-authored-by: Daniel Brondani <daniel.brondani@arm.com>
The Cversion attribute in the
<condition>
element specifies a minimum version. The documentation is unspecific on behavior of major version changes. However with Semantic versioning the change of MAJOR version number implies an incompatible change. The CMSIS tools implement an algorithm that does not allow to cross MAJOR version (except when an explicit version range is specified with a maxVersion that has a higher major version).The documentation needs clarification under:
https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/pdsc_conditions_pg.html#element_require
Questions:
version
evaluation in element<requirements>
elements. A pack with a higher major version is accepted. Can you confirm?Cversion=5.6.0:6
is accepted, but what is the actual behaviour.The text was updated successfully, but these errors were encountered: