-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/build/cmd/relui: add checkbox to Go installers to delete previous GOENV configuration file #45208
Comments
This doesn't have to be a proposal. This can be decided by the maintainers of the installation program. That said, I'm not sure what installation program you mean. Is this Windows-specific? |
oh ok I didn't know about a specific group of maintainers of the the installation program... how can I propose this to them? Yep I'm referring to windows golang installation program (the .msi executables here) |
CC @golang/osp-team |
/cc @golang/release as well as the osp-team. |
Sorry I don't understand... Is this issue ok or should I open an other? If yes, where? |
This issue is okay. If we consider this to be about resetting configuration in the |
yep my specific problem arose because of the and while suggesting this feature I thought that this problem might arise again because of other user configs (I am thinking about
yes indeed, I forgot to mention the macOS installer but absolutely... (and all other OS that require an installer) |
Deleting the It wouldn't be feasible for the Go installer to try to find or delete configuration in places that aren't well known (e.g., custom user .bash_profile or similar files), so I suspect there's not much more can be done in those cases. I'm not sure where the Windows registry entries fall, but that can be considered as part of this. |
oh yea... sure you are completely right... ad what about the possibility to delete for example the folder
yep I think reading windows registry entries it's a pain... especially if the installer needs to run on different windows versions... (and it would add a layer of complexity when working with different OS) |
sorry, are there any news about this project? |
I had a problem recently (#45174) where after reinstalling golang the
go env file
would remain unchanged and this caused multiple issues since all tools and binaries were compiled for 386 arch and not for amd64 arch (as I expected).I understand that many people want to preserve the old configuration after an update or reinstallation... but sometimes a "true" clean install might be useful.
What I suggest is to add a checkbox in the golang installation program that, if set to true, will wipe out all previous config (either all or some selectable folders) (
%GOENV%
,%GOPATH%
,%GOCACHE%
... etc).thanks
The text was updated successfully, but these errors were encountered: