Skip to content

Add compare function to freezer module#61682

Merged
garethgreenaway merged 2 commits into
saltstack:masterfrom
nicholasmhughes:add-freezer-compare-func
Feb 23, 2022
Merged

Add compare function to freezer module#61682
garethgreenaway merged 2 commits into
saltstack:masterfrom
nicholasmhughes:add-freezer-compare-func

Conversation

@nicholasmhughes

@nicholasmhughes nicholasmhughes commented Feb 22, 2022

Copy link
Copy Markdown
Contributor

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