ZYPP: Changes regarding project Lotus and the introduction of PTFs
Hi. (Available since libzypp-17.27.0) The introduction of PTFs brings a few changes which may affect the YAST package selector: A while ago we introduced retracted patches/packages. In some respects PTFs and retracted packages behave similar: Independently of their version they will never be considered as a candidate by the resolver unless one explicitly selects them. This is why we sort retracted packages always to the end of the list of available version of a package (in zypp:ui:Selectable). And we will now do the same with PTFs. While it's disfavored to select and install retracted packages, selecting a PTF, and deselecting it once the official patches contain the fix, will be common. Nevertheless they are no candidate in the 'normal' package selection, but must be selected explicitely. Due to this we introduced the term of 'blacklisted' packages. Blacklisted = Retracted || Ptf Blacklisted packages are those which are sorted to the end of the lists and are otherwise ignored by the resolver. You need to explicitly select them if you want them. According to the already available isRetracted() methods in sat::Solvable, PoolItem, ResObjects and hasRetracted(), hasRetractedInstalled() methods in ui::Selectable, we now introduced isBlacklisted(), hasBlacklisted(), hasBlacklistedInstalled() methods which cover any type of blacklisted items. And of course the corresponding *Ptf() methods, so you can tell why some item is blacklisted. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres, E&I, ma@suse.com, Phone: ++49 (0)911 - 74 053-0 +------------------------------------------------------------------+ SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg Germany, (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer +------------------------------------------------------------------+
On Thu, Jun 10, 2021 at 6:29 PM Michael Andres <ma@suse.com> wrote:
Hi.
(Available since libzypp-17.27.0)
The introduction of PTFs brings a few changes which may affect the YAST package selector:
A while ago we introduced retracted patches/packages. In some respects PTFs and retracted packages behave similar: Independently of their version they will never be considered as a candidate by the resolver unless one explicitly selects them. This is why we sort retracted packages always to the end of the list of available version of a package (in zypp:ui:Selectable).
And we will now do the same with PTFs.
While it's disfavored to select and install retracted packages, selecting a PTF, and deselecting it once the official patches contain the fix, will be common. Nevertheless they are no candidate in the 'normal' package selection, but must be selected explicitely.
Due to this we introduced the term of 'blacklisted' packages.
Blacklisted = Retracted || Ptf
Blacklisted packages are those which are sorted to the end of the lists and are otherwise ignored by the resolver. You need to explicitly select them if you want them.
According to the already available isRetracted() methods in sat::Solvable, PoolItem, ResObjects and hasRetracted(), hasRetractedInstalled() methods in ui::Selectable, we now introduced isBlacklisted(), hasBlacklisted(), hasBlacklistedInstalled() methods which cover any type of blacklisted items. And of course the corresponding *Ptf() methods, so you can tell why some item is blacklisted.
What is "Project Lotus"? -- 真実はいつも一つ!/ Always, there's only one truth!
participants (2)
-
Michael Andres
-
Neal Gompa