-
Notifications
You must be signed in to change notification settings - Fork 40
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
Add rule that new versions SHOULD only be released on significant changes #751
Comments
This is expected and not avoidable at this time. In the future, we'd like to refactor how we implement the revision history in our CSAF files to produce more meaningful revision history entries, but it's still a backloged task unfortunately. This example is also a little misleading. This diff is meaningful because it reflects a partial update to how we report the revision history (adding another entry). In most cases, the files will only be regenerated when something significant changes. In some cases, we may need to regenerate all files after releasing certain bug fixes, so you may see some updated files even when those file contents don't change significantly. The significant changes will be found in other CSAF files, which are generated together with / as a set with these files. This has been the case for the past several rounds of bug fixes (all files must be regenerated afterwards). You can find details about recent changes to our CSAF files in our official Red Hat Security Data Changelog: https://access.redhat.com/articles/5554431. Red Hat generates 20k+ CSAF documents and it's not practical to manually decide what is and isn't a relevant update to a file to be able to produce a perfect revision history, and re-generate a file only when needed. Though, if you have a proposal of how we could improve this (at scale), we're open to feedback (here, or [email protected], or Jira). |
@mprpic thanks for looking at the example and responding. I've suggested a SHOULD rule so that exceptions can happen. As far as I can understand Red Hat is in the process of adapting CSAF as one of the early adopters and promoters. And while doing so is improving the processes. So it is okay if things like this happen in the phase. For the standard it would be good to give a recommendation. preventing the example?Before doing the full regeneration, you will have done a test run of the new generator. Some ideas (though you have probably thought of them already):
|
An idea could be also to diff the two documents and generate the |
In the wild we saw new document versions without a change in contents.
For example this Red Hat VEX document:
/document/publisher/namespace https://www.redhat.com
/document/tracking/id CVE-2012-5842
has only a change in the version of the generator.
this should not have triggered a new version of the document in my view.
Even if the new generator has changed things outside of the document (like doing a better signature) , a new document version will trigger CSAF Management Systems into flagging this as new information that would possibly to be reviewed . For larger documents it also wastes computing cycles and backup space, resources which environmentally concious software should preserve.
So a proposal could be to introduce a SHOULD rule to only for only releasing a new revision for significant changes.
For instance a less relevant typo in on of the free text sections should also not trigger a new document. It could wait for a significant change or a number of small changes.
The text was updated successfully, but these errors were encountered: