gitea-image-prune: read the hub with the scoped token HUB_TOKEN, not HUB_PW (felhom 09 §3 decision 251)

Claude-Session: https://claude.ai/code/session_012qRErfCoiTkvDK9N5XHbzb
This commit is contained in:
admin committed 2026-10-15 13:08:49 +02:00
1 parent c9d5ed575c
commit 393af2292f
5 files changed
+29 -21

No files matched your search

+8
View File
@@ -2,6 +2,14 @@
All notable changes to the operator helper scripts. Newest on top.
## 2026-10-15
### Changed — `gitea-image-prune.sh` reads the hub with its scoped token, not the operator password
- The in-use list reads the hub's Configuration page with `HUB_TOKEN` (felhom.eu `05` §17, hub ≥ 0.152.0, needs
`floor:read`), from env or `~/.config/credentials` via `read_credential.py`; sent through a 0600 header file, never on
a command line. `HUB_PW` is no longer read (`09` §3 decision 251). Live dry-run 2026-10-15: 6 in-use versions read,
deleted 0. `tests/test-prune-plan.sh` passes.
## 2026-10-01
### Changed — `gitea-image-prune.sh`: the retention rule (Felhom `09` §3 decision 62, R-750)