{"action":"created","comment":{"url":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls/comments/73097805","id":73097805,"diff_hunk":"@@ -21,6 +21,7 @@ def roger_version(root_dir):\n                 version = f.read().strip()\n     finally:\n         print(version)\n+    return version","path":"bin/roger.py","position":4,"original_position":4,"commit_id":"b42ec960300992146de9b5b2eaf088670f1e0689","original_commit_id":"b42ec960300992146de9b5b2eaf088670f1e0689","user":{"login":"ankanm","id":558066,"avatar_url":"https://avatars.githubusercontent.com/u/558066?v=3","gravatar_id":"","url":"https://api.github.com/users/ankanm","html_url":"https://github.com/ankanm","followers_url":"https://api.github.com/users/ankanm/followers","following_url":"https://api.github.com/users/ankanm/following{/other_user}","gists_url":"https://api.github.com/users/ankanm/gists{/gist_id}","starred_url":"https://api.github.com/users/ankanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankanm/subscriptions","organizations_url":"https://api.github.com/users/ankanm/orgs","repos_url":"https://api.github.com/users/ankanm/repos","events_url":"https://api.github.com/users/ankanm/events{/privacy}","received_events_url":"https://api.github.com/users/ankanm/received_events","type":"User","site_admin":false},"body":"The `print(version)` line will end up printing the version all the time. Print it only when `-v` or `--version` is specified.","created_at":"2016-08-02T05:52:52Z","updated_at":"2016-08-02T05:52:52Z","html_url":"https://github.com/seomoz/roger-mesos-tools/pull/95#discussion_r73097805","pull_request_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls/95","_links":{"self":{"href":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls/comments/73097805"},"html":{"href":"https://github.com/seomoz/roger-mesos-tools/pull/95#discussion_r73097805"},"pull_request":{"href":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls/95"}}},"pull_request":{"url":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls/95","id":79661474,"html_url":"https://github.com/seomoz/roger-mesos-tools/pull/95","diff_url":"https://github.com/seomoz/roger-mesos-tools/pull/95.diff","patch_url":"https://github.com/seomoz/roger-mesos-tools/pull/95.patch","issue_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/issues/95","number":95,"state":"open","locked":false,"title":"Sambit/roger 1114","user":{"login":"04msambit","id":2840953,"avatar_url":"https://avatars.githubusercontent.com/u/2840953?v=3","gravatar_id":"","url":"https://api.github.com/users/04msambit","html_url":"https://github.com/04msambit","followers_url":"https://api.github.com/users/04msambit/followers","following_url":"https://api.github.com/users/04msambit/following{/other_user}","gists_url":"https://api.github.com/users/04msambit/gists{/gist_id}","starred_url":"https://api.github.com/users/04msambit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/04msambit/subscriptions","organizations_url":"https://api.github.com/users/04msambit/orgs","repos_url":"https://api.github.com/users/04msambit/repos","events_url":"https://api.github.com/users/04msambit/events{/privacy}","received_events_url":"https://api.github.com/users/04msambit/received_events","type":"User","site_admin":false},"body":"@amitbose327 Please have a look.\r\n\r\nAdded 2 new fields to statasd_rogeros_tools_exec_time and statsd_rogeros_events : ( image_tag and tools_version )","created_at":"2016-08-02T00:58:50Z","updated_at":"2016-08-02T05:52:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"184ff9baf69f3d4beacaa8245a5c04ed4099c4d7","assignee":{"login":"ankanm","id":558066,"avatar_url":"https://avatars.githubusercontent.com/u/558066?v=3","gravatar_id":"","url":"https://api.github.com/users/ankanm","html_url":"https://github.com/ankanm","followers_url":"https://api.github.com/users/ankanm/followers","following_url":"https://api.github.com/users/ankanm/following{/other_user}","gists_url":"https://api.github.com/users/ankanm/gists{/gist_id}","starred_url":"https://api.github.com/users/ankanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankanm/subscriptions","organizations_url":"https://api.github.com/users/ankanm/orgs","repos_url":"https://api.github.com/users/ankanm/repos","events_url":"https://api.github.com/users/ankanm/events{/privacy}","received_events_url":"https://api.github.com/users/ankanm/received_events","type":"User","site_admin":false},"assignees":[{"login":"ankanm","id":558066,"avatar_url":"https://avatars.githubusercontent.com/u/558066?v=3","gravatar_id":"","url":"https://api.github.com/users/ankanm","html_url":"https://github.com/ankanm","followers_url":"https://api.github.com/users/ankanm/followers","following_url":"https://api.github.com/users/ankanm/following{/other_user}","gists_url":"https://api.github.com/users/ankanm/gists{/gist_id}","starred_url":"https://api.github.com/users/ankanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankanm/subscriptions","organizations_url":"https://api.github.com/users/ankanm/orgs","repos_url":"https://api.github.com/users/ankanm/repos","events_url":"https://api.github.com/users/ankanm/events{/privacy}","received_events_url":"https://api.github.com/users/ankanm/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls/95/commits","review_comments_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls/95/comments","review_comment_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/issues/95/comments","statuses_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/statuses/b42ec960300992146de9b5b2eaf088670f1e0689","head":{"label":"seomoz:sambit/ROGER-1114","ref":"sambit/ROGER-1114","sha":"b42ec960300992146de9b5b2eaf088670f1e0689","user":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"repo":{"id":52420584,"name":"roger-mesos-tools","full_name":"seomoz/roger-mesos-tools","owner":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seomoz/roger-mesos-tools","description":"Tools to interact with RogerOS (roger-mesos)","fork":false,"url":"https://api.github.com/repos/seomoz/roger-mesos-tools","forks_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/forks","keys_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/teams","hooks_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/hooks","issue_events_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/issues/events{/number}","events_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/events","assignees_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/assignees{/user}","branches_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/branches{/branch}","tags_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/tags","blobs_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/languages","stargazers_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/stargazers","contributors_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/contributors","subscribers_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/subscribers","subscription_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/subscription","commits_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/contents/{+path}","compare_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/merges","archive_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/downloads","issues_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/issues{/number}","pulls_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/labels{/name}","releases_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/releases{/id}","deployments_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/deployments","created_at":"2016-02-24T06:42:19Z","updated_at":"2016-05-23T17:58:22Z","pushed_at":"2016-08-02T01:27:25Z","git_url":"git://github.com/seomoz/roger-mesos-tools.git","ssh_url":"git@github.com:seomoz/roger-mesos-tools.git","clone_url":"https://github.com/seomoz/roger-mesos-tools.git","svn_url":"https://github.com/seomoz/roger-mesos-tools","homepage":"","size":531,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"seomoz:master","ref":"master","sha":"3c929d12d017c4cda80f59846a910080bbc91e93","user":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"repo":{"id":52420584,"name":"roger-mesos-tools","full_name":"seomoz/roger-mesos-tools","owner":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seomoz/roger-mesos-tools","description":"Tools to interact with RogerOS (roger-mesos)","fork":false,"url":"https://api.github.com/repos/seomoz/roger-mesos-tools","forks_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/forks","keys_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/teams","hooks_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/hooks","issue_events_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/issues/events{/number}","events_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/events","assignees_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/assignees{/user}","branches_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/branches{/branch}","tags_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/tags","blobs_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/languages","stargazers_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/stargazers","contributors_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/contributors","subscribers_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/subscribers","subscription_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/subscription","commits_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/contents/{+path}","compare_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/merges","archive_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/downloads","issues_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/issues{/number}","pulls_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/labels{/name}","releases_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/releases{/id}","deployments_url":"https://api.github.com/repos/seomoz/roger-mesos-tools/deployments","created_at":"2016-02-24T06:42:19Z","updated_at":"2016-05-23T17:58:22Z","pushed_at":"2016-08-02T01:27:25Z","git_url":"git://github.com/seomoz/roger-mesos-tools.git","ssh_url":"git@github.com:seomoz/roger-mesos-tools.git","clone_url":"https://github.com/seomoz/roger-mesos-tools.git","svn_url":"https://github.com/seomoz/roger-mesos-tools","homepage":"","size":531,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls/95"},"html":{"href":"https://github.com/seomoz/roger-mesos-tools/pull/95"},"issue":{"href":"https://api.github.com/repos/seomoz/roger-mesos-tools/issues/95"},"comments":{"href":"https://api.github.com/repos/seomoz/roger-mesos-tools/issues/95/comments"},"review_comments":{"href":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls/95/comments"},"review_comment":{"href":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seomoz/roger-mesos-tools/pulls/95/commits"},"statuses":{"href":"https://api.github.com/repos/seomoz/roger-mesos-tools/statuses/b42ec960300992146de9b5b2eaf088670f1e0689"}}}}
{"actor":{"display_login":"ankanm"}}