No description
Find a file
Jeena 95cd8e0906 feat: Add update checker tooling
Add the initial dataset, version checker, tests, and project setup files so the update checker can be run and validated.
2026-03-12 12:50:08 +00:00
tests feat: Add update checker tooling 2026-03-12 12:50:08 +00:00
.env.sample feat: Add update checker tooling 2026-03-12 12:50:08 +00:00
.gitignore feat: Add update checker tooling 2026-03-12 12:50:08 +00:00
AGENTS.md feat: Add update checker tooling 2026-03-12 12:50:08 +00:00
BACKLOG.md feat: Add update checker tooling 2026-03-12 12:50:08 +00:00
check_updates.py feat: Add update checker tooling 2026-03-12 12:50:08 +00:00
pyproject.toml feat: Add update checker tooling 2026-03-12 12:50:08 +00:00
README.md feat: Add update checker tooling 2026-03-12 12:50:08 +00:00
services.yaml feat: Add update checker tooling 2026-03-12 12:50:08 +00:00

check-for-updates

Small Python script to compare running service versions against upstream releases.

Requirements

  • Python 3.10+

Setup

Create and activate a virtual environment, then install dependencies:

python -m venv .venv
source .venv/bin/activate
pip install -e .[dev]

Copy .env.sample to .env and fill required values. Export the variables before running the script:

export PAPERLESS_API_TOKEN=...
export RADICALE_BASIC_AUTH=...

Usage

python3 check_updates.py --config services.yaml
python3 check_updates.py --config services.yaml --all

Tests

python -m pytest