-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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
cmd/go: telemetry data should not be in $XDG_CONFIG_HOME #68988
Comments
Related Issues and Documentation (Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
CC @golang/telemetry |
Thanks. My understanding is that For the record the rationale for choosing |
See https://lists.freedesktop.org/archives/xdg/2016-December/013803.html, https://wiki.debian.org/XDGBaseDirectorySpecification, and https://www.reddit.com/r/linux/comments/ny34vs/new_xdg_state_home_in_xdg_base_directory_spec/ for background. |
Notes from our meeting discussion of this issue:
So, my current sense is that while XDG_STATE_HOME may be the more appropriate directory on Linux, it's not clear whether the upside of making this change now offsets the downside. If there were something like |
Go version
go version go1.23.0 linux/amd64
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
My
$XDG_CONFIG_HOME/go/telemetry
directory ($HOME/.config/go/telemetry
) is now full of data files, in violation of the XDG Base Directory Specification which reserves$XDG_CONFIG_HOME
for configuration.What did you expect to see?
I expected telemetry data to be stored in
$XDG_STATE_HOME
instead.The text was updated successfully, but these errors were encountered: