-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
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
redhatdirectory 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
redhatdirectory using a dedicated environment variable
Changing this would affect more projects, including but not limited to:
- Quarkus adds some additional files to the
.redhatdirectory. See https://quarkus.io/guides/build-analytics. - Needs changes in the Java telemetry project too; see Respect XDG Base Directory Specification intellij-redhat-telemetry#84.
ASafaeirad, marmitar and mo-gad
Metadata
Metadata
Assignees
Labels
No labels