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
|
this.redhatDir = path.join(homedir, '.redhat'); |
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:
- Creating the
redhat directory relative to an appropriate XDG Base Directory, if specified in the user environment;
- Providing users with the option to explicitly specify the location of the
redhat directory using a dedicated environment variable
Changing this would affect more projects, including but not limited to:
On Linux, the Red Hat telemetry functionality creates the
.redhatdirectory in the home directory. Most importantly, this directory containsanonymousId; see USAGE_DATA.md andvscode-redhat-telemetry/src/node/fileSystemIdManager.ts
Line 46 in d5737dc
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:
redhatdirectory relative to an appropriate XDG Base Directory, if specified in the user environment;redhatdirectory using a dedicated environment variableChanging this would affect more projects, including but not limited to:
.redhatdirectory. See https://quarkus.io/guides/build-analytics.