The monolithic check_updates.py has been split into the update_monitor/ package with separate modules for fetching, extraction, comparison, classification, and notification. This makes the codebase easier to navigate and test. The flat services.yaml is replaced by per-service directories under services/<name>/config.yaml, co-locating config with update scripts and AI review examples. When --auto-update is enabled, services with an auto-update.sh script get their release notes classified by a local Ollama model (using few-shot examples from review-examples/) to decide whether the update can be applied automatically or needs manual admin intervention. Results are reported in a single consolidated Matrix message. Immich is the first service with auto-update configured, using 7 real release note examples to train the classifier.
19 lines
655 B
YAML
19 lines
655 B
YAML
name: FreshRSS
|
|
base_url: https://rss.jeena.net/
|
|
current_version_url: https://rss.jeena.net/i/?a=about
|
|
current_version_extract:
|
|
type: regex
|
|
value: FreshRSS version</dt>\s*<dd>([0-9.]+)</dd>
|
|
login:
|
|
url: https://rss.jeena.net/i/?c=auth&a=login
|
|
username_env: FRESHRSS_USERNAME
|
|
password_env: FRESHRSS_PASSWORD
|
|
username_field: username
|
|
password_field: password
|
|
crypto: true
|
|
nonce_url: https://rss.jeena.net/i/?c=javascript&a=nonce&user=
|
|
upstream_latest_version_url: https://api.github.com/repos/FreshRSS/FreshRSS/releases/latest
|
|
upstream_latest_extract:
|
|
type: jsonpath
|
|
value: $.tag_name
|
|
notes: Version scraped from About page after login.
|