-
-
Notifications
You must be signed in to change notification settings - Fork 94
Comfyui #814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Comfyui #814
Conversation
Stick to the guidelines of other scripts. Not a single one has split everything into subfunctions. We have many helper functions that simply remove many lines. Take a look at the current scripts in the live repo. It's not worth evaluating the script here, as I would basically have to criticize every line of intall.sh. |
Thanks MickLesk for your prompt response. I'm happy to reduce the script. I couldn’t find anything in the guidelines about avoiding subfunctions, just curious if there's a specific reason for not using them?. Also, is there a maximum line count limit we should follow? |
@jdacode please follow the guidelines like everyone else does: https://github.com/community-scripts/ProxmoxVE/wiki/CONTRIBUTING We want our scripts to follow the standarts so it's easier to maintain them. |
Yeah, very sorry about that |
I did some changes, happy to make more if needed 🙂 |
Do you guys accept dynamic variables in the install.sh script, such as:
So this allows users to modify installation parameters |
Remove all comments except header ones |
In the current Case the most of this will be ignored, because install.sh is an subshell execution inside the lxc |
I made some changes to the code:
@MickLesk thanks for responding. I was referring more to the case where users want to modify some parameters before bash command, for example:
I think this is super useful. However, I'm happy to remove the dynamic variables from the script if you guys want |
🛑 New scripts must first be submitted to ProxmoxVED for testing.
PRs for new scripts that skip this process will be closed.
✍️ Description
Adds ComfyUI LXC Script
🔗 Related PR / Issue
Link: community-scripts/ProxmoxVE#3915
✅ Prerequisites (X in brackets)
🛠️ Type of Change (X in brackets)
README
,AppName.md
,CONTRIBUTING.md
, or other docs.🔍 Code & Security Review (X in brackets)
Code_Audit.md
&CONTRIBUTING.md
guidelinesAppName.sh
,AppName-install.sh
,AppName.json
)📋 Additional Information (optional)