[PR #4601] [MERGED] [core] New Features for Config File function #5099

Closed
opened 2025-11-20 07:04:17 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/4601
Author: @michelroegl-brunner
Created: 5/20/2025
Status: Merged
Merged: 5/20/2025
Merged by: @tremor021

Base: mainHead: new_feat_config_file


📝 Commits (2)

  • 8c5f601 New Features for Config File function
  • 3e342ca New Features for Config File function

📊 Changes

2 files changed (+91 additions, -19 deletions)

View changed files

📝 misc/build.func (+3 -2)
📝 misc/config-file.func (+88 -17)

📄 Description

✍️ Description

This pull request introduces several enhancements to the configuration file functionality:

  • Expanded Apt-Cacher Support
    Removes the constraint that previously limited apt-cacher usage to only IP addresses.

  • Improved Tag Handling
    Enables the use of default tags by specifying TAGS=DEFAULT in the configuration file.
    Users can also combine custom tags with the default ones using TAGS=dev;DEFAULT.

  • IP Range Support for Network Configuration
    Adds support for specifying network IP ranges in the format 0.0.0.0/24-0.0.0.0/24.
    The system will ping each IP address within the defined range and select the first available one.

Link: #4582 #4587 #4588

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔄 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/4601 **Author:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Created:** 5/20/2025 **Status:** ✅ Merged **Merged:** 5/20/2025 **Merged by:** [@tremor021](https://github.com/tremor021) **Base:** `main` ← **Head:** `new_feat_config_file` --- ### 📝 Commits (2) - [`8c5f601`](https://github.com/community-scripts/ProxmoxVE/commit/8c5f601c194d289ed84030dcff593808e718bd06) New Features for Config File function - [`3e342ca`](https://github.com/community-scripts/ProxmoxVE/commit/3e342ca6fb9b98524456d3f1b3c39e692e4e0507) New Features for Config File function ### 📊 Changes **2 files changed** (+91 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `misc/build.func` (+3 -2) 📝 `misc/config-file.func` (+88 -17) </details> ### 📄 Description <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed. --> ## ✍️ Description This pull request introduces several enhancements to the configuration file functionality: - **Expanded Apt-Cacher Support** Removes the constraint that previously limited apt-cacher usage to only IP addresses. - **Improved Tag Handling** Enables the use of default tags by specifying `TAGS=DEFAULT` in the configuration file. Users can also combine custom tags with the default ones using `TAGS=dev;DEFAULT`. - **IP Range Support for Network Configuration** Adds support for specifying network IP ranges in the format `0.0.0.0/24-0.0.0.0/24`. The system will ping each IP address within the defined range and select the first available one. ## 🔗 Related PR / Issue Link: #4582 #4587 #4588 ## ✅ Prerequisites (**X** in brackets) - [X] **Self-review completed** – Code follows project standards. - [X] **Tested thoroughly** – Changes work as expected. - [X] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [ ] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [X] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [ ] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [ ] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 07:04:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#5099