manatools / dnfdaemon

DBus daemon for doing package action with the dnf package manager
GNU General Public License v2.0
12 stars 16 forks source link

support dnf system upgrades and notify users when a new release is available #26

Open rahulsundaram opened 5 years ago

rahulsundaram commented 5 years ago

Based on discussions at

https://lwn.net/Articles/773577/

Conan-Kudo commented 5 years ago

How would we know what a new release is?

rahulsundaram commented 5 years ago

Is there no automated mechanism which tracks presence of new releases in Fedora anymore? I was only aware of https://mirrors.fedoraproject.org/releases.txt which has since become obsolete

Conan-Kudo commented 5 years ago

As far as I know, no. I never integrated support for system-upgrade into dnfdaemon because I don't know how to actually identify valid upcoming releases.

rahulsundaram commented 5 years ago

How does tools like GNOME Software do it?

Conan-Kudo commented 5 years ago

I'm not sure. I use KDE, so I never really used it. Unfortunately, Plasma Discover doesn't support this either. :(

As far as I know, only GNOME Software supports it.

jcpunk commented 5 years ago

Currently gnome-software uses https://github.com/GNOME/gnome-software/tree/master/plugins/fedora-pkgdb-collections which checks https://admin.fedoraproject.org/pkgdb/api/collections

rahulsundaram commented 5 years ago

So now that we know that there is an API available, can upgrade support be added?

Conan-Kudo commented 5 years ago

Yeah, I can look into this. I'll need to figure out how to emulate the system-upgrade mechanism...

Woi commented 5 years ago

While I'd love to have this feature, a simple notification would already be a great improvement. I thought about something like:

I could support by translating necessary messages to German

Nokia808 commented 4 years ago

Really needed this feature if added will make dnfdragora better ...

Conan-Kudo commented 4 years ago

My understanding is that the API that GNOME Software uses now is deprecated and there is supposed to be a replacement for it. Also, we'd probably need to define an interface that multiple distributions can implement...