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

[PR #4316/c698ecd2 backport][stable-4] pacman: add support for remove_nosave #4329

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Mar 8, 2022

This is a backport of PR #4316 as merged into main (c698ecd).

SUMMARY

New parameter: remove_nosave
When enabled, will pass --nosave to pacman when removing packages.
--nosave cannot be used with --print-format and thus it couldn't be
passed via extra_args. See #4315

The code adds the option right before the actual removal of the pkgs.

(This is based on an initial diff from @MorphBonehunter)

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

pacman

* pacman: add support for remove_nosave

New parameter: remove_nosave
When enabled, will pass --nosave to pacman when removing packages.
--nosave cannot be used with --print-format and thus it couldn't be
passed via extra_args. See #4315

The code adds the option right before the actual removal of the pkgs.

(This is based on an initial diff from MorphBonehunter)

* changelog

* Update plugins/modules/packaging/os/pacman.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* wording

* ssss

* remove_package: simplify {force,extra,nosave}_args

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit c698ecd)
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport feature This issue/PR relates to a feature request integration tests/integration module module new_contributor Help guide this first time contributor os packaging plugins plugin (any type) tests tests labels Mar 8, 2022
@felixfontein felixfontein merged commit 012f684 into stable-4 Mar 8, 2022
@felixfontein felixfontein deleted the patchback/backports/stable-4/c698ecd201ff874898c467382977da9da6c96e34/pr-4316 branch March 8, 2022 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport feature This issue/PR relates to a feature request integration tests/integration module module new_contributor Help guide this first time contributor os packaging plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants