mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-07 04:16:35 +08:00
4.2.2 (#796)
* 4.2.2-develop1 * Bump ruff from 0.10.0 to 0.11.0 (#769) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.10.0 to 0.11.0. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.10.0...0.11.0) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump pre-commit from 4.1.0 to 4.2.0 (#770) Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 4.1.0 to 4.2.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v4.1.0...v4.2.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ruff from 0.11.0 to 0.11.1 (#772) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.0 to 0.11.1. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.11.0...0.11.1) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Updated remove_cross-seed_tag.py with proper credit Co-authored-by: @zakkarry * Bump ruff from 0.11.1 to 0.11.2 (#773) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.1 to 0.11.2. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.11.1...0.11.2) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump humanize from 4.12.1 to 4.12.2 (#775) Bumps [humanize](https://github.com/python-humanize/humanize) from 4.12.1 to 4.12.2. - [Release notes](https://github.com/python-humanize/humanize/releases) - [Commits](https://github.com/python-humanize/humanize/compare/4.12.1...4.12.2) --- updated-dependencies: - dependency-name: humanize dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ruff from 0.11.2 to 0.11.3 (#778) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.2 to 0.11.3. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.11.2...0.11.3) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.11.3 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ruff from 0.11.3 to 0.11.4 (#780) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.3 to 0.11.4. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.11.3...0.11.4) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.11.4 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ruff from 0.11.4 to 0.11.5 (#781) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.4 to 0.11.5. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.11.4...0.11.5) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.11.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(docs): Sync wiki to docs [skip-cd] * Bump ruff from 0.11.5 to 0.11.6 (#785) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.5 to 0.11.6. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.11.5...0.11.6) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.11.6 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump qbittorrent-api from 2025.2.0 to 2025.4.0 (#787) Bumps [qbittorrent-api](https://github.com/rmartin16/qbittorrent-api) from 2025.2.0 to 2025.4.0. - [Release notes](https://github.com/rmartin16/qbittorrent-api/releases) - [Changelog](https://github.com/rmartin16/qbittorrent-api/blob/main/CHANGELOG.md) - [Commits](https://github.com/rmartin16/qbittorrent-api/compare/v2025.2.0...v2025.4.0) --- updated-dependencies: - dependency-name: qbittorrent-api dependency-version: 2025.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ruff from 0.11.6 to 0.11.7 (#793) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.6 to 0.11.7. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.11.6...0.11.7) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.11.7 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump VERSION for qbit-api (#792) * chore(docs): Sync wiki to docs [skip-cd] * [pre-commit.ci] pre-commit autoupdate (#765) updates: - [github.com/adrienverge/yamllint.git: v1.35.1 → v1.37.0](https://github.com/adrienverge/yamllint.git/compare/v1.35.1...v1.37.0) - [github.com/astral-sh/ruff-pre-commit: v0.9.10 → v0.11.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.10...v0.11.6) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Fixes #786 * Update SUPPORTED_VERSIONS.json (#795) Co-authored-by: bobokun <12660469+bobokun@users.noreply.github.com> * 4.2.2 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Actionbot <actions@github.com> Co-authored-by: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
8478409027
commit
2259d82845
10 changed files with 33 additions and 17 deletions
|
@ -14,7 +14,7 @@ repos:
|
|||
- id: pretty-format-json
|
||||
args: [--autofix, --indent, '4', --no-sort-keys]
|
||||
- repo: https://github.com/adrienverge/yamllint.git
|
||||
rev: v1.35.1 # or higher tag
|
||||
rev: v1.37.0 # or higher tag
|
||||
hooks:
|
||||
- id: yamllint
|
||||
args: [--format, parsable, --strict]
|
||||
|
@ -26,7 +26,7 @@ repos:
|
|||
exclude: ^.github/
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.9.10
|
||||
rev: v0.11.6
|
||||
hooks:
|
||||
# Run the linter.
|
||||
- id: ruff
|
||||
|
|
13
CHANGELOG
13
CHANGELOG
|
@ -1,8 +1,9 @@
|
|||
# Requirements Updated
|
||||
qbittorrent-api==2025.4.1
|
||||
humanize==4.12.2
|
||||
|
||||
# New Updates
|
||||
- Adds new command to filter for completed torrents only for rem_unregistered (#747)
|
||||
- Replace flake8/black with ruff for lint and formatting
|
||||
- Adds warning to share_limits not being applied in dry-run (closes #786)
|
||||
- Adds credit to remove_scross-seed_tag.py script (Thanks to @zakkarry)
|
||||
|
||||
# Bug Fixes
|
||||
- Fixes bug in tagging `stalledDL` torrents when set to False (#764)
|
||||
|
||||
**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v4.2.0...v4.2.1
|
||||
**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v4.2.1...v4.2.2
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"qbitapi": "2025.2.0"
|
||||
},
|
||||
"develop": {
|
||||
"qbit": "v5.0.4",
|
||||
"qbitapi": "2025.2.0"
|
||||
"qbit": "v5.0.5",
|
||||
"qbitapi": "2025.4.1"
|
||||
}
|
||||
}
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
4.2.1
|
||||
4.2.2
|
||||
|
|
|
@ -77,7 +77,7 @@ This section defines the directories that qbit_manage will be looking into for v
|
|||
|
||||
---
|
||||
This section defines the categories that you are currently using and the save path's that are associated with them.
|
||||
> **NOTE** ALL save paths must be defined, if it is in your qBit, then it **MUST** be defined here, if not the script will throw errors. If you want to leave a save_path as uncategorized you can use the key 'Uncategorized' as the name of the category.
|
||||
> **NOTE** ALL save paths must be defined, if it is in your qBit, then it **MUST** be defined here, if not the script will throw errors. If you want to leave a save_path as uncategorized you can use the key 'Uncategorized' as the name of the category. You may map a folder and its subdirectories to a single folder by appending `*` to the path e.g. `<path>/<to>/category/*`
|
||||
|
||||
| Configuration | Definition | Required |
|
||||
| :------------ | :------------------------ | :----------------- |
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# Local Installations
|
||||
|
||||
Below is a simple high level set of instructions for cloning the repository and executing qbit_manage
|
||||
|
||||
* Requires `python 3.9.0`. Dependencies must be installed by running:
|
||||
|
||||
Navigate to the directory you'd liked to clone the repo into
|
||||
|
|
|
@ -47,6 +47,8 @@ class ShareLimits:
|
|||
def update_share_limits(self):
|
||||
"""Updates share limits for torrents based on grouping"""
|
||||
logger.separator("Updating Share Limits based on priority", space=False, border=False)
|
||||
if self.config.dry_run:
|
||||
logger.warning("Share Limits will not be applied with dry_run and could be inaccurate unless manually adding tags.")
|
||||
torrent_list = self.qbt.get_torrents({"status_filter": self.status_filter})
|
||||
self.assign_torrents_to_group(torrent_list)
|
||||
for group_name, group_config in self.share_limits_config.items():
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
|
||||
pre-commit==4.1.0
|
||||
ruff==0.10.0
|
||||
pre-commit==4.2.0
|
||||
ruff==0.11.7
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
bencodepy==0.9.5
|
||||
croniter==6.0.0
|
||||
GitPython==3.1.44
|
||||
humanize==4.12.1
|
||||
humanize==4.12.2
|
||||
pytimeparse2==1.7.1
|
||||
qbittorrent-api==2025.2.0
|
||||
qbittorrent-api==2025.4.1
|
||||
requests==2.32.3
|
||||
retrying==1.3.4
|
||||
ruamel.yaml==0.18.10
|
||||
|
|
|
@ -1,4 +1,15 @@
|
|||
#!/usr/bin/env python3
|
||||
#!/usr/bin/python3
|
||||
# This script was written by zakkarry ( https://github.com/zakkarry )
|
||||
# Simply follow the basic configuration options below to remove all 'cross-seed'
|
||||
# tags from all torrents from qBittorrent client matching the options below.
|
||||
#
|
||||
# If you do not know how to use environmental variables, or do not need to, simply
|
||||
# configure the second part of the OBIT_* variables, where the actual URL and strings are.
|
||||
#
|
||||
# If you need to, you can use this script to remove any tag as well, simply modify CROSS_SEED_TAG
|
||||
# from 'cross-seed' to whichever tag you wish to remove.
|
||||
#
|
||||
|
||||
import os
|
||||
|
||||
# USES ENVIRONMENTAL VARIABLES, IF NONE ARE PRESENT WILL FALLBACK TO THE SECOND STRING
|
||||
|
|
Loading…
Add table
Reference in a new issue