{"action":"created","comment":{"url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/comments/24715982","id":24715982,"diff_hunk":"@@ -8,6 +8,7 @@\n %prog [options] GRAPHITE_ROOT\n ''')\n option_parser.add_option('--port', default=8080, action='store', type=int, help='Port to listen on')\n+option_parser.add_option('--interface', default=\"0.0.0.0\", action='store', help='Interface to listen on')","path":"bin/run-graphite-devel-server.py","position":null,"original_position":4,"commit_id":"641eb1bb6011bcf0202d9e90dcaee154c3432e45","original_commit_id":"f508fa1937c614eb70ed5cc451ca1620dcb47ff9","user":{"login":"malkowski","id":1282786,"avatar_url":"https://avatars.githubusercontent.com/u/1282786?v=3","gravatar_id":"","url":"https://api.github.com/users/malkowski","html_url":"https://github.com/malkowski","followers_url":"https://api.github.com/users/malkowski/followers","following_url":"https://api.github.com/users/malkowski/following{/other_user}","gists_url":"https://api.github.com/users/malkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/malkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malkowski/subscriptions","organizations_url":"https://api.github.com/users/malkowski/orgs","repos_url":"https://api.github.com/users/malkowski/repos","events_url":"https://api.github.com/users/malkowski/events{/privacy}","received_events_url":"https://api.github.com/users/malkowski/received_events","type":"User","site_admin":false},"body":"Man, that sticks out like a sore thumb now that you point it out. I normally go the other direction with everything in double quotes, so I know the importance of small details like this. Consistency in code is under-valued IMO.","created_at":"2015-02-14T17:55:43Z","updated_at":"2015-02-14T17:55:43Z","html_url":"https://github.com/graphite-project/graphite-web/pull/1158#discussion_r24715982","pull_request_url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/1158","_links":{"self":{"href":"https://api.github.com/repos/graphite-project/graphite-web/pulls/comments/24715982"},"html":{"href":"https://github.com/graphite-project/graphite-web/pull/1158#discussion_r24715982"},"pull_request":{"href":"https://api.github.com/repos/graphite-project/graphite-web/pulls/1158"}}},"pull_request":{"url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/1158","id":29323026,"html_url":"https://github.com/graphite-project/graphite-web/pull/1158","diff_url":"https://github.com/graphite-project/graphite-web/pull/1158.diff","patch_url":"https://github.com/graphite-project/graphite-web/pull/1158.patch","issue_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1158","number":1158,"state":"open","locked":false,"title":"Add --interface flag, to allow devel server to only listen on 127.0.0.1","user":{"login":"malkowski","id":1282786,"avatar_url":"https://avatars.githubusercontent.com/u/1282786?v=3","gravatar_id":"","url":"https://api.github.com/users/malkowski","html_url":"https://github.com/malkowski","followers_url":"https://api.github.com/users/malkowski/followers","following_url":"https://api.github.com/users/malkowski/following{/other_user}","gists_url":"https://api.github.com/users/malkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/malkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malkowski/subscriptions","organizations_url":"https://api.github.com/users/malkowski/orgs","repos_url":"https://api.github.com/users/malkowski/repos","events_url":"https://api.github.com/users/malkowski/events{/privacy}","received_events_url":"https://api.github.com/users/malkowski/received_events","type":"User","site_admin":false},"body":"Defaults to 0.0.0.0, so existing behavior remains unchanged. But it's easier when running a dev instance on a laptop and not wanting to mess around with OS X firewall setting, to just specify --interface=127.0.0.1 instead.","created_at":"2015-02-14T17:44:02Z","updated_at":"2015-02-14T17:55:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dcd4d566c134c50f369a2ba282f0891d2e048b02","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/1158/commits","review_comments_url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/1158/comments","review_comment_url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/comments/{number}","comments_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1158/comments","statuses_url":"https://api.github.com/repos/graphite-project/graphite-web/statuses/641eb1bb6011bcf0202d9e90dcaee154c3432e45","head":{"label":"malkowski:master","ref":"master","sha":"641eb1bb6011bcf0202d9e90dcaee154c3432e45","user":{"login":"malkowski","id":1282786,"avatar_url":"https://avatars.githubusercontent.com/u/1282786?v=3","gravatar_id":"","url":"https://api.github.com/users/malkowski","html_url":"https://github.com/malkowski","followers_url":"https://api.github.com/users/malkowski/followers","following_url":"https://api.github.com/users/malkowski/following{/other_user}","gists_url":"https://api.github.com/users/malkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/malkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malkowski/subscriptions","organizations_url":"https://api.github.com/users/malkowski/orgs","repos_url":"https://api.github.com/users/malkowski/repos","events_url":"https://api.github.com/users/malkowski/events{/privacy}","received_events_url":"https://api.github.com/users/malkowski/received_events","type":"User","site_admin":false},"repo":{"id":30803547,"name":"graphite-web","full_name":"malkowski/graphite-web","owner":{"login":"malkowski","id":1282786,"avatar_url":"https://avatars.githubusercontent.com/u/1282786?v=3","gravatar_id":"","url":"https://api.github.com/users/malkowski","html_url":"https://github.com/malkowski","followers_url":"https://api.github.com/users/malkowski/followers","following_url":"https://api.github.com/users/malkowski/following{/other_user}","gists_url":"https://api.github.com/users/malkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/malkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malkowski/subscriptions","organizations_url":"https://api.github.com/users/malkowski/orgs","repos_url":"https://api.github.com/users/malkowski/repos","events_url":"https://api.github.com/users/malkowski/events{/privacy}","received_events_url":"https://api.github.com/users/malkowski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/malkowski/graphite-web","description":"A highly scalable real-time graphing system","fork":true,"url":"https://api.github.com/repos/malkowski/graphite-web","forks_url":"https://api.github.com/repos/malkowski/graphite-web/forks","keys_url":"https://api.github.com/repos/malkowski/graphite-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/malkowski/graphite-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/malkowski/graphite-web/teams","hooks_url":"https://api.github.com/repos/malkowski/graphite-web/hooks","issue_events_url":"https://api.github.com/repos/malkowski/graphite-web/issues/events{/number}","events_url":"https://api.github.com/repos/malkowski/graphite-web/events","assignees_url":"https://api.github.com/repos/malkowski/graphite-web/assignees{/user}","branches_url":"https://api.github.com/repos/malkowski/graphite-web/branches{/branch}","tags_url":"https://api.github.com/repos/malkowski/graphite-web/tags","blobs_url":"https://api.github.com/repos/malkowski/graphite-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/malkowski/graphite-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/malkowski/graphite-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/malkowski/graphite-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/malkowski/graphite-web/statuses/{sha}","languages_url":"https://api.github.com/repos/malkowski/graphite-web/languages","stargazers_url":"https://api.github.com/repos/malkowski/graphite-web/stargazers","contributors_url":"https://api.github.com/repos/malkowski/graphite-web/contributors","subscribers_url":"https://api.github.com/repos/malkowski/graphite-web/subscribers","subscription_url":"https://api.github.com/repos/malkowski/graphite-web/subscription","commits_url":"https://api.github.com/repos/malkowski/graphite-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/malkowski/graphite-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/malkowski/graphite-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/malkowski/graphite-web/issues/comments/{number}","contents_url":"https://api.github.com/repos/malkowski/graphite-web/contents/{+path}","compare_url":"https://api.github.com/repos/malkowski/graphite-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/malkowski/graphite-web/merges","archive_url":"https://api.github.com/repos/malkowski/graphite-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/malkowski/graphite-web/downloads","issues_url":"https://api.github.com/repos/malkowski/graphite-web/issues{/number}","pulls_url":"https://api.github.com/repos/malkowski/graphite-web/pulls{/number}","milestones_url":"https://api.github.com/repos/malkowski/graphite-web/milestones{/number}","notifications_url":"https://api.github.com/repos/malkowski/graphite-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/malkowski/graphite-web/labels{/name}","releases_url":"https://api.github.com/repos/malkowski/graphite-web/releases{/id}","created_at":"2015-02-14T17:39:28Z","updated_at":"2015-02-14T17:54:29Z","pushed_at":"2015-02-14T17:54:28Z","git_url":"git://github.com/malkowski/graphite-web.git","ssh_url":"git@github.com:malkowski/graphite-web.git","clone_url":"https://github.com/malkowski/graphite-web.git","svn_url":"https://github.com/malkowski/graphite-web","homepage":"http://graphite.readthedocs.org/","size":27336,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"graphite-project:master","ref":"master","sha":"da85275c2a0c446c47550dee845460e727280fa2","user":{"login":"graphite-project","id":1714806,"avatar_url":"https://avatars.githubusercontent.com/u/1714806?v=3","gravatar_id":"","url":"https://api.github.com/users/graphite-project","html_url":"https://github.com/graphite-project","followers_url":"https://api.github.com/users/graphite-project/followers","following_url":"https://api.github.com/users/graphite-project/following{/other_user}","gists_url":"https://api.github.com/users/graphite-project/gists{/gist_id}","starred_url":"https://api.github.com/users/graphite-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphite-project/subscriptions","organizations_url":"https://api.github.com/users/graphite-project/orgs","repos_url":"https://api.github.com/users/graphite-project/repos","events_url":"https://api.github.com/users/graphite-project/events{/privacy}","received_events_url":"https://api.github.com/users/graphite-project/received_events","type":"Organization","site_admin":false},"repo":{"id":4254338,"name":"graphite-web","full_name":"graphite-project/graphite-web","owner":{"login":"graphite-project","id":1714806,"avatar_url":"https://avatars.githubusercontent.com/u/1714806?v=3","gravatar_id":"","url":"https://api.github.com/users/graphite-project","html_url":"https://github.com/graphite-project","followers_url":"https://api.github.com/users/graphite-project/followers","following_url":"https://api.github.com/users/graphite-project/following{/other_user}","gists_url":"https://api.github.com/users/graphite-project/gists{/gist_id}","starred_url":"https://api.github.com/users/graphite-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphite-project/subscriptions","organizations_url":"https://api.github.com/users/graphite-project/orgs","repos_url":"https://api.github.com/users/graphite-project/repos","events_url":"https://api.github.com/users/graphite-project/events{/privacy}","received_events_url":"https://api.github.com/users/graphite-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/graphite-project/graphite-web","description":"A highly scalable real-time graphing system","fork":false,"url":"https://api.github.com/repos/graphite-project/graphite-web","forks_url":"https://api.github.com/repos/graphite-project/graphite-web/forks","keys_url":"https://api.github.com/repos/graphite-project/graphite-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/graphite-project/graphite-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/graphite-project/graphite-web/teams","hooks_url":"https://api.github.com/repos/graphite-project/graphite-web/hooks","issue_events_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/events{/number}","events_url":"https://api.github.com/repos/graphite-project/graphite-web/events","assignees_url":"https://api.github.com/repos/graphite-project/graphite-web/assignees{/user}","branches_url":"https://api.github.com/repos/graphite-project/graphite-web/branches{/branch}","tags_url":"https://api.github.com/repos/graphite-project/graphite-web/tags","blobs_url":"https://api.github.com/repos/graphite-project/graphite-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/graphite-project/graphite-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/graphite-project/graphite-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/graphite-project/graphite-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/graphite-project/graphite-web/statuses/{sha}","languages_url":"https://api.github.com/repos/graphite-project/graphite-web/languages","stargazers_url":"https://api.github.com/repos/graphite-project/graphite-web/stargazers","contributors_url":"https://api.github.com/repos/graphite-project/graphite-web/contributors","subscribers_url":"https://api.github.com/repos/graphite-project/graphite-web/subscribers","subscription_url":"https://api.github.com/repos/graphite-project/graphite-web/subscription","commits_url":"https://api.github.com/repos/graphite-project/graphite-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/graphite-project/graphite-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/graphite-project/graphite-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/comments/{number}","contents_url":"https://api.github.com/repos/graphite-project/graphite-web/contents/{+path}","compare_url":"https://api.github.com/repos/graphite-project/graphite-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/graphite-project/graphite-web/merges","archive_url":"https://api.github.com/repos/graphite-project/graphite-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/graphite-project/graphite-web/downloads","issues_url":"https://api.github.com/repos/graphite-project/graphite-web/issues{/number}","pulls_url":"https://api.github.com/repos/graphite-project/graphite-web/pulls{/number}","milestones_url":"https://api.github.com/repos/graphite-project/graphite-web/milestones{/number}","notifications_url":"https://api.github.com/repos/graphite-project/graphite-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/graphite-project/graphite-web/labels{/name}","releases_url":"https://api.github.com/repos/graphite-project/graphite-web/releases{/id}","created_at":"2012-05-07T21:30:55Z","updated_at":"2015-02-14T17:51:59Z","pushed_at":"2015-02-14T17:51:58Z","git_url":"git://github.com/graphite-project/graphite-web.git","ssh_url":"git@github.com:graphite-project/graphite-web.git","clone_url":"https://github.com/graphite-project/graphite-web.git","svn_url":"https://github.com/graphite-project/graphite-web","homepage":"http://graphite.readthedocs.org/","size":27336,"stargazers_count":1891,"watchers_count":1891,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":650,"mirror_url":null,"open_issues_count":298,"forks":650,"open_issues":298,"watchers":1891,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/graphite-project/graphite-web/pulls/1158"},"html":{"href":"https://github.com/graphite-project/graphite-web/pull/1158"},"issue":{"href":"https://api.github.com/repos/graphite-project/graphite-web/issues/1158"},"comments":{"href":"https://api.github.com/repos/graphite-project/graphite-web/issues/1158/comments"},"review_comments":{"href":"https://api.github.com/repos/graphite-project/graphite-web/pulls/1158/comments"},"review_comment":{"href":"https://api.github.com/repos/graphite-project/graphite-web/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/graphite-project/graphite-web/pulls/1158/commits"},"statuses":{"href":"https://api.github.com/repos/graphite-project/graphite-web/statuses/641eb1bb6011bcf0202d9e90dcaee154c3432e45"}}}}