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

[master] Fix loadup master. Backport #878 #880

Merged
merged 3 commits into from
Sep 14, 2021

Conversation

jjnicola
Copy link
Member

@jjnicola jjnicola commented Sep 14, 2021

What:
Fix loadup master. Backport #878

Why:
When a plugin modification was done quite earlier than the time in which it is put in the feed,
the mtime is older than the feed version and the plugin is no uploaded/updated in the redis cache.
This produced that some metadata or preferences is outdated for vts in this situation.
This patch fix this, and now the upload is always done for all vts to ensure that the cache is up-to-date.

How:

Checklist:

When a plugin modification was done quite earlier than the time in which it is put in the feed,
the mtime is older than the feed version and the plugin is no uploaded/updated in the redis cache.
This produced that some metadata or preferences is outdated for vts in this situation.
This patch fix this, and now the upload is always done for all vts to ensure that the cache is up-to-date.
@jjnicola jjnicola requested a review from a team as a code owner September 14, 2021 14:22
@y0urself y0urself merged commit a1724ba into greenbone:master Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants