Hourly user-level pkgwatch.timer/.service, an OnFailure= notifier, and a notifier module that sends notify-send alerts when a tier 4-6 release is queued for review or a tier 1-3 release is published. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
17 lines
715 B
Desktop File
17 lines
715 B
Desktop File
# User-level oneshot: one check -> fetch -> verify -> build -> publish pass.
|
|
# Install: see docs/SPEC.md > Scheduling.
|
|
#
|
|
# WorkingDirectory matters: packages.d/, state/ and work/ are all resolved
|
|
# relative to the cwd, so this must be the main checkout, not a worktree.
|
|
# The binary is the release build in that same checkout (`cargo build
|
|
# --release`), so a rebuild is what picks up code changes.
|
|
[Unit]
|
|
Description=pkgwatch: check tracked packages for new upstream releases
|
|
OnFailure=pkgwatch-failure.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=%h/dev/pkgwatch
|
|
ExecStart=%h/dev/pkgwatch/target/release/pkgwatch
|
|
# Builds (makepkg, large Go/Rust binaries) can legitimately take a while.
|
|
TimeoutStartSec=30min
|