redhat-developer / vscode-redhat-telemetry

21 stars 25 forks source link

Respect XDG Base Directory Specification #51

Open JoelleJS opened 1 month ago

JoelleJS commented 1 month ago

On Linux, the Red Hat telemetry functionality creates the .redhat directory in the home directory. Most importantly, this directory contains anonymousId; see USAGE_DATA.md and https://github.com/redhat-developer/vscode-redhat-telemetry/blob/d5737dc1096f8220c2e10287e774f4dec3be45b5/src/node/fileSystemIdManager.ts#L46

This unfortunately adds to the problem of the home directory filling up with hidden dotfiles. As a better way of organizing the home directory, the XDG Base Directory Specification is widely used.

For those of us who value a clean home directory, I hope you can consider a few options:

Changing this would affect more projects, including but not limited to:

fbricon commented 1 month ago

Sorry, but this directory is used by multiple dev tools at Red Hat to provide consistent telemetry results. We would need to change them everywhere and we currently don't have the bandwidth to do that unfortunately.

JoelleJS commented 1 month ago

@fbricon Unfortunate but understandable.