Mailinglist Archive: opensuse-softwaremgmt (17 mails)

< Previous Next >
Re: [softwaremgmt] Listing patches with "zypper patches/list-patches"
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Mon, 29 Jun 2009 13:52:47 +0200
  • Message-id: <200906291352.47454.ma@xxxxxxx>
On Thursday 25 June 2009 17:19:55 Jano Kupec wrote:
(In reply to comment #5

https://bugzilla.novell.com/show_bug.cgi?id=506860#c5):
Anyway, IMO zypper should not deal with individual patch
resolvables, but use Selectable and test for Selectable::isSatisfied
(this considers the latest version of the patch).

Agreed, i'll do it.

But it made me think abou the patch lists we show. Currently 'zypper
patches' shows all versions (resolvables):

$ zypper patches
<cut>
openSUSE 11.1 Updates │ xpdf │ 579 │ recommended │ Not Applicable
openSUSE 11.1 Updates │ xpdf │ 793 │ security │ Not Applicable
<cut>

Shouldn't we show only the latest, esp. if the policy dictates (is it
documented somewhere?) that newer patches obsolete the older ones?

Well - Patches are assertions, so I'd say they 'include' older ones rather
than 'obsolete' them.

And i guess for 'zypper list-patches' it's only natural that only the
latest version should be shown as well then.

Zyppers suggestions should be based on the status of the latest patch
version(level). But I don't think we should completely hide the older
versions.

When looking for a patch that fixed a certain bug, you may find it's fixed
in somepatch-3. So you want to see if somepatch-3 is satisfied, even if
somepatch-4 is already released. Maybe you consider somepatch-4 not being
that important, and decide to stay at level -3.

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

--
To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-softwaremgmt+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups
References