1
0
mirror of https://github.com/CMiksche/gitea-auto-update synced 2025-12-10 07:57:23 +01:00
Commit Graph

57 Commits

Author SHA1 Message Date
Christoph Miksche
0fe58ec95c feat: add gitlint
Add gitlint to enforce Angular style commit messages.

WIP. Doesn't work currently.
2019-09-08 18:58:17 +02:00
Christoph Miksche
fad65bc0be docs: update README.md and .gitignore
- Add development instructions to README.md
- Add the update.log file to .gitignore
2019-09-08 18:49:52 +02:00
Christoph Miksche
480604dce3 docs: add contributor, update version & .gitignore
- Add the new contributor @iwalton3 to the README.md
- Update the version for publishing in PyPI
- Update .gitignore to ignore distribution files
2019-09-04 15:36:33 +02:00
Christoph Daniel Miksche
70b6653b73 Merge pull request #11 from iwalton3/master
Fixes: Make binary executable, fix isTool method signature, handle corrupted binary, and README tweaks.
2019-09-04 15:18:26 +02:00
Ian Walton
bce9a482d7 feat: Update README with working configuration.
The current configuration in the README does not install the update from
the binary. It also instructs the user to use pip instead of pip3, which
is the command to install using the script for python2 on most systems.
2019-09-03 14:31:06 -04:00
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 Daniel Miksche
d291779fa7 Update README.md 2019-08-26 23:31:36 +02:00
Christoph Daniel Miksche
43778a1b7b Update README.md 2019-08-26 23:18:23 +02:00
Christoph Miksche
3174f2783f fix: false package names 2.0.5 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
98ddb8c119 fix: new version 2019-08-26 22:56:20 +02:00
Christoph Miksche
caeee31bb4 fix: call update function 2019-08-26 22:53:15 +02:00
Christoph Miksche
324225e795 fix: version import in tests 2019-08-26 22:49:48 +02:00
Christoph Miksche
05caef9d41 fix: file structure 2019-08-26 22:46:46 +02:00
Christoph Miksche
8b64d5f518 feat: clean-up logging 2019-08-26 22:05:08 +02:00
Christoph Miksche
56f128b2f7 feat: add long description 2019-08-26 21:33:28 +02:00
Christoph Miksche
d95f1aacb8 feat: New structure, added CLI, logging and setup
* Changed structure to a Object orientated approach.
* Add CLI with input for the settings file.
* Added logging via file.
* Added setup for publishing in pip.
2019-08-26 21:26:19 +02:00
Christoph Daniel Miksche
508b0ceb55 docs: add nice travis ci badge
Add the nice travis ci badge to show the current build status.
v1.0.0
2019-06-01 13:28:20 +02:00
Christoph Daniel Miksche
614d99503f fix: update travis.yml to pass build
Python 3.7 can only be built with the dist: xenial ...
2019-06-01 13:25:56 +02:00
Christoph Daniel Miksche
bc27f29dbe feat: add travis.yml configuration file
Commits should be checked with travis ci in the future.
2019-06-01 13:21:05 +02:00
Christoph Daniel Miksche
2dc4263b63 docs: add feature request template
Add a template for feature request issues.
2019-06-01 13:06:41 +02:00
Christoph Daniel Miksche
28168d4f4f docs: update issue templates
Add some issue templates to enforce good described issues.
2019-06-01 13:03:15 +02:00
Christoph Daniel Miksche
7cee5eb2b4 Update README.md
Add the Contribution Guidelines to the README.md File
2019-06-01 12:44:43 +02:00
Christoph Daniel Miksche
b4735bb6f7 Create CONTRIBUTING.md
Create a few guidelines for contributing to this repo.
2019-06-01 12:41:26 +02:00
Christoph Daniel Miksche
85c0de2d0f Update README.md 2019-05-31 23:25:30 +02:00
Christoph Miksche
0904a61ddc docs: update readme.md and change name in files
Update the README.md and change the name in the files from "Gitea Remote Updater" to "Gitea Auto Updater" because the script should be run on the local system.
2019-05-31 23:24:06 +02:00
Christoph Daniel Miksche
ad8baf71cc Merge pull request #9 from CMiksche/feat/get-version-from-file
feat: get version from file
2019-05-31 23:12:45 +02:00
Christoph Miksche
482df30496 feat: get version from file
Add function to get the version from the gitea file if the web api does fail.

Should implement the idea from GH-8
2019-05-31 23:10:37 +02:00
Christoph Daniel Miksche
b38143effc Merge pull request #7 from Eideen/patch-1
Add missing python dependency
2019-05-19 18:01:05 +02:00
Eideen
704a20c474 Add missing python dependency 2019-05-19 17:38:53 +02:00
Christoph Miksche
554fca58ce Add version comparision from packaging 2019-05-19 17:32:10 +02:00
Christoph Miksche
556cd25b91 Add test case for suffix 2019-05-19 17:25:37 +02:00
Christoph Miksche
b36bdadda0 Update unit tests
Unit tests should begin with a "test" in the function name.
2019-05-19 17:18:35 +02:00
Christoph Miksche
2102137240 Update README and Copyright
Add Eideen as a contributor and update the copyright information.
2019-05-19 15:12:03 +02:00
Christoph Daniel Miksche
4eebef904d Merge pull request #5 from Eideen/master
Add support for checksum, change to use zx, made more verbose
2019-05-19 14:51:39 +02:00
Eideen
8c931c6cb3 Update updater.py
Co-Authored-By: Christoph Daniel Miksche <wronnay@gmail.com>
2019-05-19 14:09:19 +02:00
Eideen
a4fa04c035 Update updater.py
Co-Authored-By: Christoph Daniel Miksche <wronnay@gmail.com>
2019-05-19 14:09:10 +02:00
Eideen
bcc902db76 fix typo. 2019-05-19 13:08:24 +02:00
Eideen
bbfc721313 Moved is_tool to functions 2019-05-19 13:07:34 +02:00
Eideen
cb4a36b9a2 Merge update.py 2019-05-19 12:47:20 +02:00
Eideen
750bb6cb3a removed merge text 2019-05-19 12:40:29 +02:00
Eideen
09df1c18ba Merge branch 'master' of github.com:CMiksche/gitea-auto-update 2019-05-19 12:35:36 +02:00
Eideen
f16583749f removed comment from debuging. 2019-05-19 12:10:26 +02:00
Eideen
6efbb06125 Merge pull request #1 from Eideen/patch1
Add support for checksum, change to use zx, made more verbose
2019-05-19 00:46:26 +02:00
Christoph Daniel Miksche
38e9451f8a Merge pull request #2 from CMiksche/fix/check-version-after-semver
fix: add function to check the versions after semver
2019-04-28 18:20:33 +02:00
Eideen
01796aa024 add check for xz 2019-04-23 22:35:26 +02:00
Eideen
cfd79f06e1 add download xz file save (40%) and use sha256 2019-04-23 22:19:09 +02:00