Bug 693028 - Use g_get_user_cache_dir() for debug output
Summary: Use g_get_user_cache_dir() for debug output
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
: 821524 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-02 05:16 UTC by jmccann
Modified: 2015-01-14 23:26 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-01 12:29:07 UTC
Embargoed:


Attachments (Terms of Use)

Description jmccann 2011-04-02 05:16:38 UTC
It would be nice to use g_get_user_config_dir() instead of home directory to store configuration files.  In accordance with the XDG base directory spec.  http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

This has a number of benefits including making it much easier to migrate data.

Comment 1 Cole Robinson 2012-02-06 22:54:20 UTC
The only thing virt-manager stores in home is debug output, so we probably want get_user_cache_dir

Comment 2 Cole Robinson 2012-05-16 15:24:55 UTC
*** Bug 821524 has been marked as a duplicate of this bug. ***

Comment 3 jmccann 2012-05-16 17:03:14 UTC
I don't think writing log files to home is a good idea either. I think we want this information to end up in the systemd journal.

Comment 4 faispasierch 2012-11-21 12:55:01 UTC
* ping

Comment 5 Cole Robinson 2012-11-27 16:34:10 UTC
(In reply to comment #4)
> * ping

If you want this to be solved quicker, please provide a patch.

I am planning of fixing this when we port to gtk3, since that will already be disruptive enough that it will be a good time to change directory locations.

Comment 6 faispasierch 2012-11-30 15:42:16 UTC
Just a question, when do you plan to port to GTK3?

Comment 7 Cole Robinson 2012-11-30 18:36:11 UTC
Most of the work is done but its not upstream yet. I'm hoping to get it upstream before the end of the year, with a release soon after.

Comment 8 faispasierch 2013-08-29 12:56:55 UTC
Is this bug still open?

Comment 9 Cole Robinson 2013-10-01 12:29:07 UTC
Fixed upstream now


Note You need to log in before you can comment on or make changes to this bug.