[Bug 509168] Re: Launchpadlib doesn't respect the XDG Base Directory specifcation

Andrew Starr-Bochicchio a.starr.b at gmail.com
Sat Feb 9 16:47:51 UTC 2013


** Also affects: python-launchpadlib (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: python-launchpadlib (Ubuntu)
       Status: New => Triaged

** Changed in: python-launchpadlib (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-launchpadlib in Ubuntu.
https://bugs.launchpad.net/bugs/509168

Title:
  Launchpadlib doesn't respect the XDG Base Directory specifcation

Status in Launchpad web services client library:
  Triaged
Status in “python-launchpadlib” package in Ubuntu:
  Triaged

Bug description:
  Launchpadlib saves its cache in the text file ~/.launchpadlib/cache. However, this doesn't comply with the XDG Base Directory specification. The specification defines three directories:
  * $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://standards.freedesktop.org/basedir-spec/basedir-spec-
  latest.html>.

To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpadlib/+bug/509168/+subscriptions




More information about the foundations-bugs mailing list