Launchpadlib doesn't respect the XDG Base Directory specifcation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
Triaged
|
Low
|
Unassigned | ||
python-launchpadlib (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Launchpadlib saves its cache in the text file ~/.launchpadlib
* $XDG_DATA_HOME: default ~/.local/share/, contains irreplaceable data;
* $XDG_CONFIG_HOME: default ~/.config/, contains configuration;
* $XDG_CACHE_HOME: default ~/.cache/, contains cached data.
The default directories can be changed by changing the environment variables, therefore I would suggest Launchpadlib to use 'python-xdg', also known as 'pyxdg', to determine the cache directory.
The XDG Base Directory specification can be found here: <http://
Changed in launchpadlib: | |
importance: | Medium → Low |
Changed in python-launchpadlib (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
This makes sense, but bear in mind that launchpadlib will often be run in a non-desktop environment. How applicable is the XDG Base Directory spec for server and other non-desktop environments?