{"action":"created","comment":{"url":"https://api.github.com/repos/juju/charmstore/pulls/comments/67495418","id":67495418,"diff_hunk":"@@ -703,6 +719,8 @@ var testEntities = []*router.ResolvedURL{\n \tnewResolvedURL(\"cs:~charmers/precise/terms-42\", 42),\n \t// A charm with resources.\n \tnewResolvedURL(\"cs:~charmers/utopic/starsay-17\", 17),\n+\t// A charm with metrics.\n+\tnewResolvedURL(\"cs:~charmers/xenial/metered-42\", 42),","path":"internal/v5/api_test.go","position":28,"original_position":28,"commit_id":"56b721abce0f84227f85171389c4f5b7de8f178a","original_commit_id":"56b721abce0f84227f85171389c4f5b7de8f178a","user":{"login":"rogpeppe","id":66491,"avatar_url":"https://avatars.githubusercontent.com/u/66491?v=3","gravatar_id":"","url":"https://api.github.com/users/rogpeppe","html_url":"https://github.com/rogpeppe","followers_url":"https://api.github.com/users/rogpeppe/followers","following_url":"https://api.github.com/users/rogpeppe/following{/other_user}","gists_url":"https://api.github.com/users/rogpeppe/gists{/gist_id}","starred_url":"https://api.github.com/users/rogpeppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogpeppe/subscriptions","organizations_url":"https://api.github.com/users/rogpeppe/orgs","repos_url":"https://api.github.com/users/rogpeppe/repos","events_url":"https://api.github.com/users/rogpeppe/events{/privacy}","received_events_url":"https://api.github.com/users/rogpeppe/received_events","type":"User","site_admin":false},"body":"Ah, I guess this might require the on-disk charm. Maybe worth leaving it then.","created_at":"2016-06-17T11:16:55Z","updated_at":"2016-06-17T11:16:55Z","html_url":"https://github.com/juju/charmstore/pull/642#discussion_r67495418","pull_request_url":"https://api.github.com/repos/juju/charmstore/pulls/642","_links":{"self":{"href":"https://api.github.com/repos/juju/charmstore/pulls/comments/67495418"},"html":{"href":"https://github.com/juju/charmstore/pull/642#discussion_r67495418"},"pull_request":{"href":"https://api.github.com/repos/juju/charmstore/pulls/642"}}},"pull_request":{"url":"https://api.github.com/repos/juju/charmstore/pulls/642","id":74224856,"html_url":"https://github.com/juju/charmstore/pull/642","diff_url":"https://github.com/juju/charmstore/pull/642.diff","patch_url":"https://github.com/juju/charmstore/pull/642.patch","issue_url":"https://api.github.com/repos/juju/charmstore/issues/642","number":642,"state":"open","locked":false,"title":"Add support for metrics.","user":{"login":"frankban","id":1408172,"avatar_url":"https://avatars.githubusercontent.com/u/1408172?v=3","gravatar_id":"","url":"https://api.github.com/users/frankban","html_url":"https://github.com/frankban","followers_url":"https://api.github.com/users/frankban/followers","following_url":"https://api.github.com/users/frankban/following{/other_user}","gists_url":"https://api.github.com/users/frankban/gists{/gist_id}","starred_url":"https://api.github.com/users/frankban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankban/subscriptions","organizations_url":"https://api.github.com/users/frankban/orgs","repos_url":"https://api.github.com/users/frankban/repos","events_url":"https://api.github.com/users/frankban/events{/privacy}","received_events_url":"https://api.github.com/users/frankban/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-17T10:59:56Z","updated_at":"2016-06-17T11:16:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6037444dffd3551256821a74b2b43cebe1b3fdb1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/juju/charmstore/pulls/642/commits","review_comments_url":"https://api.github.com/repos/juju/charmstore/pulls/642/comments","review_comment_url":"https://api.github.com/repos/juju/charmstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juju/charmstore/issues/642/comments","statuses_url":"https://api.github.com/repos/juju/charmstore/statuses/56b721abce0f84227f85171389c4f5b7de8f178a","head":{"label":"frankban:metrics-endpoint","ref":"metrics-endpoint","sha":"56b721abce0f84227f85171389c4f5b7de8f178a","user":{"login":"frankban","id":1408172,"avatar_url":"https://avatars.githubusercontent.com/u/1408172?v=3","gravatar_id":"","url":"https://api.github.com/users/frankban","html_url":"https://github.com/frankban","followers_url":"https://api.github.com/users/frankban/followers","following_url":"https://api.github.com/users/frankban/following{/other_user}","gists_url":"https://api.github.com/users/frankban/gists{/gist_id}","starred_url":"https://api.github.com/users/frankban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankban/subscriptions","organizations_url":"https://api.github.com/users/frankban/orgs","repos_url":"https://api.github.com/users/frankban/repos","events_url":"https://api.github.com/users/frankban/events{/privacy}","received_events_url":"https://api.github.com/users/frankban/received_events","type":"User","site_admin":false},"repo":{"id":20724527,"name":"charmstore","full_name":"frankban/charmstore","owner":{"login":"frankban","id":1408172,"avatar_url":"https://avatars.githubusercontent.com/u/1408172?v=3","gravatar_id":"","url":"https://api.github.com/users/frankban","html_url":"https://github.com/frankban","followers_url":"https://api.github.com/users/frankban/followers","following_url":"https://api.github.com/users/frankban/following{/other_user}","gists_url":"https://api.github.com/users/frankban/gists{/gist_id}","starred_url":"https://api.github.com/users/frankban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankban/subscriptions","organizations_url":"https://api.github.com/users/frankban/orgs","repos_url":"https://api.github.com/users/frankban/repos","events_url":"https://api.github.com/users/frankban/events{/privacy}","received_events_url":"https://api.github.com/users/frankban/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/frankban/charmstore","description":"The charm store server.","fork":true,"url":"https://api.github.com/repos/frankban/charmstore","forks_url":"https://api.github.com/repos/frankban/charmstore/forks","keys_url":"https://api.github.com/repos/frankban/charmstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frankban/charmstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frankban/charmstore/teams","hooks_url":"https://api.github.com/repos/frankban/charmstore/hooks","issue_events_url":"https://api.github.com/repos/frankban/charmstore/issues/events{/number}","events_url":"https://api.github.com/repos/frankban/charmstore/events","assignees_url":"https://api.github.com/repos/frankban/charmstore/assignees{/user}","branches_url":"https://api.github.com/repos/frankban/charmstore/branches{/branch}","tags_url":"https://api.github.com/repos/frankban/charmstore/tags","blobs_url":"https://api.github.com/repos/frankban/charmstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frankban/charmstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frankban/charmstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/frankban/charmstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frankban/charmstore/statuses/{sha}","languages_url":"https://api.github.com/repos/frankban/charmstore/languages","stargazers_url":"https://api.github.com/repos/frankban/charmstore/stargazers","contributors_url":"https://api.github.com/repos/frankban/charmstore/contributors","subscribers_url":"https://api.github.com/repos/frankban/charmstore/subscribers","subscription_url":"https://api.github.com/repos/frankban/charmstore/subscription","commits_url":"https://api.github.com/repos/frankban/charmstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/frankban/charmstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/frankban/charmstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/frankban/charmstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/frankban/charmstore/contents/{+path}","compare_url":"https://api.github.com/repos/frankban/charmstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frankban/charmstore/merges","archive_url":"https://api.github.com/repos/frankban/charmstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frankban/charmstore/downloads","issues_url":"https://api.github.com/repos/frankban/charmstore/issues{/number}","pulls_url":"https://api.github.com/repos/frankban/charmstore/pulls{/number}","milestones_url":"https://api.github.com/repos/frankban/charmstore/milestones{/number}","notifications_url":"https://api.github.com/repos/frankban/charmstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frankban/charmstore/labels{/name}","releases_url":"https://api.github.com/repos/frankban/charmstore/releases{/id}","deployments_url":"https://api.github.com/repos/frankban/charmstore/deployments","created_at":"2014-06-11T12:39:19Z","updated_at":"2016-01-21T10:23:05Z","pushed_at":"2016-06-17T10:57:47Z","git_url":"git://github.com/frankban/charmstore.git","ssh_url":"git@github.com:frankban/charmstore.git","clone_url":"https://github.com/frankban/charmstore.git","svn_url":"https://github.com/frankban/charmstore","homepage":null,"size":4704,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"juju:v5-unstable","ref":"v5-unstable","sha":"85e6cda222819c57ebe65ad7b5805d4cd3042886","user":{"login":"juju","id":4604548,"avatar_url":"https://avatars.githubusercontent.com/u/4604548?v=3","gravatar_id":"","url":"https://api.github.com/users/juju","html_url":"https://github.com/juju","followers_url":"https://api.github.com/users/juju/followers","following_url":"https://api.github.com/users/juju/following{/other_user}","gists_url":"https://api.github.com/users/juju/gists{/gist_id}","starred_url":"https://api.github.com/users/juju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juju/subscriptions","organizations_url":"https://api.github.com/users/juju/orgs","repos_url":"https://api.github.com/users/juju/repos","events_url":"https://api.github.com/users/juju/events{/privacy}","received_events_url":"https://api.github.com/users/juju/received_events","type":"Organization","site_admin":false},"repo":{"id":20720417,"name":"charmstore","full_name":"juju/charmstore","owner":{"login":"juju","id":4604548,"avatar_url":"https://avatars.githubusercontent.com/u/4604548?v=3","gravatar_id":"","url":"https://api.github.com/users/juju","html_url":"https://github.com/juju","followers_url":"https://api.github.com/users/juju/followers","following_url":"https://api.github.com/users/juju/following{/other_user}","gists_url":"https://api.github.com/users/juju/gists{/gist_id}","starred_url":"https://api.github.com/users/juju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juju/subscriptions","organizations_url":"https://api.github.com/users/juju/orgs","repos_url":"https://api.github.com/users/juju/repos","events_url":"https://api.github.com/users/juju/events{/privacy}","received_events_url":"https://api.github.com/users/juju/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/juju/charmstore","description":"The charm store server.","fork":false,"url":"https://api.github.com/repos/juju/charmstore","forks_url":"https://api.github.com/repos/juju/charmstore/forks","keys_url":"https://api.github.com/repos/juju/charmstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juju/charmstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juju/charmstore/teams","hooks_url":"https://api.github.com/repos/juju/charmstore/hooks","issue_events_url":"https://api.github.com/repos/juju/charmstore/issues/events{/number}","events_url":"https://api.github.com/repos/juju/charmstore/events","assignees_url":"https://api.github.com/repos/juju/charmstore/assignees{/user}","branches_url":"https://api.github.com/repos/juju/charmstore/branches{/branch}","tags_url":"https://api.github.com/repos/juju/charmstore/tags","blobs_url":"https://api.github.com/repos/juju/charmstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juju/charmstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juju/charmstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/juju/charmstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juju/charmstore/statuses/{sha}","languages_url":"https://api.github.com/repos/juju/charmstore/languages","stargazers_url":"https://api.github.com/repos/juju/charmstore/stargazers","contributors_url":"https://api.github.com/repos/juju/charmstore/contributors","subscribers_url":"https://api.github.com/repos/juju/charmstore/subscribers","subscription_url":"https://api.github.com/repos/juju/charmstore/subscription","commits_url":"https://api.github.com/repos/juju/charmstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/juju/charmstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/juju/charmstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/juju/charmstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/juju/charmstore/contents/{+path}","compare_url":"https://api.github.com/repos/juju/charmstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juju/charmstore/merges","archive_url":"https://api.github.com/repos/juju/charmstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juju/charmstore/downloads","issues_url":"https://api.github.com/repos/juju/charmstore/issues{/number}","pulls_url":"https://api.github.com/repos/juju/charmstore/pulls{/number}","milestones_url":"https://api.github.com/repos/juju/charmstore/milestones{/number}","notifications_url":"https://api.github.com/repos/juju/charmstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juju/charmstore/labels{/name}","releases_url":"https://api.github.com/repos/juju/charmstore/releases{/id}","deployments_url":"https://api.github.com/repos/juju/charmstore/deployments","created_at":"2014-06-11T09:53:37Z","updated_at":"2016-04-17T02:04:55Z","pushed_at":"2016-06-17T10:59:56Z","git_url":"git://github.com/juju/charmstore.git","ssh_url":"git@github.com:juju/charmstore.git","clone_url":"https://github.com/juju/charmstore.git","svn_url":"https://github.com/juju/charmstore","homepage":null,"size":6439,"stargazers_count":8,"watchers_count":8,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":31,"forks":22,"open_issues":31,"watchers":8,"default_branch":"v5-unstable"}},"_links":{"self":{"href":"https://api.github.com/repos/juju/charmstore/pulls/642"},"html":{"href":"https://github.com/juju/charmstore/pull/642"},"issue":{"href":"https://api.github.com/repos/juju/charmstore/issues/642"},"comments":{"href":"https://api.github.com/repos/juju/charmstore/issues/642/comments"},"review_comments":{"href":"https://api.github.com/repos/juju/charmstore/pulls/642/comments"},"review_comment":{"href":"https://api.github.com/repos/juju/charmstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juju/charmstore/pulls/642/commits"},"statuses":{"href":"https://api.github.com/repos/juju/charmstore/statuses/56b721abce0f84227f85171389c4f5b7de8f178a"}}}}
{"actor":{"display_login":"rogpeppe"}}