mirror of
https://github.com/coelacant1/ProxmoxScripts.git
synced 2026-04-26 17:35:49 +03:00
[PR #21] [MERGED] V2.1.6 - Bug fixes, username support, and validation improvements #21
Labels
No labels
bug
bug
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ProxmoxScripts#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/coelacant1/ProxmoxScripts/pull/21
Author: @coelacant1
Created: 11/25/2025
Status: ✅ Merged
Merged: 11/25/2025
Merged by: @coelacant1
Base:
main← Head:testing📝 Commits (1)
d36fbc4V2.1.6 - Bug fixes, username support, and validation improvements📊 Changes
13 files changed (+356 additions, -91 deletions)
View changed files
📝
.check/VerifySourceCalls.py(+33 -13)📝
.check/_RunChecks.sh(+27 -0)📝
.gitignore(+1 -0)➕
.site/MultiView.png(+0 -0)➕
.site/MultiView2.png(+0 -0)📝
CHANGELOG.md(+62 -0)📝
GUI.sh(+146 -22)📝
Host/HostInfo.sh(+0 -3)📝
README.md(+9 -5)📝
Utilities/ConfigManager.sh(+25 -7)📝
Utilities/RemoteExecutor.sh(+45 -36)📝
Utilities/_Utilities.md(+6 -5)📝
nodes.json.template(+2 -0)📄 Description
name: Bug fixes, username support, and validation improvements
about: Bug fixes, username support, and validation improvements
title: "[PR] Bug fixes, username support, and validation improvements"
labels: enhancement, bug
assignees: 'Coela'
Added
usernamefield to nodes.json configurationusername@ipthroughout GUI__check_remote_dependencies__()function checks for sshpass and jq_RunChecks.shrunsbash -non all .sh filesVerifySourceCalls.pynow validates shellcheck comments have matching source statementsChanged
jqandsshpassFixed
Host/HostInfo.shRemoteExecutor.shto use configured username__ssh_exec__,__scp_exec__,__scp_exec_recursive__,__scp_download__now accept username parameterConfigManager.shtracks username per node inNODE_USERNAMESassociative array_RunChecks.shnever validated basic syntax :CTechnical Details
nodes.json.template- Added username field with "root" defaultUtilities/ConfigManager.sh- Added NODE_USERNAMES tracking and get_node_username() functionUtilities/RemoteExecutor.sh- All remote operations parameterized with usernameGUI.sh- Dependency checking, username prompts, and script filtering.check/VerifySourceCalls.py- Enhanced shellcheck directive validation.check/_RunChecks.sh- Added Check 1a. for syntax validationDeveloper Notes
The orphaned error handler bug existed because:
bash -nsyntax check was not being run in validation suiteDeadCodeCheck.pyonly checks unused functions/variables, not code structureVerifySourceCalls.pydidn't validate orphaned error handlers The fix adds syntax validation to prevent similar issues...Type of Change
How Has This Been Tested?
Validated all _RunChecks.
Checklist
Related Issues
https://github.com/coelacant1/ProxmoxScripts/issues/20#issue-3662966025
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.