Skip to content

Respect XDG Base Directory Specification #51

@JoelleJS

Description

@JoelleJS

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions