Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Adopt the XDG Base Directory Specification #1

Open
paulbes opened this issue May 20, 2020 · 1 comment
Open

Adopt the XDG Base Directory Specification #1

paulbes opened this issue May 20, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@paulbes
Copy link
Contributor

paulbes commented May 20, 2020

Background

The XDG base directory specification defines a set of environment variables for controlling where configuration and cache files should be written to.

This makes is possible for the end users to better control where the okctl artefacts are written to. This is useful for ensuring that important configuration files are backed up automatically, while cached binaries are not.

Details

$XDG_DATA_HOME

Defines the base directory relative to which user specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.

$XDG_CONFIG_HOME

Defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.

@paulbes paulbes added enhancement New feature or request good first issue Good for newcomers labels May 20, 2020
@paulbes
Copy link
Contributor Author

paulbes commented Jun 16, 2020

golang/go#29960

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant