Skip to content

fix sorting by latest version when called with an attribute - #32323

Merged
terminalmage merged 1 commit into
saltstack:2015.8from
mcalmer:fix-ensure-installed-latest-with-attributes
Apr 7, 2016
Merged

terminalmage merged 1 commit into
saltstack:2015.8from
mcalmer:fix-ensure-installed-latest-with-attributes

Conversation

@mcalmer

@mcalmer mcalmer commented Apr 4, 2016

Copy link
Copy Markdown
Contributor

What does this PR do?

Fix a bug.

What issues does this PR fix or reference?

Fix ensure installed latest in case it is called with an attribute list.
Additionally it sort by EVR (called edition).

Tests written?

No

@mcalmer

mcalmer commented Apr 4, 2016

Copy link
Copy Markdown
Contributor Author

Follow up for #32243

@cachedout

Copy link
Copy Markdown
Contributor

Have asked @terminalmage to help with this review. Also, @isbm this might be something you have an opinion on.

@isbm

isbm commented Apr 4, 2016

Copy link
Copy Markdown
Contributor

@cachedout This is a correct patch, since RPM will cut off version, once pkg.info_installed is called with only specific parameters, where no version is passed.

@cachedout

Copy link
Copy Markdown
Contributor

@isbm Thank you very much for the quick response. I will wait for @terminalmage to comment as well and then hopefully merge this.

@terminalmage
terminalmage merged commit 2cc054b into saltstack:2015.8 Apr 7, 2016
@mcalmer
mcalmer deleted the fix-ensure-installed-latest-with-attributes branch March 1, 2020 15:18
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.

4 participants