-
Notifications
You must be signed in to change notification settings - Fork 16
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
Improvements to install script #268
Conversation
za419
commented
Jul 31, 2024
- Suppport relative music paths
- Remember that we chose a proxy instead of relying on a profile
- Use heredocs to reduce echo spam
- Add defaults to inputs where that seems suitable
- Add input validation
- Read only one character for y/n prompt
- Use fail-early to stop if we reach a bad state
- Make the script able to run regardless of working directory
- Suppport relative music paths - Remember that we chose a proxy instead of relying on a profile - Use heredocs to reduce echo spam - Add defaults to inputs where that seems suitable - Add input validation - Read only one character for y/n prompt - Use fail-early to stop if we reach a bad state - Make the script able to run regardless of working directory
I'm getting stuck in the rate limiter loop, do you see similar behavior?
The loop only breaks when I hit return, providing no value. |
Apparently, Bash doesn't actually support this in its regexes. How annoying...
That awkward moment when you get caught assuming bash is better at regex than it actually is.... |
This was surprisingly easy...
|
Nice, that looks good now. The next one is in the reverse proxy setup:
We must have different versions of |
I also separately bring up another question about continuity after initial installation. Assuming that an initial Also meant to point this out yesterday nice commit hash. I don't think I've ever seen a word spelled before.
|
No reason why it shouldn't, since it recreates the config files (including the compose yml) from scratch on each run. I did it quite a few times that way while developing this and noticed no ill effects - I also ran through the scenario you mentioned just now and it seems to work perfectly.
Hey, I didn't even notice! Cool! Thanks for pointing it out. I also can't remember seeing a word spelled out before (except maybe the rather simple 'bad', and definitely not counting 'a' as a word of course...) |
Works flawlessly for me now. Nice work. |