Bug 1959066 - Add API to expose update severity (low, medium, high, urgent)
Summary: Add API to expose update severity (low, medium, high, urgent)
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-10 16:36 UTC by Neal Gompa
Modified: 2021-05-20 13:19 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-05-17 08:36:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure fedora-workstation issue 107 0 None None None 2021-05-10 16:36:59 UTC

Description Neal Gompa 2021-05-10 16:36:59 UTC
Description of problem:
libdnf's advisory API for the context API lacks a method that returns the severity for an update advisory. This makes it impossible for PackageKit to give software centers the option to be smarter about requiring updates to be applied.

Version-Release number of selected component (if applicable):
0.62.0-1.fc34

Additional info:
See the linked Fedora Workstation ticket for details.

Comment 1 Milan Crha 2021-05-13 15:46:28 UTC
I noted this on the fedora-workstation issue (link above), the libdnf provides the information, it's PackageKit not providing it to the caller properly. I'm (slowly) working on the PackageKit side now. Let's close this bug (no need to keep it open on the PackageKit side).

Comment 2 Neal Gompa 2021-05-15 08:51:43 UTC
Where? I literally did not find an API in the dnf context API for it. Note that without an API through the dnf-context API, PackageKit can't use it.

Comment 3 Milan Crha 2021-05-17 08:36:25 UTC
dnf_advisory_get_severity().

Comment 4 Neal Gompa 2021-05-17 16:14:39 UTC
Hmm, okay then, I await your PR for PackageKit.

Comment 5 Milan Crha 2021-05-20 13:19:04 UTC
(In reply to Neal Gompa from comment #4)
> Hmm, okay then, I await your PR for PackageKit.

https://github.com/hughsie/PackageKit/pull/475


Note You need to log in before you can comment on or make changes to this bug.