I-Dream-in-Code / kde-arch-update-plasmoid

30 stars 9 forks source link

pacaur opens PKGBUILD when upgrading AUR #13

Closed nomis6432 closed 6 years ago

nomis6432 commented 6 years ago

Currently pacaur opens the PKGBUILD file when updating a package from the AUR. Which can be annoying since he updates the AUR after the arch repositories and therefore pauses the update. I believe this can be fixed by adding --noedit .

ghost commented 6 years ago

Pacaur by default shows only diff between current and last PKGBUILD. You can disable it in pacaur config if don't want this, uncomment and change: displaybuildfiles=diff to displaybuildfiles=none in ~/.config/pacaur/config

I-Dream-in-Code commented 6 years ago

fixed thanks for the tip on --noedit

master and aur package are updated

ghost commented 6 years ago

@I-Dream-in-Code I think this change is a mistake. I showed you how to easily change it in pacaur config for every user who's interested. --noedit argument is opinionated choice and is non override-able.

nomis6432 commented 6 years ago

@fancytenseletters It looks like --noedit is only used when --noconfirm is enabled. If you want to check the PKGBUILD you can still do so by disabling --noconfirm. This makes sense imo since when you use --noconfirm you expect the update to run without any interruptions.

I-Dream-in-Code commented 6 years ago

@nomis6432 is correct. --noedit is only run when --noconfirm aur in settings is enabled.

He/She articulated it perfectly

ghost commented 6 years ago

Ok then. Thx for info.