manjaro / pamac

Graphical Package Manager for Manjaro Linux with Alpm, AUR, Appstream, Flatpak and Snap support
GNU General Public License v3.0
249 stars 42 forks source link

Notify user of packages migrated to AUR #215

Open polarathene opened 7 years ago

polarathene commented 7 years ago

Is it possible to support a feature for a distro such as Manjaro to provide an ip/url address that performs an api check for packages that are dropped from main repos and pushed into AUR? For some users it is not clear if the package is optional and can be removed/avoided, thus avoiding potentionally long install/compile times. Recently this happened a few times with gstreamer and also the qtwebkit package.

Such a feature could also be used for update announcements, similar to how ArchLinux has it's news page for checking before updates, this could be integrated into Pamac informing users directly before updating whom might not realize any announcements/warnings prior to updating their system. Alternatively this would make a good systray widget/notifier instead?


If the API thing is too much, what about indicating packages to be installed would be orphans? (assuming you could ignore explicitly installed packages from the user). If there was a little icon indicator about this next to the qtwebkit package, it could be ignored and removed instead?

guinux commented 7 years ago

I would be complicated to implement but yes it could help sometimes. We should think about how we could do it.

polarathene commented 7 years ago

If you have a way to tag packages upon installing them that might work? The orphan one might be easy enough, not sure how reliable it would be though. For API call to get news or package changes via url I could probably help here.

notramo commented 7 years ago

If it is a notification, similar to RSS feed, this MUST support translation to other languages. However, it can be a script, which contains parts that should run before upgrade (for example removing gstreamer 0.10, or qtwebkit), and parts that should run after upgrade. In this case, this must notify the user from removed packages, but it should do removing automatically. Some solution must be created, because it can prevent installed Manjaro systems from full crash. For example, the updating of 'ca-certificates-utils 20170307-1' can cause systems that unable to update. In this case, it is difficult to do it in a script, but a stupid user cannot understand commands in an RSS feed like the Arch Linux feed, and he/she thinks if he/she don't know from a thing what is it, it is not important.