1
0
mirror of https://github.com/CMiksche/gitea-auto-update synced 2026-04-26 16:11:33 +02:00
Commit Graph

8 Commits

Author SHA1 Message Date
Ian Walton 0005c23b38 feat: Handle nonexistent binary.
This patches the version component to return a version of 0.0.0 if it
fails to detect a version. This allows the update script to install the
binary if it does not already exist or is corrupted.
2019-09-03 14:28:35 -04:00
Ian Walton 52bf4cb835 fix: Make downloaded binary executable.
Current gitea releases do not ship with the binary in the archive
executable. This results in the service failing to start after updating.
This commit ensures the binary is always executable.
2019-09-03 14:26:58 -04:00
Ian Walton ef91988312 fix: Fix exception when updating via binary.
Attempting to update Gitea using the binary mode results in an exception
because `isTool` did not have a `self` parameter. This fixes the issue,
allowing binary updates.
2019-09-03 14:25:44 -04:00
Christoph Miksche 3828e07d90 feat: add restriction for python 3
Add a restriction for python 3 so that installing this software with python 2 isn't possible.

Should fix GH-10.
2019-09-02 13:47:29 +02:00
Christoph Miksche 3174f2783f fix: false package names 2019-08-26 23:15:33 +02:00
Christoph Miksche aa6fc91826 fix: cli in update.py 2019-08-26 23:03:09 +02:00
Christoph Miksche caeee31bb4 fix: call update function 2019-08-26 22:53:15 +02:00
Christoph Miksche 05caef9d41 fix: file structure 2019-08-26 22:46:46 +02:00