Features
- Run now buttons for cleanup on the Automation tab (#553, closes #547, thanks @zwimer).
- Database Maintenance gets a Run now row at the bottom of the card. It trims the activity log with your retention period and says how many entries it removed.
- Repository Cleanup gets a Run now button next to Reconcile. It checks your sources right away instead of at the next check, and asks first when its action would change anything.
- While a run is going, the card shows its progress. When it finishes it says what it did, and the info button next to the result lists the repositories and any errors.
- Database maintenance can also be run with
POST /api/cleanup/maintenance.
Fixes
- Database maintenance's next run follows the retention period (#553, closes #548, thanks @zwimer).
- Changing the retention period kept the old next run, so going from 3 months to 1 day still waited up to a week. Shortening it now brings the next run forward, and lengthening it never pushes back a run that's due.
- Repository cleanup also moved the next maintenance run a day out whenever it found a repository whose source was gone. It no longer touches it.
Changes
- The compose files and the Docker examples in the docs drop all Linux capabilities and set
no-new-privileges(#545, closes #544, thanks @zwimer). The app never used any of them, so nothing changes day to day. If you run the container as root, removecap_dropor make sure the data directory belongs to root. - The Repository Cleanup card now says it checks every 6 hours and with each scheduled sync, which is when it actually runs.
Notes
- Data Retention only controls how long the activity log is kept. Repositories whose source is gone are handled by Repository Cleanup on its own schedule.
As always, back up your Gitea before upgrading.
Full changelog: v3.55.0...v3.56.0