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

Some improvements and fixes to the freezer module #54022

Closed
wants to merge 2 commits into from

Conversation

aplanas
Copy link
Contributor

@aplanas aplanas commented Jul 26, 2019

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

Copy link
Contributor

@twangboy twangboy left a 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

Copy link
Contributor

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

Copy link
Contributor Author

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?

Copy link
Contributor Author

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

@aplanas
Copy link
Contributor Author

aplanas commented Oct 14, 2019

Rebased on top of master as part of #54960

@aplanas aplanas closed this Oct 14, 2019
@aplanas aplanas deleted the fix_freezer branch October 14, 2019 13:02
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.

3 participants