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 #9270/825e0ee3 backport][stable-10] zypper: add simple_errors option - fixes #8416 #9370

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Dec 25, 2024

This is a backport of PR #9270 as merged into main (825e0ee).

SUMMARY

This fixes #8416

It adds a simple_errors option for the zypper module which can be used to simplify or reduce the error output of the zypper module during package installs/updates so that only the content of <message> tags are displayed. (Default is false so the default behavior is unaffected)

It also adds a quiet option for the zypper module to allow for the option to disable the --quiet parameter from being passed to the zypper command. (Default is true so the default behavior is unaffected.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

zypper module

* zypper: add simple_errors option -fixes #8416

* Fix style issues

* Apply suggestions from code review

Co-authored-by: Felix Fontein <[email protected]>

* Fix indentation

* Add changelog fragment

* Apply suggestions from code review

Co-authored-by: Felix Fontein <[email protected]>

* Updated as per code review recommendations

* Fix whitespace

* Add quiet option, fix logic, update changelog

* Fix trailing whitespace

* Update plugins/modules/zypper.py

Co-authored-by: Felix Fontein <[email protected]>

* Add suggested improvements

---------

Co-authored-by: Eric Hoogeveen <[email protected]>
Co-authored-by: Felix Fontein <[email protected]>
(cherry picked from commit 825e0ee)
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport feature This issue/PR relates to a feature request module module new_contributor Help guide this first time contributor plugins plugin (any type) labels Dec 25, 2024
@felixfontein felixfontein merged commit 74bd7f1 into stable-10 Dec 25, 2024
129 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-10/825e0ee377f3bfaea9528d9e76c6041cc9ab193c/pr-9270 branch December 25, 2024 15:46
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 module module new_contributor Help guide this first time contributor plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants