kewlfft / ansible-aur

Ansible module to manage packages from the AUR
GNU General Public License v3.0
299 stars 47 forks source link

make --aur default for aurman, pacaur, trizen #16

Closed visibilityspots closed 6 years ago

visibilityspots commented 6 years ago

Since ansible already has a default module for pacman I was wondering if it would be an idea to make aurman. pacaur and trizen using the AUR repository only for updates and installations?

kewlfft commented 6 years ago

It used to be the default in this module but it prevents installing aur packages that have dependencies in the official repos that have not been installed yet which is quite limiting. Let me know if you have a workaround otherwise we can close it.

visibilityspots commented 6 years ago

I see, I don't use the module to install packages but I use it to upgrade whole systems so that's the reason why I didn't yet bumped into that issue.. Wondering if we can make it a default when updating only?

kewlfft commented 6 years ago

I would rather make this option accessible through the module and you can set to true when updating. Otherwise we are accumulating tweaks in the helpers with tweaks in the module and this become unmanageable:

why is the module doing this while the helper is doing that in such case?

you can make the PR or I will probably implement it in the coming weeks.

visibilityspots commented 6 years ago

Fixed by https://github.com/kewlfft/ansible-aur/commit/3901eb73685a57ed6dceacd8c6ea21abc1bfc6f2