Skip to content

Add compare function to freezer module #61682

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

Merged

Conversation

nicholasmhughes
Copy link
Collaborator

@nicholasmhughes nicholasmhughes commented Feb 22, 2022

What does this PR do?

This PR adds a compare function to the freezer module, which can display the diff between two named frozen states.

What issues does this PR fix or reference?

Fixes: #61681

Previous Behavior

No clean way to diff frozen states natively.

New Behavior

The freezer.compare function shows output similar to that found in the changes dictionary for state output. This can be used to quickly determine changes between packages and repos in two frozen states.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@nicholasmhughes nicholasmhughes requested a review from a team as a code owner February 22, 2022 20:48
@nicholasmhughes nicholasmhughes requested review from garethgreenaway and removed request for a team February 22, 2022 20:48
@garethgreenaway garethgreenaway added this to the Phosphorus v3005.0 milestone Feb 23, 2022
@garethgreenaway garethgreenaway added the Phosphorus v3005.0 Release code name and version label Feb 23, 2022
@garethgreenaway garethgreenaway merged commit cbb22cf into saltstack:master Feb 23, 2022
@nicholasmhughes nicholasmhughes deleted the add-freezer-compare-func branch February 23, 2022 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Phosphorus v3005.0 Release code name and version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] Add a comparison function to the freezer module
2 participants