-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Some improvements and fixes to the freezer module #54022
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should also probably add this to the release notes for sodium (create the file if it doesn't exist)
@@ -190,6 +190,9 @@ def restore(name=None, **kwargs): | |||
name | |||
Name of the frozen state. Optional. | |||
|
|||
clean | |||
In True remove the frozen information YAML from the cache | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a versionadded comment here for the new parameter. I think it's something like this:
.. version-added:: Sodium
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have the backport to Neon in #54023, do I need to put Neon just in case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also added the release note in neon
Rebased on top of master as part of #54960 |
What does this PR do?
Fix a bug when the module try to re-create the directory where the package information is stored, and add a new parameter in the restore function to clean the YAML document that contain this information after a successful recovery.
Tests written?
Yes/No