Mailinglist Archive: opensuse-softwaremgmt (17 mails)
| < Previous | Next > |
[softwaremgmt] Listing patches with "zypper patches/list-patches"
- From: Jano Kupec <jkupec@xxxxxxx>
- Date: Thu, 25 Jun 2009 17:19:55 +0200
- Message-id: <4A43959B.9020304@xxxxxxx>
(In reply to comment #5
https://bugzilla.novell.com/show_bug.cgi?id=506860#c5):
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?
And i guess for 'zypper list-patches' it's only natural that only the
latest version should be shown as well then.
--
cheers,
jano
Ján Kupec
YaST team
---------------------------------------------------------(PGP)---
Key ID: 637EE901
Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901
---------------------------------------------------------(IRC)---
Server: irc.freenode.net
Nick: jniq
Channels: #zypp #yast #suse #susecz
---------------------------------------------------------(EOF)---
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?
And i guess for 'zypper list-patches' it's only natural that only the
latest version should be shown as well then.
--
cheers,
jano
Ján Kupec
YaST team
---------------------------------------------------------(PGP)---
Key ID: 637EE901
Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901
---------------------------------------------------------(IRC)---
Server: irc.freenode.net
Nick: jniq
Channels: #zypp #yast #suse #susecz
---------------------------------------------------------(EOF)---
| < Previous | Next > |