maybe the "solution" here is to take a page out of windows book and make a "brew shell" that has brew first in the path and thats the only way to use brew directly (this more a joke and last resort workaround i guess)
or maybe putting the homebrew $PATH statement in one of the other dotfiles but the internet's full of confusing statements so it could be one or any combo of .profile, .bashrc, etc.
back when i did a lot of python version dependent development i had aliases to set different paths depending on which python venv i had to use so i would just have $REALPATH$REALPATH, $PATH27$PATH27, $PATH3$PATH3 and $PATHCUSTOM$PATHCUSTOM and the aliases just exported those depending on what i needed. it was messy but i needed a solution fast to just get working
i dont really think there will be a one solution fits all when it comes to that brew issue just because of how environment variables are handled in all platforms
i know, but most platforms handle envs in the same way, you either have it and whatever is first takes precedence or you dont have it (which is why you would have shells with correct paths applied for things like git bash, visual studio, etc in windows) also because windows for some reason has i believe a 256 character limit for its $PATH or something weird like that
yeah but i know that was a limitation for windows as i hit that limit very fast when i just tried to make my workflow work on windows back when i did dev work for a company
they got tired of trying to force windows to work for me they just gave me permission to use linux where i just set up my dev environment in less than 5 mins
Brews environment/path would need to precede the hosts. Otherwise it will always take priority. Unfortunately, I think the best way around that is a container
The four dropdowns work, and output the necessary data. The two links work. Most of the UI is raw XML, which should be possible to reverse engineer with much nicer Python now that I know a lot more about how these things work. With nice formatting, this app is a template plus 16 lines of code. It is really 8 lines of code.
I think I will probably at least add a 'version' dropdown for 38/39/etc, but someone would need to maintain that. Signed vs unsigned might be tricky to check for, since I intend for this to work on upstream images, but I can make it a dropdown
Hypothetically, I would like to be able to guide someone to install a Ublue image over the phone by having them install upstream Silverblue with a reliable ISO, then use a GUI to download the image switcher, and use the GUI image switcher to rebase
i mean you dont really want users on unsigned images and they wouldnt get this until after they switch to ublue. could just add a flag "--install" which will use unsigned images for people who switch from base silverblue/kinoite/etc
Anywho: unsigned vs signed can be trivially fixed with an 80/20 solution, and the ideal solution of automating it and eliminating the possibility of user error may be fairly easy depending on things y'all know more about than I do