From a756cd710d7fe9429484475233d1bc4bbb61ddee Mon Sep 17 00:00:00 2001 From: Malpractis <31232305+Malpractis@users.noreply.github.com> Date: Wed, 20 Dec 2023 23:03:43 +1100 Subject: [PATCH] chore(qbitmanager): update questions.yaml with new/changed env vars (#15877) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Some ENV VARS are missing and one is wrong on the latest version of qbitmanage. Changed: QBT_SKIP_RECYCLE to QBT_SKIP_CLEANUP Added: QBT_SHARE_LIMITS, QBT_SKIP_QB_VERSION_CHECK, QBT_TAG_TRACKER_ERROR https://github.com/StuffAnThings/qbit_manage/wiki/Docker-Installation ⚒️ Fixes # **⚙️ Type of change** - [x] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** Tested by manually adding the additional/changed ENV VARS to the current chart 5.0.12, and toggling between false and true. Honnestly not sure how to test the chart changes in SCALE. **📃 Notes:** **✔️ Checklist:** - [x] ⚖️ My code follows the style guidelines of this project - [x] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [x] ⚠️ My changes generate no new warnings - [x] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Kjeld Schouten Co-authored-by: Kjeld Schouten --- charts/stable/qbitmanage/Chart.yaml | 2 +- charts/stable/qbitmanage/questions.yaml | 24 +++++++++++++++++++++--- charts/stable/qbitmanage/values.yaml | 5 ++++- 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/charts/stable/qbitmanage/Chart.yaml b/charts/stable/qbitmanage/Chart.yaml index 992c6f62b67..6e2d5ad1587 100644 --- a/charts/stable/qbitmanage/Chart.yaml +++ b/charts/stable/qbitmanage/Chart.yaml @@ -1,7 +1,7 @@ kubeVersion: ">=1.24.0-0" apiVersion: v2 name: qbitmanage -version: 5.0.14 +version: 5.0.15 appVersion: 4.0.6 description: This tool will help manage tedious tasks in qBittorrent and automate diff --git a/charts/stable/qbitmanage/questions.yaml b/charts/stable/qbitmanage/questions.yaml index 38f66e547f6..d722d648c07 100644 --- a/charts/stable/qbitmanage/questions.yaml +++ b/charts/stable/qbitmanage/questions.yaml @@ -59,6 +59,12 @@ questions: schema: type: boolean default: false + - variable: QBT_TAG_TRACKER_ERROR + label: QBT_TAG_TRACKER_ERROR + description: Use this to tag any torrents with tracker errors, such as unregistered torrents or unreachable trackers. + schema: + type: boolean + default: false - variable: QBT_REM_ORPHANED label: QBT_REM_ORPHANED description: Use this if you would like to remove orphaned files from your root_dir directory that are not referenced by any torrents. It will scan your root_dir directory and compare it with what is in qBittorrent. Any data not referenced in qBittorrent will be moved into /data/torrents/orphaned_data folder for you to review/delete. @@ -71,9 +77,21 @@ questions: schema: type: boolean default: false - - variable: QBT_SKIP_RECYCLE - label: QBT_SKIP_RECYCLE - description: Use this to skip emptying the Recycle Bin folder (/root_dir/.RecycleBin). + - variable: QBT_SHARE_LIMITS + label: QBT_SHARE_LIMITS + description: Control how torrent share limits are set depending on the priority of your grouping. This can apply a max ratio, seed time limits to your torrents or limit your torrent upload speed as well. Each torrent will be matched with the share limit group with the highest priority that meets the group filter criteria. Each torrent can only be matched with one share limit group. + schema: + type: boolean + default: false + - variable: QBT_SKIP_CLEANUP + label: QBT_SKIP_CLEANUP + description: Use this to skip emptying the Recycle Bin folder (/root_dir/.RecycleBin) and Orphaned directory. (/root_dir/orphaned_data) + schema: + type: boolean + default: false + - variable: QBT_SKIP_QB_VERSION_CHECK + label: QBT_SKIP_QB_VERSION_CHECK + description: Use this to bypass qBittorrent/libtorrent version compatibility check. You run the risk of undesirable behavior and will receive no support. schema: type: boolean default: false diff --git a/charts/stable/qbitmanage/values.yaml b/charts/stable/qbitmanage/values.yaml index a4edacedb94..fcb285faf75 100644 --- a/charts/stable/qbitmanage/values.yaml +++ b/charts/stable/qbitmanage/values.yaml @@ -44,9 +44,12 @@ workload: QBT_CAT_UPDATE: false QBT_TAG_UPDATE: false QBT_REM_UNREGISTERED: false + QBT_TAG_TRACKER_ERROR: false QBT_REM_ORPHANED: false QBT_TAG_NOHARDLINKS: false - QBT_SKIP_RECYCLE: false + QBT_SHARE_LIMITS: false + QBT_SKIP_CLEANUP: false + QBT_SKIP_QB_VERSION_CHECK: false QBT_DRY_RUN: false QBT_LOG_LEVEL: INFO QBT_DIVIDER: "="