Testdrive does not respect XDG BaseDirectory settings
Bug #592079 reported by
Stuart Langridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testdrive (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: testdrive
testdrive.py does this:
self.CACHE = "%s/.cache/%s" % (self.HOME, self.PKG)
This hardcodes ~/.cache. Instead, it should use xdg.BaseDirectory to use the user's settings for their cache folder (mine is ~/Applications/
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: testdrive 1.38-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-
Architecture: i386
Date: Thu Jun 10 09:57:46 2010
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: testdrive
Changed in testdrive (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in testdrive (Ubuntu): | |
status: | In Progress → Fix Committed |
assignee: | Andres Rodriguez (andreserl) → nobody |
To post a comment you must log in.
Hi Stuart,
Could you please clear a doubt. Is XDG Base Directory specification only used in Kubuntu, or is it in Ubuntu aswell since my Ubuntu environment variables defined by the specification are empty.
Now, in which situations is the specification used.
Thank you.
RoAkSoAx