Skip to content
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

Allow detecting a ROLIE update efficiently #677

Open
ctron opened this issue Jan 8, 2024 · 3 comments · Fixed by #856 · May be fixed by #861
Open

Allow detecting a ROLIE update efficiently #677

ctron opened this issue Jan 8, 2024 · 3 comments · Fixed by #856 · May be fixed by #861
Assignees
Labels
csaf 2.1 csaf 2.1 work editor-revision already worked on in the editor revision motion_passed A motion has passed

Comments

@ctron
Copy link

ctron commented Jan 8, 2024

Currently, to my understanding of the spec, the ROLIE feed documents grow with each added CSAF document. Assuming a larger quantity of documents, this can lead to a signification size of those ROLIE JSON documents.

However, in order to understand/detect if a ROLIE feed contains new data, it is required to load the full file, and evaluate the contained .feed.updated field.

This may lead to a signification amount of traffic, just for detecting a change in the file (a need to update).

I think it would make sense to extract this information, and make it cheaper to detect if a ROLIE file needs to be re-processed.

To my understanding there is a "ROLIE service document", however this seems to be defined by RFC8322, which defines the service document itself in RFC5023 … and unfortunately does not contain such information. However, the RFC also seems to indicate that "extensions" are possible on the level of a collection entry.

My proposal would be to add a field (e.g. named updated), which carries the field of the .feed.updated field of the ROLIE JSON feed document. Adding a requirement, that when a "service document" is used, this field must be in sync between the service document collections entries and the actual ROLIE feed document.

@tschmidtb51
Copy link
Contributor

@ctron The comments mailing list is now back online. Please formally announce your suggestion there, e.g. through "Please see our suggest in Github Issue XYZ (https://github.com/oasis-tcs/csaf/issues/XYZ)."

@tschmidtb51
Copy link
Contributor

This has been suggested on the comment mailing.

@sthagen
Copy link
Contributor

sthagen commented Dec 18, 2024

During the 2024-12-18 TC meeting Thomas Schmidt moved to accept the proposal, seconded by Martin Prpic, no discussion, no objections, the motion carries.

@tschmidtb51 tschmidtb51 added the motion_passed A motion has passed label Dec 18, 2024
tschmidtb51 added a commit to tschmidtb51/csaf that referenced this issue Jan 16, 2025
- addresses parts of oasis-tcs#677
- add `last_updated` ROLIE section in PMD schema
tschmidtb51 added a commit to tschmidtb51/csaf that referenced this issue Jan 16, 2025
- addresses parts of oasis-tcs#677
- adapt examples to reflect change
@tschmidtb51 tschmidtb51 added the editor-revision already worked on in the editor revision label Jan 16, 2025
@tschmidtb51 tschmidtb51 linked a pull request Jan 29, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
csaf 2.1 csaf 2.1 work editor-revision already worked on in the editor revision motion_passed A motion has passed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants