mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2024-09-20 15:26:02 +08:00
27231150ec
* 4.1.1-develop
* Updated docs
* chore(docs): Sync wiki to docs [skip-cd]
* chore(docs): Sync wiki to docs [skip-cd]
* Fixes #522
* (docs): automatically add Supported Version to README (#521)
* (docs): add version for qbit / qbit api to readme (#523)
(cherry picked from commit 37e560f7ef
)
* (docs): automate supported versions for readme
(docs): readme updates
(chore): fix pre-commit increase_version
* (chore): automate supported version updates
---------
Co-authored-by: bakerboy448 <mailto:55419169+bakerboy448@users.noreply.github.com>
* Adds pre-commit hook to update-readme-version
* Bump actions/setup-python from 4 to 5 (#525)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump actions/checkout from 3 to 4 (#526)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump peter-evans/create-pull-request from 4 to 6 (#527)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 6.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v6)
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Dependabot to auto-update qbittorrent-api on master
* 4.1.1
* fixes pre-commit on github actions
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Actionbot <actions@github.com>
Co-authored-by: bakerboy448 <55419169+bakerboy448@users.noreply.github.com>
Co-authored-by: bakerboy448 <mailto:55419169+bakerboy448@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1.3 KiB
1.3 KiB
*Nix Installation
- Download the script
wget -O - https://github.com/StuffAnThings/qbit_manage/archive/master.tar.gz | tar xz --strip=1 "qbit_manage-master"
- Make it executable
chmod +x qbit_manage.py
- Get & Install Requirements
pip install -r requirements.txt
- Create Config
cd config
cp config.yml.sample config.yml
nano -e config.yml
- Create the update script
nano qbm-update.sh
- Paste the below into the update script and update the Paths and Service Name (if using systemd)
#!/bin/bash
qbmPath="/home/bakerboy448/QbitManage"
qbmVenvPath="$qbmPath"/"qbit-venv/"
qbmServiceName="qbm"
cd "$qbmPath" || exit
currentVersion=$(cat VERSION)
branch=$(git rev-parse --abbrev-ref HEAD)
git fetch
if [ "$(git rev-parse HEAD)" = "$(git rev-parse @'{u}')" ]; then
echo "=== Already up to date $currentVersion on $branch ==="
exit 0
fi
git pull
newVersion=$(cat VERSION)
"$qbmVenvPath"/bin/python -m pip install -r requirements.txt
echo "=== Updated from $currentVersion to $newVersion on $branch ==="
echo "=== Restarting qbm Service ==="
sudo systemctl restart "$qbmServiceName"
exit 0
- Make the update script executable
chmod +x qbm-update.sh
- Run the update script
./qbm-update.sh