{"action":"created","issue":{"url":"https://api.github.com/repos/devcurmudgeon/ybd/issues/82","labels_url":"https://api.github.com/repos/devcurmudgeon/ybd/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/devcurmudgeon/ybd/issues/82/comments","events_url":"https://api.github.com/repos/devcurmudgeon/ybd/issues/82/events","html_url":"https://github.com/devcurmudgeon/ybd/pull/82","id":88957775,"number":82,"title":"Jjardon/xdg dirs","user":{"login":"jjardon","id":165288,"avatar_url":"https://avatars.githubusercontent.com/u/165288?v=3","gravatar_id":"","url":"https://api.github.com/users/jjardon","html_url":"https://github.com/jjardon","followers_url":"https://api.github.com/users/jjardon/followers","following_url":"https://api.github.com/users/jjardon/following{/other_user}","gists_url":"https://api.github.com/users/jjardon/gists{/gist_id}","starred_url":"https://api.github.com/users/jjardon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjardon/subscriptions","organizations_url":"https://api.github.com/users/jjardon/orgs","repos_url":"https://api.github.com/users/jjardon/repos","events_url":"https://api.github.com/users/jjardon/events{/privacy}","received_events_url":"https://api.github.com/users/jjardon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-17T08:45:47Z","updated_at":"2015-06-19T18:53:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/devcurmudgeon/ybd/pulls/82","html_url":"https://github.com/devcurmudgeon/ybd/pull/82","diff_url":"https://github.com/devcurmudgeon/ybd/pull/82.diff","patch_url":"https://github.com/devcurmudgeon/ybd/pull/82.patch"},"body":"I only left the \"base\" directory configurable through the config file, so ybd will put stuff in $XDG_CACHE_HOME/[base] (fallbacks to ~/.cache/[base])\r\nI've move all the other internal directories ybd uses inside $XDG_CACHE_HOME/[base], so all the stuff is in the same place.\r\nNot sure is there any value on tweak the location/name of this directories (I  have never change them in all these time using morph), so I've move them inside the code to make the configuration file smaller and cleaner; tell me if you dont agree with this and I will try to rework the patch"},"comment":{"url":"https://api.github.com/repos/devcurmudgeon/ybd/issues/comments/113605482","html_url":"https://github.com/devcurmudgeon/ybd/pull/82#issuecomment-113605482","issue_url":"https://api.github.com/repos/devcurmudgeon/ybd/issues/82","id":113605482,"user":{"login":"persia","id":4265387,"avatar_url":"https://avatars.githubusercontent.com/u/4265387?v=3","gravatar_id":"","url":"https://api.github.com/users/persia","html_url":"https://github.com/persia","followers_url":"https://api.github.com/users/persia/followers","following_url":"https://api.github.com/users/persia/following{/other_user}","gists_url":"https://api.github.com/users/persia/gists{/gist_id}","starred_url":"https://api.github.com/users/persia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/persia/subscriptions","organizations_url":"https://api.github.com/users/persia/orgs","repos_url":"https://api.github.com/users/persia/repos","events_url":"https://api.github.com/users/persia/events{/privacy}","received_events_url":"https://api.github.com/users/persia/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T18:53:52Z","updated_at":"2015-06-19T18:53:52Z","body":"From further discussion on IRC, if ybd didn't require running as root, I concur that use of $XDG_CACHE_HOME would be better than /var/cache, but I still think it should be namespaced, so that it would be ${XDG_CACHE_HOME}/ybd/...\r\n\r\nSo long as ybd requires running as root, storing stuff in the user's local ${XDG_CACHE_HOME} puts files that the user cannot modify in the user home directory, which feels wrong to me."}}