feat: add AUR update delay setting#572
Conversation
Given Manjaro's official stance that AUR is not a supported use case (as made fully evident on the forum), it seems unlikely staff will add this feature or provide support/protection for AUR packages. I've never used the pamac-cli but since libpamac contains the heart of it I can't see pamac-cli taking much work at all to include support for an argument. |
|
I think you may be misunderstanding. The AUR is neither officially supported by Arch nor Manjaro. Users may use it at their own risk. If there was no use case, Pamac would not have AUR support and other programs like |
|
The forum post about this PR went south https://forum.manjaro.org/t/proposed-pamac-aur-update-delay/188322/22 faster than a race condition and unfortunately I lost my cool a few times in the thread. Adding support pamac-cli is a little more involved than the GUI but I should be able to open a PR for that later today or tomorrow for it. Additionally the libpamac PR does not include the additional translations required yet as my thought process was to see if this would be entertained first. |
This patch adds the UI controls for the new AURUpdateDelayDays setting. The setting itself, the config parsing, and the filtering logic live in the companion libpamac pull request.
The UI is a simple AdwSpinRow placed inside the AUR preferences portion. It lets the user configure how many days must pass before a newly-updated AUR package is shown in the update scan. A value of
0disables the delay entirely and is the default.Link to libpamac PR: manjaro/libpamac#8