Goal
As a dnf library user (specifically in Python), I can programatically determine if a package is transient or persistent.
The goal is for Satellite to be able receive a package profile from RHSM with a new section for package persistence. With this information, Satellite can tell users which packages are installed transiently on their hosts. From there, users can improve their Containerfiles to include the transient packages, or at least be educated about which machines will change on reboot.
Acceptance criteria
More details are within the RHSM RFE https://issues.redhat.com/browse/CCT-1343
Some related use of libdnf in RHSM: https://github.com/candlepin/subscription-manager/blob/3eb3ca50939ebf7b177bdaa1d10a74095ebbe33e/src/rhsm/profile.py#L357-L385
Generally, in the same manner that a libdnf user can query a package's name/version/release/etc, it should also be possible to get the persistence of the package in a Python script.
- blocks
-
RHEL-108712 Send package persistence information in package profile
-
- Planning
-
- is cloned by
-
RHEL-104314 As a dnf library user, I can programatically determine if a package is transient or persistent [rhel-9]
-
- Planning
-