Project

General

Custom queries

Profile

Actions

Bug #15440

closed

Newer version of zypper changed the behaviour of the --quiet option which breaks zypper_pattern module

Added by Félix DALLIDET over 5 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

In our zypper* packages modules we always used the "--quiet" options in our commands.
BUT, since the newer versions of zypper it now truncate the good part of stdout on some commands like "zypper info".

Behaviour did not change for the command "zypper list-updates" which the only one that we parse in the "zypper" module.
We only need to change the "zypper_pattern" one to get rid of the --quiet options in at least the info command

Actions #6

Updated by Félix DALLIDET over 4 years ago

  • Status changed from New to Resolved

Closing this issue since it has been fixed on the zypper side for future SLES/OpenSuse releases: https://github.com/openSUSE/zypper/issues/287
Also, we applied the workaround (not running the quiet option and change the matching part) in https://github.com/Normation/ncf/pull/1039/files.

Actions

Also available in: Atom PDF