Skip to content

Conversation

@mcalmer
Copy link
Contributor

@mcalmer mcalmer commented Jan 11, 2023

What does this PR do?

What issues does this PR fix or reference?

Enhance zypper pkg module to remove PTF (Product Temporary Fix) packages.

Merge requirements satisfied?

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

Commits signed with GPG?

No

Please review Salt's Contributing Guide for best practices.

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

@mcalmer mcalmer force-pushed the implement-zypper-removeptf-option2 branch from ab70af1 to a4a8b92 Compare January 11, 2023 11:09
@mcalmer mcalmer force-pushed the implement-zypper-removeptf-option2 branch 2 times, most recently from fc99403 to df1d3e8 Compare January 12, 2023 15:31
@mcalmer mcalmer marked this pull request as ready for review January 12, 2023 15:32
@mcalmer mcalmer requested a review from a team as a code owner January 12, 2023 15:32
@mcalmer mcalmer requested review from waynew and removed request for a team January 12, 2023 15:32
Copy link
Contributor

@Ch3LL Ch3LL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this approach much better. Thanks :) I just left a couple more suggestions.

@mcalmer mcalmer force-pushed the implement-zypper-removeptf-option2 branch 2 times, most recently from a932b81 to 8cdbeb8 Compare January 14, 2023 10:43
@mcalmer mcalmer requested review from Ch3LL and removed request for waynew January 16, 2023 10:49
@mcalmer mcalmer force-pushed the implement-zypper-removeptf-option2 branch from 8cdbeb8 to 58feb8c Compare February 26, 2023 13:42
Ch3LL
Ch3LL previously approved these changes Mar 22, 2023
@Ch3LL Ch3LL temporarily deployed to ci June 6, 2023 21:01 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci June 6, 2023 21:01 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci June 6, 2023 21:01 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci June 6, 2023 21:02 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci June 6, 2023 21:17 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci June 6, 2023 21:22 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci June 7, 2023 00:21 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci June 7, 2023 00:21 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci June 7, 2023 00:21 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci June 7, 2023 00:21 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci June 7, 2023 00:21 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 19:06 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 19:25 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 19:26 — with GitHub Actions Inactive
@Ch3LL Ch3LL force-pushed the implement-zypper-removeptf-option2 branch from c055689 to 9d0f656 Compare October 18, 2023 20:08
@Ch3LL Ch3LL temporarily deployed to ci October 18, 2023 20:43 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci October 18, 2023 20:43 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci October 18, 2023 20:55 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci October 18, 2023 20:55 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci October 18, 2023 20:55 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci October 18, 2023 20:55 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci October 18, 2023 23:55 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci October 18, 2023 23:55 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci October 18, 2023 23:56 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci October 18, 2023 23:56 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci October 18, 2023 23:56 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci October 18, 2023 23:56 — with GitHub Actions Inactive
@dwoz dwoz added this to the Chlorine v3007.0 milestone Dec 16, 2023
@dwoz dwoz merged commit da4579e into saltstack:master Dec 16, 2023
agraul pushed a commit to agraul/salt that referenced this pull request Jan 27, 2025
* handle ptf packages inside of normal pkg.remove function

* add testcase for remove and removeptf

* add changelog

* adapt old tests to changed function

* Update Docs

Co-authored-by: Megan Wilhite <mwilhite@vmware.com>

BACKPORT-UPSTREAM=saltstack#63460
agraul added a commit to agraul/salt that referenced this pull request Jan 27, 2025
Fixes a problem in `_find_ptf_packages()` when passing multiple packages to `zypperpkg.remove` / `zypperpkg.purge`. The problem occurs when a passed package is not installed, in that case the output of the `rpm` subprocess is not parsed correctly.

BACKPORT-UPSTREAM=saltstack#63460
DOWNSTREAM-REF=openSUSE/salt#578
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants