73 Commits
Author SHA1 Message Date
Daniele Fucini a62b4f3a56 Point the README installation section to the AUR 2026-11-10 21:12:35 +01:00
Daniele Fucini 6633c70433 Update PKGBUILD
Clearer pkgdesc for the AUR release.
2026-11-10 20:45:42 +01:00
Daniele Fucini ba0333988a Update PKGBUILD 2026-11-09 20:49:13 +01:00
Daniele Fucini 3caf4ea96d Empty the default KERNELS map and make tests chroot-safe
Custom kernels are now set only in the config, so the defaults suit any system. The reboot check's modules folder can be overridden with UPDATE_NOTIFY_MODULES_DIR, so the tests no longer need an installed kernel.
3.13
2026-11-09 20:48:18 +01:00
Daniele Fucini bd8ded486d Add bats test suite
Black-box tests that run the script with stub commands on a minimal PATH and temp config/state folders.
2026-11-09 19:51:42 +01:00
Daniele Fucini 1328cd5eca Update PKGBUILD 2026-11-07 10:43:04 +01:00
Daniele Fucini 2289362a01 Add .pacnew and reboot reminders
Remind about files to merge with pacdiff and a reboot after the running kernel
was upgraded. They join every notification and notify alone only for new items;
PACNEW_CHECK/REBOOT_CHECK disable them, and the pending file gets pacnew/reboot lines.
3.12
2026-11-07 10:41:42 +01:00
Daniele Fucini 70889901ee Update PKGBUILD 2026-10-24 18:42:32 +02:00
Daniele Fucini 7c1bdfd4dd Remove the trustsight reminder 3.11.2 2026-10-24 18:42:00 +02:00
Daniele Fucini b5e1395468 Uniform installation instructions in README 2026-10-20 22:01:25 +02:00
Daniele Fucini 15bc29d890 Update PKGBUILD 2026-10-19 17:30:25 +02:00
Daniele Fucini bcffe942d4 Record trustsight reviews in the reminder
trustsight review is read-only by default, so each run compared only against the previous AUR commit instead of the last reviewed one.
3.11.1
2026-10-19 17:29:10 +02:00
Daniele Fucini a20b93a1e5 Update PKGBUILD 2026-10-18 15:47:56 +02:00
Daniele Fucini 10b84b771e Remove the pacman hook
Status bars already drop installed entries, and the path unit covers repo
builds, so the hook only ran checkupdates on every transaction.
3.11
2026-10-18 15:47:33 +02:00
Daniele Fucini 69450e4a3c Update PKGBUILD 2026-10-18 15:32:11 +02:00
Daniele Fucini 41f94d719b Refresh quietly from the path unit and pacman hook
Add a --quiet mode that updates the pending file without notifying, run by
the new update-notify-quiet.service, so aur sync doesn't notify per package.
3.10
2026-10-18 15:31:46 +02:00
Daniele Fucini bd34dd7bf1 Update PKGBUILD 2026-10-17 11:07:14 +02:00
Daniele Fucini ffb15c0954 Keep the configured threshold in the pending file
A threshold argument is a one-off override for the notification, so status bars
keep using THRESHOLD from the config.
3.9
2026-10-17 11:06:46 +02:00
Daniele Fucini da8505624f Update PKGBUILD 2026-10-17 10:57:34 +02:00
Daniele Fucini 5a4baddcdb Remind to run trustsight before building AUR updates 3.8 2026-10-17 10:56:57 +02:00
Daniele Fucini ebc19057ea Update PKGBUILD 2026-10-16 09:35:09 +02:00
Daniele Fucini 7b30b24715 Refresh after pacman transactions and local repo builds
Add a pacman hook that runs update-notify for each logged-in user with the timer active, and a path unit that users can point at their local repo databases to refresh after aur build.
3.7
2026-10-16 09:34:19 +02:00
Daniele Fucini e0059e490c Update PKGBUILD
Bump to 3.6.
2026-10-14 23:12:35 +02:00
Daniele Fucini 4dc9a268a6 Write the pending updates to a file for status bars
Each run saves the pending repo, AUR and kernel updates to
$XDG_STATE_HOME/update-notify/pending, independent of the threshold,
so a status bar can show them and drop the ones installed since.
3.6
2026-10-14 23:05:25 +02:00
Daniele Fucini 954c5d5264 Update PKGBUILD
Bump to 3.5, install the sample config, and quote variables
separately from literal path parts.
2026-10-14 19:08:33 +02:00
Daniele Fucini 8c94be5a08 Read settings from a config file
Source ~/.config/update-notify/config to override THRESHOLD, AUR_REPO
and KERNELS, so settings survive package upgrades. The threshold
argument still takes precedence, so drop it from the service. Add a
commented sample config.
3.5
2026-10-14 18:56:17 +02:00
Daniele Fucini aca5a0213e Add .gitignore 2026-10-14 13:13:41 +02:00
Daniele Fucini 3ebded0476 Update PKGBUILD
Bump to 3.4, install the README, and quote the source entry.
2026-10-14 13:09:05 +02:00
Daniele Fucini 6b26b358d7 Mention aur build in README 3.4 2026-10-14 13:06:48 +02:00
Daniele Fucini 4a9eebcad2 Warn when aur repo -u fails
Print a warning instead of silently counting 0 AUR updates, and stop
discarding aur's stderr so the cause shows up in the journal.
2026-10-14 13:06:40 +02:00
Daniele Fucini f32d2a0c87 Add README 2026-10-13 21:18:08 +02:00
Daniele Fucini 255cb6350f Update PKGBUILD 2026-10-07 19:48:31 +02:00
Daniele Fucini 32b60ef3da Clean up systemd units
Use Type=oneshot for the service and drop the default Restart=no.
Remove Persistent=true from the timer, which only applies to
OnCalendar= timers.
3.3
2026-10-07 19:45:47 +02:00
Daniele Fucini 5b877e76df Update PKGBUILD dependencies
Add libnotify (needed for notify-send), move aurutils to optdepends
since the script works without it, add fwupd as optdepend. Quote
variables in package().
2026-10-07 19:45:47 +02:00
Daniele Fucini a72fd1639e Accept zero-padded threshold, simplify fwupdmgr check 2026-10-07 19:45:47 +02:00
Daniele Fucini 9720b4d2a1 Ignore pkgrel in kernel rebuild check
A stock kernel packaging-only bump doesn't require rebuilding the
custom kernel.
2026-10-07 19:45:47 +02:00
Daniele Fucini dbb7a1766d Avoid lost and repeated notifications
Exit without touching the state when checkupdates fails, so a transient
error no longer clears it and causes the same notification on the next
run. Also save the state only after notify-send succeeds, so a failed
notification is retried.
2026-10-07 19:45:38 +02:00
Daniele Fucini e674f0311c Update PKGBUILD 2026-10-04 16:21:10 +02:00
Daniele Fucini e139acd2bd Merge all notifications
Notification for kernel update is included in the same notification as
everything else, no more a separate one
3.2
2026-10-04 16:19:16 +02:00
Daniele Fucini 0416d3e615 Fix kernel update check 2026-10-04 16:05:43 +02:00
Daniele Fucini 154fd39b20 Update PKGBUILD 2026-10-04 08:59:09 +02:00
Daniele Fucini ae33917e8a Make fwupdmgr hint conditional
Only show fwupmgr hint if firmware updates are available
Also fold that and git-monitor hint in a single notification
3.1
2026-10-04 08:56:47 +02:00
Daniele Fucini eabaa962dc Update PKGBUILD 2026-10-03 21:26:31 +02:00
Daniele Fucini 3f2702eb71 Change timer frequency 3.0.2 2026-10-03 21:24:57 +02:00
Daniele Fucini 9f5c3b1cb4 Update PKGBUILD 2026-10-03 20:07:10 +02:00
Daniele Fucini 961ddc1e72 Fix state dir name 3.0.1 2026-10-03 20:04:47 +02:00
Daniele Fucini ae43e401a5 Update checksum 2026-10-03 20:02:07 +02:00
Daniele Fucini 3f2ff7e5f9 Make script more robus
Fix few bugs and make it more generic
3.0
2026-10-03 20:00:01 +02:00
Daniele Fucini b0c12affbb Update checksum 2026-09-27 14:45:27 +02:00
Daniele Fucini 44dc555c18 Improve efficiency
Call checkupdates only once
2.0
2026-09-27 14:42:36 +02:00