mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-15 22:43:00 +01:00
1.3 KiB
1.3 KiB
🧪 Code Audit: LXC Script Flow
This guide explains the current execution flow and what to verify during reviews.
Execution Flow (CT + Install)
ct/appname.shruns on the Proxmox host and sourcesmisc/build.func.build.funcorchestrates prompts, container creation, and invokes the install script.- Inside the container,
misc/install.funcexposes helper functions via$FUNCTIONS_FILE_PATH. install/appname-install.shperforms the application install.- The CT script prints the completion message.
Audit Checklist
CT Script (ct/)
- Sources
misc/build.funcfromcommunity-scripts/ProxmoxVE/main(setup-fork.sh updates for forks). - Uses
check_for_gh_release+fetch_and_deploy_gh_releasefor updates. - No Docker-based installs.
Install Script (install/)
- Sources
$FUNCTIONS_FILE_PATH. - Uses
tools.funchelpers (setup_*). - Ends with
motd_ssh,customize,cleanup_lxc.
Website Metadata
- Website metadata for new/updated scripts is requested via the website (Report issue on script page) where applicable.
Testing
- Test via curl from your fork (CT script only).
- Wait 10-30 seconds after push.
References
docs/contribution/templates_ct/AppName.shdocs/contribution/templates_install/AppName-install.shdocs/contribution/templates_json/AppName.jsondocs/contribution/GUIDE.md