lava-tool should use XDG directories

Bug #1206579 reported by Milo Casagrande
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Tool
Fix Released
Medium
Milo Casagrande

Bug Description

With the new work done in lava-tool, right now we are storing user inputs in a file called ".lavaconfig" in the user's home directory:
we should switch to use XDG directories for this kind of configuration files.

Also, we should rethink how this file is called and where to actually store the various parameters asked: not all of them can be considered configurations.

We should probably use the $XDG_CACHE_HOME directory to store parameters that can change from job/testdef, and $XDG_CONFIG_HOME to store those values that will hardly change (lava server URL, RPC endpoint, user name).

Related branches

Milo Casagrande (milo)
Changed in lava-tool:
assignee: nobody → Milo Casagrande (milo)
status: New → Confirmed
importance: Undecided → Medium
Milo Casagrande (milo)
Changed in lava-tool:
status: Confirmed → In Progress
Milo Casagrande (milo)
Changed in lava-tool:
status: In Progress → Fix Released
milestone: none → 2013.08
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.