{"action":"created","comment":{"url":"https://api.github.com/repos/hexpm/hex_web/pulls/comments/55127764","id":55127764,"diff_hunk":"@@ -9,7 +9,8 @@ defmodule HexWeb.API.PackageView do\n \n   def render(\"package\", %{package: package}) do\n     package\n-    |> Map.take([:name, :meta, :inserted_at, :updated_at])\n+    |> Map.take([:name, :inserted_at, :updated_at])\n+    |> Map.put(:meta, Map.take(package.meta, PackageMetadata.__schema__(:fields)))","path":"web/views/api/package_view.ex","position":6,"original_position":6,"commit_id":"8a3d7f362bcfa115edc002038e2e818504f1cc04","original_commit_id":"8a3d7f362bcfa115edc002038e2e818504f1cc04","user":{"login":"wojtekmach","id":76071,"avatar_url":"https://avatars.githubusercontent.com/u/76071?v=3","gravatar_id":"","url":"https://api.github.com/users/wojtekmach","html_url":"https://github.com/wojtekmach","followers_url":"https://api.github.com/users/wojtekmach/followers","following_url":"https://api.github.com/users/wojtekmach/following{/other_user}","gists_url":"https://api.github.com/users/wojtekmach/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtekmach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtekmach/subscriptions","organizations_url":"https://api.github.com/users/wojtekmach/orgs","repos_url":"https://api.github.com/users/wojtekmach/repos","events_url":"https://api.github.com/users/wojtekmach/events{/privacy}","received_events_url":"https://api.github.com/users/wojtekmach/received_events","type":"User","site_admin":false},"body":"see comment above in the AuditLog","created_at":"2016-03-05T20:53:34Z","updated_at":"2016-03-05T20:53:34Z","html_url":"https://github.com/hexpm/hex_web/pull/258#discussion_r55127764","pull_request_url":"https://api.github.com/repos/hexpm/hex_web/pulls/258","_links":{"self":{"href":"https://api.github.com/repos/hexpm/hex_web/pulls/comments/55127764"},"html":{"href":"https://github.com/hexpm/hex_web/pull/258#discussion_r55127764"},"pull_request":{"href":"https://api.github.com/repos/hexpm/hex_web/pulls/258"}}},"pull_request":{"url":"https://api.github.com/repos/hexpm/hex_web/pulls/258","id":61823303,"html_url":"https://github.com/hexpm/hex_web/pull/258","diff_url":"https://github.com/hexpm/hex_web/pull/258.diff","patch_url":"https://github.com/hexpm/hex_web/pull/258.patch","issue_url":"https://api.github.com/repos/hexpm/hex_web/issues/258","number":258,"state":"open","locked":false,"title":"WIP - Use embeds for Package & Release metadata","user":{"login":"wojtekmach","id":76071,"avatar_url":"https://avatars.githubusercontent.com/u/76071?v=3","gravatar_id":"","url":"https://api.github.com/users/wojtekmach","html_url":"https://github.com/wojtekmach","followers_url":"https://api.github.com/users/wojtekmach/followers","following_url":"https://api.github.com/users/wojtekmach/following{/other_user}","gists_url":"https://api.github.com/users/wojtekmach/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtekmach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtekmach/subscriptions","organizations_url":"https://api.github.com/users/wojtekmach/orgs","repos_url":"https://api.github.com/users/wojtekmach/repos","events_url":"https://api.github.com/users/wojtekmach/events{/privacy}","received_events_url":"https://api.github.com/users/wojtekmach/received_events","type":"User","site_admin":false},"body":"Still need to finish up/figure out a few things - see comments inline.","created_at":"2016-03-05T20:38:39Z","updated_at":"2016-03-05T20:53:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d301731558ba5960cc8a4549374f1cc5ed9a9ea5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hexpm/hex_web/pulls/258/commits","review_comments_url":"https://api.github.com/repos/hexpm/hex_web/pulls/258/comments","review_comment_url":"https://api.github.com/repos/hexpm/hex_web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hexpm/hex_web/issues/258/comments","statuses_url":"https://api.github.com/repos/hexpm/hex_web/statuses/8a3d7f362bcfa115edc002038e2e818504f1cc04","head":{"label":"wojtekmach:metadata_embeds","ref":"metadata_embeds","sha":"8a3d7f362bcfa115edc002038e2e818504f1cc04","user":{"login":"wojtekmach","id":76071,"avatar_url":"https://avatars.githubusercontent.com/u/76071?v=3","gravatar_id":"","url":"https://api.github.com/users/wojtekmach","html_url":"https://github.com/wojtekmach","followers_url":"https://api.github.com/users/wojtekmach/followers","following_url":"https://api.github.com/users/wojtekmach/following{/other_user}","gists_url":"https://api.github.com/users/wojtekmach/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtekmach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtekmach/subscriptions","organizations_url":"https://api.github.com/users/wojtekmach/orgs","repos_url":"https://api.github.com/users/wojtekmach/repos","events_url":"https://api.github.com/users/wojtekmach/events{/privacy}","received_events_url":"https://api.github.com/users/wojtekmach/received_events","type":"User","site_admin":false},"repo":{"id":25072484,"name":"hex_web","full_name":"wojtekmach/hex_web","owner":{"login":"wojtekmach","id":76071,"avatar_url":"https://avatars.githubusercontent.com/u/76071?v=3","gravatar_id":"","url":"https://api.github.com/users/wojtekmach","html_url":"https://github.com/wojtekmach","followers_url":"https://api.github.com/users/wojtekmach/followers","following_url":"https://api.github.com/users/wojtekmach/following{/other_user}","gists_url":"https://api.github.com/users/wojtekmach/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtekmach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtekmach/subscriptions","organizations_url":"https://api.github.com/users/wojtekmach/orgs","repos_url":"https://api.github.com/users/wojtekmach/repos","events_url":"https://api.github.com/users/wojtekmach/events{/privacy}","received_events_url":"https://api.github.com/users/wojtekmach/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wojtekmach/hex_web","description":"API server and website for Hex","fork":true,"url":"https://api.github.com/repos/wojtekmach/hex_web","forks_url":"https://api.github.com/repos/wojtekmach/hex_web/forks","keys_url":"https://api.github.com/repos/wojtekmach/hex_web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wojtekmach/hex_web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wojtekmach/hex_web/teams","hooks_url":"https://api.github.com/repos/wojtekmach/hex_web/hooks","issue_events_url":"https://api.github.com/repos/wojtekmach/hex_web/issues/events{/number}","events_url":"https://api.github.com/repos/wojtekmach/hex_web/events","assignees_url":"https://api.github.com/repos/wojtekmach/hex_web/assignees{/user}","branches_url":"https://api.github.com/repos/wojtekmach/hex_web/branches{/branch}","tags_url":"https://api.github.com/repos/wojtekmach/hex_web/tags","blobs_url":"https://api.github.com/repos/wojtekmach/hex_web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wojtekmach/hex_web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wojtekmach/hex_web/git/refs{/sha}","trees_url":"https://api.github.com/repos/wojtekmach/hex_web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wojtekmach/hex_web/statuses/{sha}","languages_url":"https://api.github.com/repos/wojtekmach/hex_web/languages","stargazers_url":"https://api.github.com/repos/wojtekmach/hex_web/stargazers","contributors_url":"https://api.github.com/repos/wojtekmach/hex_web/contributors","subscribers_url":"https://api.github.com/repos/wojtekmach/hex_web/subscribers","subscription_url":"https://api.github.com/repos/wojtekmach/hex_web/subscription","commits_url":"https://api.github.com/repos/wojtekmach/hex_web/commits{/sha}","git_commits_url":"https://api.github.com/repos/wojtekmach/hex_web/git/commits{/sha}","comments_url":"https://api.github.com/repos/wojtekmach/hex_web/comments{/number}","issue_comment_url":"https://api.github.com/repos/wojtekmach/hex_web/issues/comments{/number}","contents_url":"https://api.github.com/repos/wojtekmach/hex_web/contents/{+path}","compare_url":"https://api.github.com/repos/wojtekmach/hex_web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wojtekmach/hex_web/merges","archive_url":"https://api.github.com/repos/wojtekmach/hex_web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wojtekmach/hex_web/downloads","issues_url":"https://api.github.com/repos/wojtekmach/hex_web/issues{/number}","pulls_url":"https://api.github.com/repos/wojtekmach/hex_web/pulls{/number}","milestones_url":"https://api.github.com/repos/wojtekmach/hex_web/milestones{/number}","notifications_url":"https://api.github.com/repos/wojtekmach/hex_web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wojtekmach/hex_web/labels{/name}","releases_url":"https://api.github.com/repos/wojtekmach/hex_web/releases{/id}","deployments_url":"https://api.github.com/repos/wojtekmach/hex_web/deployments","created_at":"2014-10-11T09:46:30Z","updated_at":"2016-03-04T08:23:01Z","pushed_at":"2016-03-05T20:26:47Z","git_url":"git://github.com/wojtekmach/hex_web.git","ssh_url":"git@github.com:wojtekmach/hex_web.git","clone_url":"https://github.com/wojtekmach/hex_web.git","svn_url":"https://github.com/wojtekmach/hex_web","homepage":"https://hex.pm","size":1793,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hexpm:master","ref":"master","sha":"970c41082a9de08918cbab79f6e7b530d7f74850","user":{"login":"hexpm","id":6621265,"avatar_url":"https://avatars.githubusercontent.com/u/6621265?v=3","gravatar_id":"","url":"https://api.github.com/users/hexpm","html_url":"https://github.com/hexpm","followers_url":"https://api.github.com/users/hexpm/followers","following_url":"https://api.github.com/users/hexpm/following{/other_user}","gists_url":"https://api.github.com/users/hexpm/gists{/gist_id}","starred_url":"https://api.github.com/users/hexpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hexpm/subscriptions","organizations_url":"https://api.github.com/users/hexpm/orgs","repos_url":"https://api.github.com/users/hexpm/repos","events_url":"https://api.github.com/users/hexpm/events{/privacy}","received_events_url":"https://api.github.com/users/hexpm/received_events","type":"Organization","site_admin":false},"repo":{"id":16328245,"name":"hex_web","full_name":"hexpm/hex_web","owner":{"login":"hexpm","id":6621265,"avatar_url":"https://avatars.githubusercontent.com/u/6621265?v=3","gravatar_id":"","url":"https://api.github.com/users/hexpm","html_url":"https://github.com/hexpm","followers_url":"https://api.github.com/users/hexpm/followers","following_url":"https://api.github.com/users/hexpm/following{/other_user}","gists_url":"https://api.github.com/users/hexpm/gists{/gist_id}","starred_url":"https://api.github.com/users/hexpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hexpm/subscriptions","organizations_url":"https://api.github.com/users/hexpm/orgs","repos_url":"https://api.github.com/users/hexpm/repos","events_url":"https://api.github.com/users/hexpm/events{/privacy}","received_events_url":"https://api.github.com/users/hexpm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hexpm/hex_web","description":"API server and website for Hex","fork":false,"url":"https://api.github.com/repos/hexpm/hex_web","forks_url":"https://api.github.com/repos/hexpm/hex_web/forks","keys_url":"https://api.github.com/repos/hexpm/hex_web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hexpm/hex_web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hexpm/hex_web/teams","hooks_url":"https://api.github.com/repos/hexpm/hex_web/hooks","issue_events_url":"https://api.github.com/repos/hexpm/hex_web/issues/events{/number}","events_url":"https://api.github.com/repos/hexpm/hex_web/events","assignees_url":"https://api.github.com/repos/hexpm/hex_web/assignees{/user}","branches_url":"https://api.github.com/repos/hexpm/hex_web/branches{/branch}","tags_url":"https://api.github.com/repos/hexpm/hex_web/tags","blobs_url":"https://api.github.com/repos/hexpm/hex_web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hexpm/hex_web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hexpm/hex_web/git/refs{/sha}","trees_url":"https://api.github.com/repos/hexpm/hex_web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hexpm/hex_web/statuses/{sha}","languages_url":"https://api.github.com/repos/hexpm/hex_web/languages","stargazers_url":"https://api.github.com/repos/hexpm/hex_web/stargazers","contributors_url":"https://api.github.com/repos/hexpm/hex_web/contributors","subscribers_url":"https://api.github.com/repos/hexpm/hex_web/subscribers","subscription_url":"https://api.github.com/repos/hexpm/hex_web/subscription","commits_url":"https://api.github.com/repos/hexpm/hex_web/commits{/sha}","git_commits_url":"https://api.github.com/repos/hexpm/hex_web/git/commits{/sha}","comments_url":"https://api.github.com/repos/hexpm/hex_web/comments{/number}","issue_comment_url":"https://api.github.com/repos/hexpm/hex_web/issues/comments{/number}","contents_url":"https://api.github.com/repos/hexpm/hex_web/contents/{+path}","compare_url":"https://api.github.com/repos/hexpm/hex_web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hexpm/hex_web/merges","archive_url":"https://api.github.com/repos/hexpm/hex_web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hexpm/hex_web/downloads","issues_url":"https://api.github.com/repos/hexpm/hex_web/issues{/number}","pulls_url":"https://api.github.com/repos/hexpm/hex_web/pulls{/number}","milestones_url":"https://api.github.com/repos/hexpm/hex_web/milestones{/number}","notifications_url":"https://api.github.com/repos/hexpm/hex_web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hexpm/hex_web/labels{/name}","releases_url":"https://api.github.com/repos/hexpm/hex_web/releases{/id}","deployments_url":"https://api.github.com/repos/hexpm/hex_web/deployments","created_at":"2014-01-28T22:29:21Z","updated_at":"2016-03-05T18:33:52Z","pushed_at":"2016-03-05T20:38:40Z","git_url":"git://github.com/hexpm/hex_web.git","ssh_url":"git@github.com:hexpm/hex_web.git","clone_url":"https://github.com/hexpm/hex_web.git","svn_url":"https://github.com/hexpm/hex_web","homepage":"https://hex.pm","size":1977,"stargazers_count":133,"watchers_count":133,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":12,"forks":64,"open_issues":12,"watchers":133,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hexpm/hex_web/pulls/258"},"html":{"href":"https://github.com/hexpm/hex_web/pull/258"},"issue":{"href":"https://api.github.com/repos/hexpm/hex_web/issues/258"},"comments":{"href":"https://api.github.com/repos/hexpm/hex_web/issues/258/comments"},"review_comments":{"href":"https://api.github.com/repos/hexpm/hex_web/pulls/258/comments"},"review_comment":{"href":"https://api.github.com/repos/hexpm/hex_web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hexpm/hex_web/pulls/258/commits"},"statuses":{"href":"https://api.github.com/repos/hexpm/hex_web/statuses/8a3d7f362bcfa115edc002038e2e818504f1cc04"}}}}