{"action":"created","comment":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls/comments/33871098","id":33871098,"diff_hunk":"@@ -1,3 +1,4 @@\n+#!/usr/bin/env python2","path":"amqp_codegen.py","position":1,"original_position":1,"commit_id":"664ee8fe89367db37bd649108ca6ab65657595c3","original_commit_id":"664ee8fe89367db37bd649108ca6ab65657595c3","user":{"login":"videlalvaro","id":30834,"avatar_url":"https://avatars.githubusercontent.com/u/30834?v=3","gravatar_id":"","url":"https://api.github.com/users/videlalvaro","html_url":"https://github.com/videlalvaro","followers_url":"https://api.github.com/users/videlalvaro/followers","following_url":"https://api.github.com/users/videlalvaro/following{/other_user}","gists_url":"https://api.github.com/users/videlalvaro/gists{/gist_id}","starred_url":"https://api.github.com/users/videlalvaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/videlalvaro/subscriptions","organizations_url":"https://api.github.com/users/videlalvaro/orgs","repos_url":"https://api.github.com/users/videlalvaro/repos","events_url":"https://api.github.com/users/videlalvaro/events{/privacy}","received_events_url":"https://api.github.com/users/videlalvaro/received_events","type":"User","site_admin":false},"body":"this doesn't seem to work on OS X","created_at":"2015-07-03T15:35:04Z","updated_at":"2015-07-03T15:35:04Z","html_url":"https://github.com/rabbitmq/rabbitmq-codegen/pull/3#discussion_r33871098","pull_request_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls/comments/33871098"},"html":{"href":"https://github.com/rabbitmq/rabbitmq-codegen/pull/3#discussion_r33871098"},"pull_request":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls/3","id":39159967,"html_url":"https://github.com/rabbitmq/rabbitmq-codegen/pull/3","diff_url":"https://github.com/rabbitmq/rabbitmq-codegen/pull/3.diff","patch_url":"https://github.com/rabbitmq/rabbitmq-codegen/pull/3.patch","issue_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/issues/3","number":3,"state":"closed","locked":false,"title":"add shebang for python version detection","user":{"login":"ingwinlu","id":4435962,"avatar_url":"https://avatars.githubusercontent.com/u/4435962?v=3","gravatar_id":"","url":"https://api.github.com/users/ingwinlu","html_url":"https://github.com/ingwinlu","followers_url":"https://api.github.com/users/ingwinlu/followers","following_url":"https://api.github.com/users/ingwinlu/following{/other_user}","gists_url":"https://api.github.com/users/ingwinlu/gists{/gist_id}","starred_url":"https://api.github.com/users/ingwinlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingwinlu/subscriptions","organizations_url":"https://api.github.com/users/ingwinlu/orgs","repos_url":"https://api.github.com/users/ingwinlu/repos","events_url":"https://api.github.com/users/ingwinlu/events{/privacy}","received_events_url":"https://api.github.com/users/ingwinlu/received_events","type":"User","site_admin":false},"body":"brings the amqp_codegen script inline with https://github.com/rabbitmq/rabbitmq-amqp1.0/blob/master/codegen.py#L1 and https://github.com/rabbitmq/rabbitmq-server/pull/213","created_at":"2015-07-03T09:34:03Z","updated_at":"2015-07-03T15:35:04Z","closed_at":"2015-07-03T11:48:44Z","merged_at":"2015-07-03T11:48:44Z","merge_commit_sha":"5b2b074a9105a92859e0b5e68ee65b2abf9c0335","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls/3/commits","review_comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls/3/comments","review_comment_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/issues/3/comments","statuses_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/statuses/664ee8fe89367db37bd649108ca6ab65657595c3","head":{"label":"ingwinlu:add_env_shebang","ref":"add_env_shebang","sha":"664ee8fe89367db37bd649108ca6ab65657595c3","user":{"login":"ingwinlu","id":4435962,"avatar_url":"https://avatars.githubusercontent.com/u/4435962?v=3","gravatar_id":"","url":"https://api.github.com/users/ingwinlu","html_url":"https://github.com/ingwinlu","followers_url":"https://api.github.com/users/ingwinlu/followers","following_url":"https://api.github.com/users/ingwinlu/following{/other_user}","gists_url":"https://api.github.com/users/ingwinlu/gists{/gist_id}","starred_url":"https://api.github.com/users/ingwinlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingwinlu/subscriptions","organizations_url":"https://api.github.com/users/ingwinlu/orgs","repos_url":"https://api.github.com/users/ingwinlu/repos","events_url":"https://api.github.com/users/ingwinlu/events{/privacy}","received_events_url":"https://api.github.com/users/ingwinlu/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"rabbitmq:master","ref":"master","sha":"dd73c6f6d7c116389a6e570aa6243a6134473fa9","user":{"login":"rabbitmq","id":96669,"avatar_url":"https://avatars.githubusercontent.com/u/96669?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbitmq","html_url":"https://github.com/rabbitmq","followers_url":"https://api.github.com/users/rabbitmq/followers","following_url":"https://api.github.com/users/rabbitmq/following{/other_user}","gists_url":"https://api.github.com/users/rabbitmq/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbitmq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbitmq/subscriptions","organizations_url":"https://api.github.com/users/rabbitmq/orgs","repos_url":"https://api.github.com/users/rabbitmq/repos","events_url":"https://api.github.com/users/rabbitmq/events{/privacy}","received_events_url":"https://api.github.com/users/rabbitmq/received_events","type":"Organization","site_admin":false},"repo":{"id":924556,"name":"rabbitmq-codegen","full_name":"rabbitmq/rabbitmq-codegen","owner":{"login":"rabbitmq","id":96669,"avatar_url":"https://avatars.githubusercontent.com/u/96669?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbitmq","html_url":"https://github.com/rabbitmq","followers_url":"https://api.github.com/users/rabbitmq/followers","following_url":"https://api.github.com/users/rabbitmq/following{/other_user}","gists_url":"https://api.github.com/users/rabbitmq/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbitmq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbitmq/subscriptions","organizations_url":"https://api.github.com/users/rabbitmq/orgs","repos_url":"https://api.github.com/users/rabbitmq/repos","events_url":"https://api.github.com/users/rabbitmq/events{/privacy}","received_events_url":"https://api.github.com/users/rabbitmq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rabbitmq/rabbitmq-codegen","description":"RabbitMQ protocol code-generation and machine-readable spec","fork":false,"url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen","forks_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/forks","keys_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/teams","hooks_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/hooks","issue_events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/issues/events{/number}","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/events","assignees_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/assignees{/user}","branches_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/branches{/branch}","tags_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/tags","blobs_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/git/refs{/sha}","trees_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/statuses/{sha}","languages_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/languages","stargazers_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/stargazers","contributors_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/contributors","subscribers_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/subscribers","subscription_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/subscription","commits_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/commits{/sha}","git_commits_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/git/commits{/sha}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/comments{/number}","issue_comment_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/issues/comments{/number}","contents_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/contents/{+path}","compare_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/merges","archive_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/downloads","issues_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/issues{/number}","pulls_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls{/number}","milestones_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/milestones{/number}","notifications_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/labels{/name}","releases_url":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/releases{/id}","created_at":"2010-09-20T10:33:27Z","updated_at":"2015-05-18T08:05:19Z","pushed_at":"2015-07-03T11:48:44Z","git_url":"git://github.com/rabbitmq/rabbitmq-codegen.git","ssh_url":"git@github.com:rabbitmq/rabbitmq-codegen.git","clone_url":"https://github.com/rabbitmq/rabbitmq-codegen.git","svn_url":"https://github.com/rabbitmq/rabbitmq-codegen","homepage":"https://www.rabbitmq.com/","size":14950,"stargazers_count":20,"watchers_count":20,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":0,"forks":24,"open_issues":0,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls/3"},"html":{"href":"https://github.com/rabbitmq/rabbitmq-codegen/pull/3"},"issue":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/issues/3"},"comments":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/rabbitmq/rabbitmq-codegen/statuses/664ee8fe89367db37bd649108ca6ab65657595c3"}}}}