{"action":"closed","number":215,"pull_request":{"url":"https://api.github.com/repos/rstudio/packrat/pulls/215","id":35159267,"html_url":"https://github.com/rstudio/packrat/pull/215","diff_url":"https://github.com/rstudio/packrat/pull/215.diff","patch_url":"https://github.com/rstudio/packrat/pull/215.patch","issue_url":"https://api.github.com/repos/rstudio/packrat/issues/215","number":215,"state":"closed","locked":false,"title":"Consider the GitHub SHA as just another hash input.","user":{"login":"aronatkins","id":362187,"avatar_url":"https://avatars.githubusercontent.com/u/362187?v=3","gravatar_id":"","url":"https://api.github.com/users/aronatkins","html_url":"https://github.com/aronatkins","followers_url":"https://api.github.com/users/aronatkins/followers","following_url":"https://api.github.com/users/aronatkins/following{/other_user}","gists_url":"https://api.github.com/users/aronatkins/gists{/gist_id}","starred_url":"https://api.github.com/users/aronatkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aronatkins/subscriptions","organizations_url":"https://api.github.com/users/aronatkins/orgs","repos_url":"https://api.github.com/users/aronatkins/repos","events_url":"https://api.github.com/users/aronatkins/events{/privacy}","received_events_url":"https://api.github.com/users/aronatkins/received_events","type":"User","site_admin":false},"body":"Fixes the first and second parts of #202.\r\n\r\nThe GitHub SHA is never taken verbatim as the hash but included in the content we use to compute the hash for an installed package. This also lets us distinguish between CRAN and GitHub installed packages due to the presence of `GithubSHA1` (perhaps there are more attributes?).","created_at":"2015-05-11T19:15:36Z","updated_at":"2015-05-15T17:23:59Z","closed_at":"2015-05-15T17:23:58Z","merged_at":"2015-05-15T17:23:58Z","merge_commit_sha":"f55e39d36b630d3f5aa927b271aa2617c6da50a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rstudio/packrat/pulls/215/commits","review_comments_url":"https://api.github.com/repos/rstudio/packrat/pulls/215/comments","review_comment_url":"https://api.github.com/repos/rstudio/packrat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rstudio/packrat/issues/215/comments","statuses_url":"https://api.github.com/repos/rstudio/packrat/statuses/50b8b38059408d79cb652692f9adea249f9e9304","head":{"label":"aronatkins:improve-hash-function","ref":"improve-hash-function","sha":"50b8b38059408d79cb652692f9adea249f9e9304","user":{"login":"aronatkins","id":362187,"avatar_url":"https://avatars.githubusercontent.com/u/362187?v=3","gravatar_id":"","url":"https://api.github.com/users/aronatkins","html_url":"https://github.com/aronatkins","followers_url":"https://api.github.com/users/aronatkins/followers","following_url":"https://api.github.com/users/aronatkins/following{/other_user}","gists_url":"https://api.github.com/users/aronatkins/gists{/gist_id}","starred_url":"https://api.github.com/users/aronatkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aronatkins/subscriptions","organizations_url":"https://api.github.com/users/aronatkins/orgs","repos_url":"https://api.github.com/users/aronatkins/repos","events_url":"https://api.github.com/users/aronatkins/events{/privacy}","received_events_url":"https://api.github.com/users/aronatkins/received_events","type":"User","site_admin":false},"repo":{"id":35443141,"name":"packrat","full_name":"aronatkins/packrat","owner":{"login":"aronatkins","id":362187,"avatar_url":"https://avatars.githubusercontent.com/u/362187?v=3","gravatar_id":"","url":"https://api.github.com/users/aronatkins","html_url":"https://github.com/aronatkins","followers_url":"https://api.github.com/users/aronatkins/followers","following_url":"https://api.github.com/users/aronatkins/following{/other_user}","gists_url":"https://api.github.com/users/aronatkins/gists{/gist_id}","starred_url":"https://api.github.com/users/aronatkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aronatkins/subscriptions","organizations_url":"https://api.github.com/users/aronatkins/orgs","repos_url":"https://api.github.com/users/aronatkins/repos","events_url":"https://api.github.com/users/aronatkins/events{/privacy}","received_events_url":"https://api.github.com/users/aronatkins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aronatkins/packrat","description":"","fork":true,"url":"https://api.github.com/repos/aronatkins/packrat","forks_url":"https://api.github.com/repos/aronatkins/packrat/forks","keys_url":"https://api.github.com/repos/aronatkins/packrat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aronatkins/packrat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aronatkins/packrat/teams","hooks_url":"https://api.github.com/repos/aronatkins/packrat/hooks","issue_events_url":"https://api.github.com/repos/aronatkins/packrat/issues/events{/number}","events_url":"https://api.github.com/repos/aronatkins/packrat/events","assignees_url":"https://api.github.com/repos/aronatkins/packrat/assignees{/user}","branches_url":"https://api.github.com/repos/aronatkins/packrat/branches{/branch}","tags_url":"https://api.github.com/repos/aronatkins/packrat/tags","blobs_url":"https://api.github.com/repos/aronatkins/packrat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aronatkins/packrat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aronatkins/packrat/git/refs{/sha}","trees_url":"https://api.github.com/repos/aronatkins/packrat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aronatkins/packrat/statuses/{sha}","languages_url":"https://api.github.com/repos/aronatkins/packrat/languages","stargazers_url":"https://api.github.com/repos/aronatkins/packrat/stargazers","contributors_url":"https://api.github.com/repos/aronatkins/packrat/contributors","subscribers_url":"https://api.github.com/repos/aronatkins/packrat/subscribers","subscription_url":"https://api.github.com/repos/aronatkins/packrat/subscription","commits_url":"https://api.github.com/repos/aronatkins/packrat/commits{/sha}","git_commits_url":"https://api.github.com/repos/aronatkins/packrat/git/commits{/sha}","comments_url":"https://api.github.com/repos/aronatkins/packrat/comments{/number}","issue_comment_url":"https://api.github.com/repos/aronatkins/packrat/issues/comments{/number}","contents_url":"https://api.github.com/repos/aronatkins/packrat/contents/{+path}","compare_url":"https://api.github.com/repos/aronatkins/packrat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aronatkins/packrat/merges","archive_url":"https://api.github.com/repos/aronatkins/packrat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aronatkins/packrat/downloads","issues_url":"https://api.github.com/repos/aronatkins/packrat/issues{/number}","pulls_url":"https://api.github.com/repos/aronatkins/packrat/pulls{/number}","milestones_url":"https://api.github.com/repos/aronatkins/packrat/milestones{/number}","notifications_url":"https://api.github.com/repos/aronatkins/packrat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aronatkins/packrat/labels{/name}","releases_url":"https://api.github.com/repos/aronatkins/packrat/releases{/id}","created_at":"2015-05-11T18:49:44Z","updated_at":"2015-05-11T18:49:45Z","pushed_at":"2015-05-11T19:29:13Z","git_url":"git://github.com/aronatkins/packrat.git","ssh_url":"git@github.com:aronatkins/packrat.git","clone_url":"https://github.com/aronatkins/packrat.git","svn_url":"https://github.com/aronatkins/packrat","homepage":null,"size":13978,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rstudio:master","ref":"master","sha":"145364480ae13dd1b65c21fd871819526caef59f","user":{"login":"rstudio","id":513560,"avatar_url":"https://avatars.githubusercontent.com/u/513560?v=3","gravatar_id":"","url":"https://api.github.com/users/rstudio","html_url":"https://github.com/rstudio","followers_url":"https://api.github.com/users/rstudio/followers","following_url":"https://api.github.com/users/rstudio/following{/other_user}","gists_url":"https://api.github.com/users/rstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudio/subscriptions","organizations_url":"https://api.github.com/users/rstudio/orgs","repos_url":"https://api.github.com/users/rstudio/repos","events_url":"https://api.github.com/users/rstudio/events{/privacy}","received_events_url":"https://api.github.com/users/rstudio/received_events","type":"Organization","site_admin":false},"repo":{"id":13426098,"name":"packrat","full_name":"rstudio/packrat","owner":{"login":"rstudio","id":513560,"avatar_url":"https://avatars.githubusercontent.com/u/513560?v=3","gravatar_id":"","url":"https://api.github.com/users/rstudio","html_url":"https://github.com/rstudio","followers_url":"https://api.github.com/users/rstudio/followers","following_url":"https://api.github.com/users/rstudio/following{/other_user}","gists_url":"https://api.github.com/users/rstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudio/subscriptions","organizations_url":"https://api.github.com/users/rstudio/orgs","repos_url":"https://api.github.com/users/rstudio/repos","events_url":"https://api.github.com/users/rstudio/events{/privacy}","received_events_url":"https://api.github.com/users/rstudio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rstudio/packrat","description":"","fork":false,"url":"https://api.github.com/repos/rstudio/packrat","forks_url":"https://api.github.com/repos/rstudio/packrat/forks","keys_url":"https://api.github.com/repos/rstudio/packrat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rstudio/packrat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rstudio/packrat/teams","hooks_url":"https://api.github.com/repos/rstudio/packrat/hooks","issue_events_url":"https://api.github.com/repos/rstudio/packrat/issues/events{/number}","events_url":"https://api.github.com/repos/rstudio/packrat/events","assignees_url":"https://api.github.com/repos/rstudio/packrat/assignees{/user}","branches_url":"https://api.github.com/repos/rstudio/packrat/branches{/branch}","tags_url":"https://api.github.com/repos/rstudio/packrat/tags","blobs_url":"https://api.github.com/repos/rstudio/packrat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rstudio/packrat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rstudio/packrat/git/refs{/sha}","trees_url":"https://api.github.com/repos/rstudio/packrat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rstudio/packrat/statuses/{sha}","languages_url":"https://api.github.com/repos/rstudio/packrat/languages","stargazers_url":"https://api.github.com/repos/rstudio/packrat/stargazers","contributors_url":"https://api.github.com/repos/rstudio/packrat/contributors","subscribers_url":"https://api.github.com/repos/rstudio/packrat/subscribers","subscription_url":"https://api.github.com/repos/rstudio/packrat/subscription","commits_url":"https://api.github.com/repos/rstudio/packrat/commits{/sha}","git_commits_url":"https://api.github.com/repos/rstudio/packrat/git/commits{/sha}","comments_url":"https://api.github.com/repos/rstudio/packrat/comments{/number}","issue_comment_url":"https://api.github.com/repos/rstudio/packrat/issues/comments{/number}","contents_url":"https://api.github.com/repos/rstudio/packrat/contents/{+path}","compare_url":"https://api.github.com/repos/rstudio/packrat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rstudio/packrat/merges","archive_url":"https://api.github.com/repos/rstudio/packrat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rstudio/packrat/downloads","issues_url":"https://api.github.com/repos/rstudio/packrat/issues{/number}","pulls_url":"https://api.github.com/repos/rstudio/packrat/pulls{/number}","milestones_url":"https://api.github.com/repos/rstudio/packrat/milestones{/number}","notifications_url":"https://api.github.com/repos/rstudio/packrat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rstudio/packrat/labels{/name}","releases_url":"https://api.github.com/repos/rstudio/packrat/releases{/id}","created_at":"2013-10-08T21:29:27Z","updated_at":"2015-05-15T06:09:22Z","pushed_at":"2015-05-15T17:23:58Z","git_url":"git://github.com/rstudio/packrat.git","ssh_url":"git@github.com:rstudio/packrat.git","clone_url":"https://github.com/rstudio/packrat.git","svn_url":"https://github.com/rstudio/packrat","homepage":null,"size":13978,"stargazers_count":115,"watchers_count":115,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":23,"mirror_url":null,"open_issues_count":50,"forks":23,"open_issues":50,"watchers":115,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rstudio/packrat/pulls/215"},"html":{"href":"https://github.com/rstudio/packrat/pull/215"},"issue":{"href":"https://api.github.com/repos/rstudio/packrat/issues/215"},"comments":{"href":"https://api.github.com/repos/rstudio/packrat/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/rstudio/packrat/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/rstudio/packrat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rstudio/packrat/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/rstudio/packrat/statuses/50b8b38059408d79cb652692f9adea249f9e9304"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kevinushey","id":1976582,"avatar_url":"https://avatars.githubusercontent.com/u/1976582?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinushey","html_url":"https://github.com/kevinushey","followers_url":"https://api.github.com/users/kevinushey/followers","following_url":"https://api.github.com/users/kevinushey/following{/other_user}","gists_url":"https://api.github.com/users/kevinushey/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinushey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinushey/subscriptions","organizations_url":"https://api.github.com/users/kevinushey/orgs","repos_url":"https://api.github.com/users/kevinushey/repos","events_url":"https://api.github.com/users/kevinushey/events{/privacy}","received_events_url":"https://api.github.com/users/kevinushey/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":5,"changed_files":1}}