Skip to content

proposal: dl/gotip: enable configuring install path #70936

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

Closed
willfaught opened this issue Dec 19, 2024 · 4 comments
Closed

proposal: dl/gotip: enable configuring install path #70936

willfaught opened this issue Dec 19, 2024 · 4 comments
Labels
Milestone

Comments

@willfaught
Copy link
Contributor

Proposal Details

Currently, gotip installs to ~/sdk on macOS. This is fine for one-off uses, where I delete gotip and ~/sdk afterward, but if I want to keep gotip around, it can't stay there. I have a particular organization to things, and I don't put arbitrary stuff in ~.

How about having an environment variable like GOTIP_PATH or a flag like -gotip-path (or both, one overriding the other) that you can set however you like, defaulting to ~/sdk (or ~ or ~/Library/Application Support/gotip (on macOS))?

@gopherbot gopherbot added this to the Proposal milestone Dec 19, 2024
@ianlancetaylor ianlancetaylor moved this to Incoming in Proposals Dec 19, 2024
@ianlancetaylor
Copy link
Member

CC @golang/release

@dmitshur
Copy link
Contributor

dmitshur commented Dec 20, 2024

I believe this is the same as issue #26520, except that one is about all of the golang.org/dl/go1.N.M commands, not just the gotip one. In that issue, one of the suggested names for a environment variable to control this was GOSDK.

@seankhliao
Copy link
Member

Duplicate of #26520

@seankhliao seankhliao marked this as a duplicate of #26520 Dec 20, 2024
@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2024
@willfaught
Copy link
Contributor Author

@seankhliao Can you put gotip in the title of the other one so people can find it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Incoming
Development

No branches or pull requests

5 participants