A script which can update gitea via crontab automatically to a new version.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
settings.py
updater.py

README.md

Gitea Remote Updater

Script for a automatic update of gitea. Should be run locally on the gitea server.

Procedure

  • Get Gitea Version via Gitea API
  • Get latest Relase via GitHub API
  • Check if there is a newer Version
  • If true
    • Download new version, overwrite old version

General Information

License: GNU General Public License

Author: Christoph Daniel Miksche (m5e.de)

Uses python version 3

Installation

  1. Use the following command to install all dependencies.
sudo pip install requests
  1. Then clone the git repository.

  2. After that, please change the variables in the settings.py file.

  3. Enter the command python updater.py in your commandline.

  4. If you want to schedule your updates, edit your /etc/crontab file.

Tutorials