Where best would be a branch with the current recommended version. init.sh is a bad name, but it may contain all the code created/compiled at commit time by git hooks... or it could use curl X|busybox sh -s to get at the appropriate code, it's not like any involved host should want for internet access.
Something like:
https://bash.cyberciti.biz/guide/Menu_driven_scripts
At the end the server config could optionaly print the correct input to paste into the corresponding client host, including the install string.
Edit: I was just thinking about a best branch in practice, I don't know if raw.githubusercontent.com would honor the gitattribute ident or if git foo like that is even an option to retrieve the commit id in an init.sh script that pulls other scripts with curl.
Feeding off #7. Install "string" would be like:
Where
best
would be a branch with the current recommended version.init.sh
is a bad name, but it may contain all the code created/compiled at commit time by git hooks... or it could usecurl X|busybox sh -s
to get at the appropriate code, it's not like any involved host should want for internet access.Something like: https://bash.cyberciti.biz/guide/Menu_driven_scripts At the end the server config could optionaly print the correct input to paste into the corresponding client host, including the install string.
Edit: I was just thinking about a
best
branch in practice, I don't know ifraw.githubusercontent.com
would honor thegitattribute ident
or if git foo like that is even an option to retrieve the commit id in aninit.sh
script that pulls other scripts with curl.