{"action":"created","issue":{"url":"https://api.github.com/repos/thp/urlwatch/issues/217","repository_url":"https://api.github.com/repos/thp/urlwatch","labels_url":"https://api.github.com/repos/thp/urlwatch/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/thp/urlwatch/issues/217/comments","events_url":"https://api.github.com/repos/thp/urlwatch/issues/217/events","html_url":"https://github.com/thp/urlwatch/pull/217","id":304191876,"number":217,"title":"Moving cache file to XDG_CACHE_DIR instead or XGD_CONFIG_DIR","user":{"login":"mwerlen","id":1324846,"avatar_url":"https://avatars1.githubusercontent.com/u/1324846?v=4","gravatar_id":"","url":"https://api.github.com/users/mwerlen","html_url":"https://github.com/mwerlen","followers_url":"https://api.github.com/users/mwerlen/followers","following_url":"https://api.github.com/users/mwerlen/following{/other_user}","gists_url":"https://api.github.com/users/mwerlen/gists{/gist_id}","starred_url":"https://api.github.com/users/mwerlen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwerlen/subscriptions","organizations_url":"https://api.github.com/users/mwerlen/orgs","repos_url":"https://api.github.com/users/mwerlen/repos","events_url":"https://api.github.com/users/mwerlen/events{/privacy}","received_events_url":"https://api.github.com/users/mwerlen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-11T20:41:10Z","updated_at":"2018-03-20T09:55:11Z","closed_at":"2018-03-20T09:55:05Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/thp/urlwatch/pulls/217","html_url":"https://github.com/thp/urlwatch/pull/217","diff_url":"https://github.com/thp/urlwatch/pull/217.diff","patch_url":"https://github.com/thp/urlwatch/pull/217.patch"},"body":"Here is a pull request to change default cache directory from XGD_CONFIG_DIR to XDG_CACHE_DIR.\r\n\r\nThree cases are handled:\r\n1.) If the file exists in XDG_CONFIG_HOME, use that one\r\n2.) If the file doesn’t exist, create a new one in XDG_CACHE_HOME\r\n3.) If both files exist, either fail or use the XDG_CACHE_HOME file (presumably newer)\r\n\r\nMan page has been updated"},"comment":{"url":"https://api.github.com/repos/thp/urlwatch/issues/comments/374538052","html_url":"https://github.com/thp/urlwatch/pull/217#issuecomment-374538052","issue_url":"https://api.github.com/repos/thp/urlwatch/issues/217","id":374538052,"user":{"login":"thp","id":135241,"avatar_url":"https://avatars3.githubusercontent.com/u/135241?v=4","gravatar_id":"","url":"https://api.github.com/users/thp","html_url":"https://github.com/thp","followers_url":"https://api.github.com/users/thp/followers","following_url":"https://api.github.com/users/thp/following{/other_user}","gists_url":"https://api.github.com/users/thp/gists{/gist_id}","starred_url":"https://api.github.com/users/thp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thp/subscriptions","organizations_url":"https://api.github.com/users/thp/orgs","repos_url":"https://api.github.com/users/thp/repos","events_url":"https://api.github.com/users/thp/events{/privacy}","received_events_url":"https://api.github.com/users/thp/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T09:55:11Z","updated_at":"2018-03-20T09:55:11Z","author_association":"OWNER","body":"Thanks!"}}
{"actor":{"display_login":"thp"}}