GitHub PullRequestEvent at 2014-08-26 09:06:12
Repository: httpcache
Actor: lox
Payload: {"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/lox/httpcache/pulls/3","id":20295748,"html_url":"https://github.com/lox/httpcache/pull/3","diff_url":"https://github.com/lox/httpcache/pull/3.diff","patch_url":"https://github.com/lox/httpcache/pull/3.patch","issue_url":"https://api.github.com/repos/lox/httpcache/issues/3","number":3,"state":"closed","locked":false,"title":"Add a mutex per key, use same storeMutex across all stores","user":{"login":"lox","id":15758,"avatar_url":"https://avatars.githubusercontent.com/u/15758?v=2","gravatar_id":"7e454c6868290105795a34414d1a6f2a","url":"https://api.github.com/users/lox","html_url":"https://github.com/lox","followers_url":"https://api.github.com/users/lox/followers","following_url":"https://api.github.com/users/lox/following{/other_user}","gists_url":"https://api.github.com/users/lox/gists{/gist_id}","starred_url":"https://api.github.com/users/lox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lox/subscriptions","organizations_url":"https://api.github.com/users/lox/orgs","repos_url":"https://api.github.com/users/lox/repos","events_url":"https://api.github.com/users/lox/events{/privacy}","received_events_url":"https://api.github.com/users/lox/received_events","type":"User","site_admin":false},"body":"Previously there was a single mutex in `MapStore` and `FileStore` that locked access to the contents. This didn't work for copies, as multiple locks were needed at the same time.\r\n\r\nThis also changes the Store API to return a `WriteCloser` for `Write` and a `ReadCloser` for `Read`. This is more go-like and easier to work with. ","created_at":"2014-08-26T09:02:01Z","updated_at":"2014-08-26T09:06:12Z","closed_at":"2014-08-26T09:06:12Z","merged_at":"2014-08-26T09:06:12Z","merge_commit_sha":"3d08597dbbbe67abba2687758aa388474d4769c1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lox/httpcache/pulls/3/commits","review_comments_url":"https://api.github.com/repos/lox/httpcache/pulls/3/comments","review_comment_url":"https://api.github.com/repos/lox/httpcache/pulls/comments/{number}","comments_url":"https://api.github.com/repos/lox/httpcache/issues/3/comments","statuses_url":"https://api.github.com/repos/lox/httpcache/statuses/aec6f41f7206686d6cff7b9aac6d6362c47a6731","head":{"label":"lox:mutex-per-key","ref":"mutex-per-key","sha":"aec6f41f7206686d6cff7b9aac6d6362c47a6731","user":{"login":"lox","id":15758,"avatar_url":"https://avatars.githubusercontent.com/u/15758?v=2","gravatar_id":"7e454c6868290105795a34414d1a6f2a","url":"https://api.github.com/users/lox","html_url":"https://github.com/lox","followers_url":"https://api.github.com/users/lox/followers","following_url":"https://api.github.com/users/lox/following{/other_user}","gists_url":"https://api.github.com/users/lox/gists{/gist_id}","starred_url":"https://api.github.com/users/lox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lox/subscriptions","organizations_url":"https://api.github.com/users/lox/orgs","repos_url":"https://api.github.com/users/lox/repos","events_url":"https://api.github.com/users/lox/events{/privacy}","received_events_url":"https://api.github.com/users/lox/received_events","type":"User","site_admin":false},"repo":{"id":22368181,"name":"httpcache","full_name":"lox/httpcache","owner":{"login":"lox","id":15758,"avatar_url":"https://avatars.githubusercontent.com/u/15758?v=2","gravatar_id":"7e454c6868290105795a34414d1a6f2a","url":"https://api.github.com/users/lox","html_url":"https://github.com/lox","followers_url":"https://api.github.com/users/lox/followers","following_url":"https://api.github.com/users/lox/following{/other_user}","gists_url":"https://api.github.com/users/lox/gists{/gist_id}","starred_url":"https://api.github.com/users/lox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lox/subscriptions","organizations_url":"https://api.github.com/users/lox/orgs","repos_url":"https://api.github.com/users/lox/repos","events_url":"https://api.github.com/users/lox/events{/privacy}","received_events_url":"https://api.github.com/users/lox/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lox/httpcache","description":"An RFC7234 compliant golang http.Handler for caching HTTP responses","fork":false,"url":"https://api.github.com/repos/lox/httpcache","forks_url":"https://api.github.com/repos/lox/httpcache/forks","keys_url":"https://api.github.com/repos/lox/httpcache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lox/httpcache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lox/httpcache/teams","hooks_url":"https://api.github.com/repos/lox/httpcache/hooks","issue_events_url":"https://api.github.com/repos/lox/httpcache/issues/events{/number}","events_url":"https://api.github.com/repos/lox/httpcache/events","assignees_url":"https://api.github.com/repos/lox/httpcache/assignees{/user}","branches_url":"https://api.github.com/repos/lox/httpcache/branches{/branch}","tags_url":"https://api.github.com/repos/lox/httpcache/tags","blobs_url":"https://api.github.com/repos/lox/httpcache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lox/httpcache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lox/httpcache/git/refs{/sha}","trees_url":"https://api.github.com/repos/lox/httpcache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lox/httpcache/statuses/{sha}","languages_url":"https://api.github.com/repos/lox/httpcache/languages","stargazers_url":"https://api.github.com/repos/lox/httpcache/stargazers","contributors_url":"https://api.github.com/repos/lox/httpcache/contributors","subscribers_url":"https://api.github.com/repos/lox/httpcache/subscribers","subscription_url":"https://api.github.com/repos/lox/httpcache/subscription","commits_url":"https://api.github.com/repos/lox/httpcache/commits{/sha}","git_commits_url":"https://api.github.com/repos/lox/httpcache/git/commits{/sha}","comments_url":"https://api.github.com/repos/lox/httpcache/comments{/number}","issue_comment_url":"https://api.github.com/repos/lox/httpcache/issues/comments/{number}","contents_url":"https://api.github.com/repos/lox/httpcache/contents/{+path}","compare_url":"https://api.github.com/repos/lox/httpcache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lox/httpcache/merges","archive_url":"https://api.github.com/repos/lox/httpcache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lox/httpcache/downloads","issues_url":"https://api.github.com/repos/lox/httpcache/issues{/number}","pulls_url":"https://api.github.com/repos/lox/httpcache/pulls{/number}","milestones_url":"https://api.github.com/repos/lox/httpcache/milestones{/number}","notifications_url":"https://api.github.com/repos/lox/httpcache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lox/httpcache/labels{/name}","releases_url":"https://api.github.com/repos/lox/httpcache/releases{/id}","created_at":"2014-07-29T05:03:40Z","updated_at":"2014-08-20T07:46:23Z","pushed_at":"2014-08-26T09:06:12Z","git_url":"git://github.com/lox/httpcache.git","ssh_url":"git@github.com:lox/httpcache.git","clone_url":"https://github.com/lox/httpcache.git","svn_url":"https://github.com/lox/httpcache","homepage":"","size":338,"stargazers_count":21,"watchers_count":21,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":21,"default_branch":"master"}},"base":{"label":"lox:master","ref":"master","sha":"d0ad0750ee65c015b2539b9471313253cef6b285","user":{"login":"lox","id":15758,"avatar_url":"https://avatars.githubusercontent.com/u/15758?v=2","gravatar_id":"7e454c6868290105795a34414d1a6f2a","url":"https://api.github.com/users/lox","html_url":"https://github.com/lox","followers_url":"https://api.github.com/users/lox/followers","following_url":"https://api.github.com/users/lox/following{/other_user}","gists_url":"https://api.github.com/users/lox/gists{/gist_id}","starred_url":"https://api.github.com/users/lox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lox/subscriptions","organizations_url":"https://api.github.com/users/lox/orgs","repos_url":"https://api.github.com/users/lox/repos","events_url":"https://api.github.com/users/lox/events{/privacy}","received_events_url":"https://api.github.com/users/lox/received_events","type":"User","site_admin":false},"repo":{"id":22368181,"name":"httpcache","full_name":"lox/httpcache","owner":{"login":"lox","id":15758,"avatar_url":"https://avatars.githubusercontent.com/u/15758?v=2","gravatar_id":"7e454c6868290105795a34414d1a6f2a","url":"https://api.github.com/users/lox","html_url":"https://github.com/lox","followers_url":"https://api.github.com/users/lox/followers","following_url":"https://api.github.com/users/lox/following{/other_user}","gists_url":"https://api.github.com/users/lox/gists{/gist_id}","starred_url":"https://api.github.com/users/lox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lox/subscriptions","organizations_url":"https://api.github.com/users/lox/orgs","repos_url":"https://api.github.com/users/lox/repos","events_url":"https://api.github.com/users/lox/events{/privacy}","received_events_url":"https://api.github.com/users/lox/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lox/httpcache","description":"An RFC7234 compliant golang http.Handler for caching HTTP responses","fork":false,"url":"https://api.github.com/repos/lox/httpcache","forks_url":"https://api.github.com/repos/lox/httpcache/forks","keys_url":"https://api.github.com/repos/lox/httpcache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lox/httpcache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lox/httpcache/teams","hooks_url":"https://api.github.com/repos/lox/httpcache/hooks","issue_events_url":"https://api.github.com/repos/lox/httpcache/issues/events{/number}","events_url":"https://api.github.com/repos/lox/httpcache/events","assignees_url":"https://api.github.com/repos/lox/httpcache/assignees{/user}","branches_url":"https://api.github.com/repos/lox/httpcache/branches{/branch}","tags_url":"https://api.github.com/repos/lox/httpcache/tags","blobs_url":"https://api.github.com/repos/lox/httpcache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lox/httpcache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lox/httpcache/git/refs{/sha}","trees_url":"https://api.github.com/repos/lox/httpcache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lox/httpcache/statuses/{sha}","languages_url":"https://api.github.com/repos/lox/httpcache/languages","stargazers_url":"https://api.github.com/repos/lox/httpcache/stargazers","contributors_url":"https://api.github.com/repos/lox/httpcache/contributors","subscribers_url":"https://api.github.com/repos/lox/httpcache/subscribers","subscription_url":"https://api.github.com/repos/lox/httpcache/subscription","commits_url":"https://api.github.com/repos/lox/httpcache/commits{/sha}","git_commits_url":"https://api.github.com/repos/lox/httpcache/git/commits{/sha}","comments_url":"https://api.github.com/repos/lox/httpcache/comments{/number}","issue_comment_url":"https://api.github.com/repos/lox/httpcache/issues/comments/{number}","contents_url":"https://api.github.com/repos/lox/httpcache/contents/{+path}","compare_url":"https://api.github.com/repos/lox/httpcache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lox/httpcache/merges","archive_url":"https://api.github.com/repos/lox/httpcache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lox/httpcache/downloads","issues_url":"https://api.github.com/repos/lox/httpcache/issues{/number}","pulls_url":"https://api.github.com/repos/lox/httpcache/pulls{/number}","milestones_url":"https://api.github.com/repos/lox/httpcache/milestones{/number}","notifications_url":"https://api.github.com/repos/lox/httpcache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lox/httpcache/labels{/name}","releases_url":"https://api.github.com/repos/lox/httpcache/releases{/id}","created_at":"2014-07-29T05:03:40Z","updated_at":"2014-08-20T07:46:23Z","pushed_at":"2014-08-26T09:06:12Z","git_url":"git://github.com/lox/httpcache.git","ssh_url":"git@github.com:lox/httpcache.git","clone_url":"https://github.com/lox/httpcache.git","svn_url":"https://github.com/lox/httpcache","homepage":"","size":338,"stargazers_count":21,"watchers_count":21,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lox/httpcache/pulls/3"},"html":{"href":"https://github.com/lox/httpcache/pull/3"},"issue":{"href":"https://api.github.com/repos/lox/httpcache/issues/3"},"comments":{"href":"https://api.github.com/repos/lox/httpcache/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/lox/httpcache/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/lox/httpcache/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/lox/httpcache/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/lox/httpcache/statuses/aec6f41f7206686d6cff7b9aac6d6362c47a6731"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lox","id":15758,"avatar_url":"https://avatars.githubusercontent.com/u/15758?v=2","gravatar_id":"7e454c6868290105795a34414d1a6f2a","url":"https://api.github.com/users/lox","html_url":"https://github.com/lox","followers_url":"https://api.github.com/users/lox/followers","following_url":"https://api.github.com/users/lox/following{/other_user}","gists_url":"https://api.github.com/users/lox/gists{/gist_id}","starred_url":"https://api.github.com/users/lox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lox/subscriptions","organizations_url":"https://api.github.com/users/lox/orgs","repos_url":"https://api.github.com/users/lox/repos","events_url":"https://api.github.com/users/lox/events{/privacy}","received_events_url":"https://api.github.com/users/lox/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":246,"deletions":133,"changed_files":8}}