-
Notifications
You must be signed in to change notification settings - Fork 203
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
Multiple versions can't coexist when installing please via Homebrew #1175
Comments
Are these updates happening because you have a version set in |
Yes. I like that there is a script in the repo that I can use, but I also prefer using So what's the solution then? I found a |
Can you not just remove the |
I want to make sure that the same version of please is used locally and in CI. Not using the same versions is what usually leads to weird issues and hours of debugging. I thought that the version config was there to ensure that. |
OK, that makes sense - I'm slightly confused as to the original issue though, is it that you're pinning a version but Homebrew is installing a newer version if available? And hence whenever you run You can definitely add |
No, it's actually please that gets confused.
Every time I switch to a project that is pinned to a different (but in theory, already downloaded) version, |
Ah, I see. Sorry, having a bit of a slow day 😃 Agreed that doesn't seem right. I'll dig out my macbook and try to see what it's up to. |
Right - looks like it is downloading into Currently we have one concept of "install directory" which can be set in the config; if it's not we assume it's wherever the plz binary lives. That facilitates running it directly from Homebrew and finding the tools from that (it would be a bit simplified by #1145 ). However it's also using that to download into. |
Actually, version diff from the brew version is not a problem. If I installed 15.0.0 with brew and pinned 15.2.0 everywhere, it works just fine. |
I think what we do internally on our workers is kinda similar to how rust manages their toochain. When you install rust you actually install rustup that is responsible for managing the active toolchain version. I'm thinking it might make sense if we do what we do internally in the general case i.e. when you install please, we actually just install .pleasew in /usr/bin/plz (or where ever) and that then installs the correct version of please in ~/.please. |
Will address this in #1192 |
When please is installed with Homebrew and there different Please versions in use, Please always downloads a new copy differing from the current version.
I guess it's related to Homebrew.
The text was updated successfully, but these errors were encountered: