{"action":"created","issue":{"url":"https://api.github.com/repos/frerich/clcache/issues/78","repository_url":"https://api.github.com/repos/frerich/clcache","labels_url":"https://api.github.com/repos/frerich/clcache/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/frerich/clcache/issues/78/comments","events_url":"https://api.github.com/repos/frerich/clcache/issues/78/events","html_url":"https://github.com/frerich/clcache/issues/78","id":154932676,"number":78,"title":"memcached support","user":{"login":"yoava333","id":1495026,"avatar_url":"https://avatars.githubusercontent.com/u/1495026?v=3","gravatar_id":"","url":"https://api.github.com/users/yoava333","html_url":"https://github.com/yoava333","followers_url":"https://api.github.com/users/yoava333/followers","following_url":"https://api.github.com/users/yoava333/following{/other_user}","gists_url":"https://api.github.com/users/yoava333/gists{/gist_id}","starred_url":"https://api.github.com/users/yoava333/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoava333/subscriptions","organizations_url":"https://api.github.com/users/yoava333/orgs","repos_url":"https://api.github.com/users/yoava333/repos","events_url":"https://api.github.com/users/yoava333/events{/privacy}","received_events_url":"https://api.github.com/users/yoava333/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/frerich/clcache/labels/feature","name":"feature","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-05-15T21:53:09Z","updated_at":"2016-08-12T15:31:09Z","closed_at":null,"body":"I've been following ccache and there's an upcoming pull request to add support for caching on memcached https://github.com/jrosdahl/ccache/pull/58.\r\nI think it's a great feature to add to clcache."},"comment":{"url":"https://api.github.com/repos/frerich/clcache/issues/comments/239478528","html_url":"https://github.com/frerich/clcache/issues/78#issuecomment-239478528","issue_url":"https://api.github.com/repos/frerich/clcache/issues/78","id":239478528,"user":{"login":"hubx","id":239553,"avatar_url":"https://avatars.githubusercontent.com/u/239553?v=3","gravatar_id":"","url":"https://api.github.com/users/hubx","html_url":"https://github.com/hubx","followers_url":"https://api.github.com/users/hubx/followers","following_url":"https://api.github.com/users/hubx/following{/other_user}","gists_url":"https://api.github.com/users/hubx/gists{/gist_id}","starred_url":"https://api.github.com/users/hubx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubx/subscriptions","organizations_url":"https://api.github.com/users/hubx/orgs","repos_url":"https://api.github.com/users/hubx/repos","events_url":"https://api.github.com/users/hubx/events{/privacy}","received_events_url":"https://api.github.com/users/hubx/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T15:31:09Z","updated_at":"2016-08-12T15:31:09Z","body":"Hi,\r\n\r\nI had a rather straight forward implementation for a rudimentary memcached-only support based on fe83618 . Unfortunately the strategy pattern I applied to ObjectCache is non-trivial to rebase, because there are some parts of the code which are now more tightly coupled to disk access or there have been  new interfaces created which would need to be adapted:\r\n\r\n```python\r\ndef processCacheHit(cache, objectFile, cachekey):\r\n...\r\n    if os.path.exists(objectFile):\r\n        os.remove(objectFile)\r\n    section = cache.compilerArtifactsRepository.section(cachekey)`\r\n```\r\n\r\nI'm happy to take on this task once #160 is finished and no more major logic changes in the cache lookup are expected :)"}}
{"actor":{"display_login":"hubx"}}