https://jira.suse.com/browse/PED-8014https://jira.suse.com/browse/OBS-301
Hi.
We're about to introduce a new zypp::VendorSupportOptionzypp enum value
VendorSupportSuperseded:
/**
* The package was discontinued and has been superseded by a new package
* with a different name. The new package is the successor of the
* old package, and as such only the new package is supported
* in the future.
*
* The old package will not receive updates anymore, so it's highly
* recommended to switch to the new package as soon as possible.
*
* \Note Packages carrying this flag also return the name of a
* successor in \ref Package::supersededBy().
*/
VendorSupportSuperseded
It's slightly different than the well known VendorSupport{ACC,Level[123]} enum
values. Packages with VendorSupportSuperseded will also offer a list of package
names (and most probably a list of satSolvables in Package::supersededByItems).
The user string for the enum value is kind of generic: "The package was
discontinued and has been superseded by a new package with a different name."
It may be appropriate to somehow join it with the list of superseding items.
The API to retrieve the values will be available in libzypp 17.32.0.
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres (he/him/his), Engineering & Innovation, ma(a)suse.com
+------------------------------------------------------------------+
SUSE Software Solutions Germany GmbH www.suse.com
Frankenstr. 146, 90461 Nuernberg, Germany
Geschäftsführer: Ivo Totev, Andrew McDonald, Werner Knoblich
(HRB 36809, AG Nürnberg)
+------------------------------------------------------------------+