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
version number of NeXus definitions: need to be able to change this #387
Comments
from cmake_include/nxdl_release.cmake: Be VERY judicious about updating
|
references on versioning in XML Schema:
There are several version numbers to be considered: We already have (1). Older versions can be obtained from version control (with some investigative work). We do not have an easy way to change (3). This is currently the version tied to the release. It can be argued that this number should not change very often. A change to this version number is quite complex since it is used in the declared namespace for all NXDL files. Software (both within NeXus and 3rd party) has this number built in. The rules we have set out for writing NXDL seem to be stable. AND, the way we use this version number in the nxdl.xsd is consistent with the best practices document. This need expressed by this issue is concerned more with (2). At present, we have no identified component that differentiates between (2) and (3). At present, we have no identified component that differentiates between (2) and (3). To implement (2), it may be as simple as adding a clearly-defined term that provides this version, such that its change does not require every NXDL file and every software tool to be updated. When this number is changed, we would create a new tag in GitHub so that older version would remain accessible. Any proposed versioning method for (2) needs to be tested before it is accepted to ensure this will provide us the version service we need to write and validate data files. |
The top-level file The XML namespace, and consequently the schemaLocation, both incorporate the string "3.1" into the XML Schema (
This is the string that, due to its use in the namespace and schemaLocation strings, has become very difficult to change. One proposition for (2) above is that we leave the namespace string constant as we change the |
from the discussion during today's telco: There are four known uses of the NeXus definitions version: Here is the proposition: Each NXDL file has a "version" attribute. This solves (1). Is there a more accessible place to keep and provide this version information? Item (2) may not be necessary to solve. Discussion? Changes in item (3) are the best motivation for a new version number. One example for an update to the version number might be due to the addition of the NIAC 2014 method to identify the default data to be plotted. Item (4)
|
|
Suggest we use a modified semantic versioning: major.minor and no ".patch" major: (not described above) 3 (currently) - changes in NXDL language that are incompatible with previous versions patch: (item 1 above) releases for NXDL file changes
|
This latest content added to the manual installation page. |
Currently, a change in the version number will likely cause problems with the validation of both NXDL files and data files. We need to identify exactly what are the problems and then address them with a method to make it easier to change the version and document for each NXDL what is the compatilibity.
The text was updated successfully, but these errors were encountered: