[PR #1252] [MERGED] [overrideable url] Remaining changes to ct scripts to use environment variable #2950

Closed
opened 2026-02-05 05:21:48 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/1252
Author: @cricalix
Created: 1/5/2025
Status: Merged
Merged: 1/7/2025
Merged by: @MickLesk

Base: dev_overrideable_urlHead: remaining-ct-changes


📝 Commits (3)

  • d661b27 Redo: Change from wget to curl when fetching create_lxc.sh
  • 4ca6da2 Redo: [overrideable url] Initial changes to ct scripts to use environment variable
  • ad9b914 Redo: [overrideable url] Remaining changes to ct scripts to use environment variable

📊 Changes

210 files changed (+419 additions, -210 deletions)

View changed files

📝 ct/2fauth.sh (+2 -1)
📝 ct/5etools.sh (+2 -1)
📝 ct/actualbudget.sh (+2 -1)
📝 ct/adguard.sh (+2 -1)
📝 ct/adventurelog.sh (+2 -1)
📝 ct/agentdvr.sh (+2 -1)
📝 ct/alpine-docker.sh (+2 -1)
📝 ct/alpine-grafana.sh (+2 -1)
📝 ct/alpine-nextcloud.sh (+2 -1)
📝 ct/alpine-vaultwarden.sh (+2 -1)
📝 ct/alpine-zigbee2mqtt.sh (+2 -1)
📝 ct/alpine.sh (+2 -1)
📝 ct/apache-cassandra.sh (+2 -1)
📝 ct/apache-couchdb.sh (+2 -1)
📝 ct/apt-cacher-ng.sh (+2 -1)
📝 ct/archivebox.sh (+2 -1)
📝 ct/aria2.sh (+2 -1)
📝 ct/audiobookshelf.sh (+2 -1)
📝 ct/authentik.sh (+2 -1)
📝 ct/autobrr.sh (+2 -1)

...and 80 more files

📄 Description

🛠️ Note:
We are meticulous about merging code into the main branch, so please understand that pull requests not meeting the project's standards may be rejected. It's never personal!
🎮 Note for game-related scripts: These have a lower likelihood of being merged.


✍️ Description

In https://github.com/community-scripts/ProxmoxVE/discussions/1202, I proposed that a new environment variable could be used to change the URL that the scripts fetch data from, enabling easy testing against custom repositories (or even local disk) without having to edit the files every time. In https://github.com/community-scripts/ProxmoxVE/pull/1230, the request was made to split the PR into smaller PRs.

This PR implements the remaining changes to the ct/* app scripts, moving the root of the hard-coded URL to a variable that allows the environment to override it, and then changes the source command to use that variable as the base of the URL to fetch.



🛠️ Type of Change

Please check the relevant options:

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change unexpectedly)
  • New script (a fully functional and thoroughly tested script or set of scripts)

Prerequisites

The following steps must be completed for the pull request to be considered:

  • Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.)
  • Testing performed (I have thoroughly tested my changes and verified expected functionality.)
  • Documentation updated (I have updated any relevant documentation)

📋 Additional Information (optional)

Previous PR screenshots apply.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/1252 **Author:** [@cricalix](https://github.com/cricalix) **Created:** 1/5/2025 **Status:** ✅ Merged **Merged:** 1/7/2025 **Merged by:** [@MickLesk](https://github.com/MickLesk) **Base:** `dev_overrideable_url` ← **Head:** `remaining-ct-changes` --- ### 📝 Commits (3) - [`d661b27`](https://github.com/community-scripts/ProxmoxVE/commit/d661b27ee3e14b71140dc7bc38635905b9df4148) Redo: Change from wget to curl when fetching create_lxc.sh - [`4ca6da2`](https://github.com/community-scripts/ProxmoxVE/commit/4ca6da2e5c16213d155fa2ad77848dcd91495216) Redo: [overrideable url] Initial changes to ct scripts to use environment variable - [`ad9b914`](https://github.com/community-scripts/ProxmoxVE/commit/ad9b914a240450c8ced1b0b58e79ef00bd80b802) Redo: [overrideable url] Remaining changes to ct scripts to use environment variable ### 📊 Changes **210 files changed** (+419 additions, -210 deletions) <details> <summary>View changed files</summary> 📝 `ct/2fauth.sh` (+2 -1) 📝 `ct/5etools.sh` (+2 -1) 📝 `ct/actualbudget.sh` (+2 -1) 📝 `ct/adguard.sh` (+2 -1) 📝 `ct/adventurelog.sh` (+2 -1) 📝 `ct/agentdvr.sh` (+2 -1) 📝 `ct/alpine-docker.sh` (+2 -1) 📝 `ct/alpine-grafana.sh` (+2 -1) 📝 `ct/alpine-nextcloud.sh` (+2 -1) 📝 `ct/alpine-vaultwarden.sh` (+2 -1) 📝 `ct/alpine-zigbee2mqtt.sh` (+2 -1) 📝 `ct/alpine.sh` (+2 -1) 📝 `ct/apache-cassandra.sh` (+2 -1) 📝 `ct/apache-couchdb.sh` (+2 -1) 📝 `ct/apt-cacher-ng.sh` (+2 -1) 📝 `ct/archivebox.sh` (+2 -1) 📝 `ct/aria2.sh` (+2 -1) 📝 `ct/audiobookshelf.sh` (+2 -1) 📝 `ct/authentik.sh` (+2 -1) 📝 `ct/autobrr.sh` (+2 -1) _...and 80 more files_ </details> ### 📄 Description > **🛠️ Note:** > We are meticulous about merging code into the main branch, so please understand that pull requests not meeting the project's standards may be rejected. It's never personal! > 🎮 **Note for game-related scripts:** These have a lower likelihood of being merged. --- ## ✍️ Description In https://github.com/community-scripts/ProxmoxVE/discussions/1202, I proposed that a new environment variable could be used to change the URL that the scripts fetch data from, enabling easy testing against custom repositories (or even local disk) without having to edit the files every time. In https://github.com/community-scripts/ProxmoxVE/pull/1230, the request was made to split the PR into smaller PRs. This PR implements the remaining changes to the ct/* app scripts, moving the root of the hard-coded URL to a variable that allows the environment to override it, and then changes the source command to use that variable as the base of the URL to fetch. - - - - Related PR: #1251 - Related Discussion: #1202 --- ## 🛠️ Type of Change Please check the relevant options: - [ ] Bug fix (non-breaking change that resolves an issue) - [ ] New feature (non-breaking change that adds functionality) - [X] Breaking change (fix or feature that would cause existing functionality to change unexpectedly) - [ ] New script (a fully functional and thoroughly tested script or set of scripts) --- ## ✅ Prerequisites The following steps must be completed for the pull request to be considered: - [X] Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.) - [X] Testing performed (I have thoroughly tested my changes and verified expected functionality.) - [ ] ~Documentation updated (I have updated any relevant documentation)~ --- ## 📋 Additional Information (optional) Previous PR screenshots apply. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 05:21:48 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2950