Automatic Self Update #19210
Labels
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Feature Description
Gitea should be able to update itself automatically to keep up with the latest, at least, security updates.
How should this work?
gitea is running and checking the latest release version. If higher than current:
The idea is "install once, never worry about it again".
In the beginning this could work with pre-compiled binaries only, later this could be extended with building from source with a binary fallback.
This could be very easily implemented. Have a background timer running that checks the latest release on github every 24h.
https://docs.github.com/en/rest/reference/releases
If activity, wait for activity to complete and execute copy/restart.
Screenshots
No response
The text was updated successfully, but these errors were encountered: