feat: Add PeerTube & PieFed auto-update, improve classifier
Add auto-update scripts and review examples for PeerTube and PieFed, bringing total auto-updating services to three. The classifier now includes the current and target version in the prompt so it can correctly evaluate conditional upgrade notes like "follow v8.1.0 instructions if upgrading from <= v8.0.2". Without this context the model would conservatively flag patch releases as manual. All auto-update wrappers now use `bash -euo pipefail` when calling remote scripts so failures in upstream deploy/upgrade scripts propagate correctly instead of silently succeeding. test_classifier.py now accepts a service name argument and derives realistic version numbers from the release notes for testing.
This commit is contained in:
parent
f55f3d8e91
commit
67a9509eaa
13 changed files with 376 additions and 10 deletions
13
services/piefed/review-examples/manual-1.txt
Normal file
13
services/piefed/review-examples/manual-1.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
action: manual
|
||||
reason: Database schema change requires running flask db upgrade manually before restarting. Environment variable rename also needs .env update.
|
||||
---
|
||||
## Breaking changes
|
||||
|
||||
- The `PIEFED_SECRET_KEY` environment variable has been renamed to `SECRET_KEY`. Update your `.env` file before upgrading.
|
||||
- New database columns have been added. Run `flask db upgrade` before restarting the application.
|
||||
|
||||
## Other changes
|
||||
|
||||
- Improved federation with Lemmy 0.19.x
|
||||
- Minor UI tweaks to the community sidebar
|
||||
- Updated translations for 3 languages
|
||||
Loading…
Add table
Add a link
Reference in a new issue