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

68 Commits

Author SHA1 Message Date
Christoph Miksche
c52491ae2e ci: switch to drone
Switch the CI system from travis to drone

Closes #19
2021-04-20 18:33:52 +02:00
Christoph Daniel Miksche
4f5bd47ea6 docs: update download stats
Change download statistics to pepy.tech (pypistats.org is currently down)
2020-08-13 00:08:35 +02:00
Christoph Miksche
65bfa64517 feat: release new version
There were many changes since the last release.
2.0.8
2020-05-09 21:02:21 +02:00
Christoph Miksche
054999a72e feat: add pre-commit hooks
Add pre-commit hooks for running pylint and gitlint.
2020-05-08 11:42:39 +02:00
Christoph Miksche
b92496fc0d refactor: follow PEP standards
Follow Python Enhancement Proposals and add PyLint to enforce them.
2020-03-27 16:56:05 +01:00
Christoph Daniel Miksche
ae8d54d018 docs: add download stats
Add download statistics from PyPI to README
2020-02-26 21:47:39 +01:00
Christoph Daniel Miksche
72951e8dde docs: update funding methods
Add new funding methods.
2019-12-24 14:58:50 +01:00
Christoph Daniel Miksche
b5b09085b3 docs: create FUNDING.yml
Create a file about possibilities for supporting this project.
2019-11-03 16:59:33 +01:00
Christoph Daniel Miksche
8a58d0d57f feat: gitlint
Add gitlint settings to the master.
2019-09-11 13:53:51 +02:00
Christoph Miksche
cf53f7b9dc docs: update development instructions
Add more instructions for development to the README.md
2019-09-11 13:49:18 +02:00
Christoph Miksche
d0b0374d57 feat: add gitlint
Add gitlint to enforce Angular style commit messages.
2019-09-11 13:39:26 +02:00
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