vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
421 stars 38 forks source link

Do not change install reason during upgrades #208

Open InvalidUsernameException opened 1 year ago

InvalidUsernameException commented 1 year ago

When upgrading AUR packages rua always adds the --asdeps switch to the pacman command line. That means that packages that were previously installed explicitly most likely end up as orphans because they have no other packages depending on them. This is annoying because it means one needs to run pacman -D --asexplicit <list of upgraded packages> after every upgrade of AUR packages to keep the install reasons correct and to prevent accidental uninstallation.

This PR changes the behavior during upgrades to not include the --asdeps switch which means the install reasons of the upgraded packages stay unchanged.

This should fix #169, but not the related #65, which seems different despite someone having commented that the issues are duplicates of each other.

InvalidUsernameException commented 9 months ago

@vn971 Since you mentioned somewhere else that your email notifications weren't working in the past: Any chance you can take a look at this PR if you haven't seen it yet?