-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new 'update-kind' / 'update-type' property for PkPackage #742
Comments
That would be a breaking change though, or would duplicate the existing method of conveying that information. Do you really think that's worth it? |
Did you mean from an API perspective ?
We're trying to multiplex 2 different types of information in a single property Few observations:
|
If it's a lot of work, we can address Also, I think we should create a |
FWIW, GS does extra stuff if the update is
Neither of which currently works in current Debian stable when there are security updates. |
It is though. It's the lowest priority level for an update. Granted, the whole high/low enhancement/bugfix tagging is an absolute mess and beyond confusing. But when trying to fix it without breaking backwards compatibility, I fear we will just create even more confusion and an even bigger mess.
Package updates do have a severity on their own. The overall repo defines the package's fix category (that's what the heuristics is for), and the serveity could be read from the package's changelog. The problem is, pulling the changelog is a separate and potentially slow HTTPS request, and we also have to parse the changelog, making this fairly annoying.
Debian distinguishes between high-priority security updates (install ASAP) and critical updates (drop everything you're doing, install immediately!). To distinguish them, we would need changelog parsing in the backend at an earlier stage (currently its only done when details are requested, as it's not very fast)... |
Okay.
Yes. GS made the change a couple of release ago, where previously we downloaded full changelogs during update check (https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2230). It was later changed to be loaded on demand and update loading is much faster now. The main issue here is to highlight security issues as critical in Debian stable ( as in fedora ) for a start. I see 2 solutions:
|
From: #729
As discussed in #729 (comment) and #729 (comment), I think we should introduce a new
update-kind
/update-type
property, and use it for setting the following update types:I'll submit a PR if we're ok with the premise of this issue.
The text was updated successfully, but these errors were encountered: