GitHub PullRequestReviewCommentEvent at 2014-06-07 18:28:32
Repository: oh-mainline
Actor: kesun
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/openhatch/oh-mainline/pulls/comments/13520782","id":13520782,"diff_hunk":"@@ -202,3 +202,10 @@ def rebase(request, passed_data=None):\n     data = state.as_dict_for_template_context()\n     data['git_rebase_form'] = forms.RebaseForm()\n     return (request, 'missions/git/rebase.html', data)\n+\n+@view\n+def reference(request, passed_data={}):\n+    state = GitMissionPageState(request, passed_data)\n+    state.this_mission_page_short_name = 'Quick reference'\n+    return (request, 'missions/git/reference.html',\n+            state.as_dict_for_template_context())","path":"mysite/missions/git/views.py","position":null,"original_position":10,"commit_id":"ef846717ef95a49b14a927b3d5898661c8a84b93","original_commit_id":"bff6bd5ba3ea8217c103fc2fcbe3c71cc4e84cd6","user":{"login":"kesun","id":2268069,"avatar_url":"https://avatars.githubusercontent.com/u/2268069?","gravatar_id":"da84ea166662ab48b918c2275260f457","url":"https://api.github.com/users/kesun","html_url":"https://github.com/kesun","followers_url":"https://api.github.com/users/kesun/followers","following_url":"https://api.github.com/users/kesun/following{/other_user}","gists_url":"https://api.github.com/users/kesun/gists{/gist_id}","starred_url":"https://api.github.com/users/kesun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kesun/subscriptions","organizations_url":"https://api.github.com/users/kesun/orgs","repos_url":"https://api.github.com/users/kesun/repos","events_url":"https://api.github.com/users/kesun/events{/privacy}","received_events_url":"https://api.github.com/users/kesun/received_events","type":"User","site_admin":false},"body":"I changed the {} to none. Where do I add the newline? And for the data variable, what should I assign to it? None? Sorry for the late reply - emails piled up and some of the the earlier messages were overlooked accidentally.","created_at":"2014-06-07T18:28:32Z","updated_at":"2014-06-07T18:28:32Z","html_url":"https://github.com/openhatch/oh-mainline/pull/268#discussion_r13520782","pull_request_url":"https://api.github.com/repos/openhatch/oh-mainline/pulls/268","_links":{"self":{"href":"https://api.github.com/repos/openhatch/oh-mainline/pulls/comments/13520782"},"html":{"href":"https://github.com/openhatch/oh-mainline/pull/268#discussion_r13520782"},"pull_request":{"href":"https://api.github.com/repos/openhatch/oh-mainline/pulls/268"}}},"pull_request":{"url":"https://api.github.com/repos/openhatch/oh-mainline/pulls/268","id":15746324,"html_url":"https://github.com/openhatch/oh-mainline/pull/268","diff_url":"https://github.com/openhatch/oh-mainline/pull/268.diff","patch_url":"https://github.com/openhatch/oh-mainline/pull/268.patch","issue_url":"https://api.github.com/repos/openhatch/oh-mainline/issues/268","number":268,"state":"open","title":"[issue987] Added a quick reference page for git mission","user":{"login":"kesun","id":2268069,"avatar_url":"https://avatars.githubusercontent.com/u/2268069?","gravatar_id":"da84ea166662ab48b918c2275260f457","url":"https://api.github.com/users/kesun","html_url":"https://github.com/kesun","followers_url":"https://api.github.com/users/kesun/followers","following_url":"https://api.github.com/users/kesun/following{/other_user}","gists_url":"https://api.github.com/users/kesun/gists{/gist_id}","starred_url":"https://api.github.com/users/kesun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kesun/subscriptions","organizations_url":"https://api.github.com/users/kesun/orgs","repos_url":"https://api.github.com/users/kesun/repos","events_url":"https://api.github.com/users/kesun/events{/privacy}","received_events_url":"https://api.github.com/users/kesun/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-05-11T21:22:34Z","updated_at":"2014-06-07T18:28:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b369faa6dbb63d27745de3ca3c86c905103629f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openhatch/oh-mainline/pulls/268/commits","review_comments_url":"https://api.github.com/repos/openhatch/oh-mainline/pulls/268/comments","review_comment_url":"https://api.github.com/repos/openhatch/oh-mainline/pulls/comments/{number}","comments_url":"https://api.github.com/repos/openhatch/oh-mainline/issues/268/comments","statuses_url":"https://api.github.com/repos/openhatch/oh-mainline/statuses/ef846717ef95a49b14a927b3d5898661c8a84b93","head":{"label":"kesun:master","ref":"master","sha":"ef846717ef95a49b14a927b3d5898661c8a84b93","user":{"login":"kesun","id":2268069,"avatar_url":"https://avatars.githubusercontent.com/u/2268069?","gravatar_id":"da84ea166662ab48b918c2275260f457","url":"https://api.github.com/users/kesun","html_url":"https://github.com/kesun","followers_url":"https://api.github.com/users/kesun/followers","following_url":"https://api.github.com/users/kesun/following{/other_user}","gists_url":"https://api.github.com/users/kesun/gists{/gist_id}","starred_url":"https://api.github.com/users/kesun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kesun/subscriptions","organizations_url":"https://api.github.com/users/kesun/orgs","repos_url":"https://api.github.com/users/kesun/repos","events_url":"https://api.github.com/users/kesun/events{/privacy}","received_events_url":"https://api.github.com/users/kesun/received_events","type":"User","site_admin":false},"repo":{"id":19677438,"name":"oh-mainline","full_name":"kesun/oh-mainline","owner":{"login":"kesun","id":2268069,"avatar_url":"https://avatars.githubusercontent.com/u/2268069?","gravatar_id":"da84ea166662ab48b918c2275260f457","url":"https://api.github.com/users/kesun","html_url":"https://github.com/kesun","followers_url":"https://api.github.com/users/kesun/followers","following_url":"https://api.github.com/users/kesun/following{/other_user}","gists_url":"https://api.github.com/users/kesun/gists{/gist_id}","starred_url":"https://api.github.com/users/kesun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kesun/subscriptions","organizations_url":"https://api.github.com/users/kesun/orgs","repos_url":"https://api.github.com/users/kesun/repos","events_url":"https://api.github.com/users/kesun/events{/privacy}","received_events_url":"https://api.github.com/users/kesun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kesun/oh-mainline","description":"The code that runs openhatch.org","fork":true,"url":"https://api.github.com/repos/kesun/oh-mainline","forks_url":"https://api.github.com/repos/kesun/oh-mainline/forks","keys_url":"https://api.github.com/repos/kesun/oh-mainline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kesun/oh-mainline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kesun/oh-mainline/teams","hooks_url":"https://api.github.com/repos/kesun/oh-mainline/hooks","issue_events_url":"https://api.github.com/repos/kesun/oh-mainline/issues/events{/number}","events_url":"https://api.github.com/repos/kesun/oh-mainline/events","assignees_url":"https://api.github.com/repos/kesun/oh-mainline/assignees{/user}","branches_url":"https://api.github.com/repos/kesun/oh-mainline/branches{/branch}","tags_url":"https://api.github.com/repos/kesun/oh-mainline/tags","blobs_url":"https://api.github.com/repos/kesun/oh-mainline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kesun/oh-mainline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kesun/oh-mainline/git/refs{/sha}","trees_url":"https://api.github.com/repos/kesun/oh-mainline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kesun/oh-mainline/statuses/{sha}","languages_url":"https://api.github.com/repos/kesun/oh-mainline/languages","stargazers_url":"https://api.github.com/repos/kesun/oh-mainline/stargazers","contributors_url":"https://api.github.com/repos/kesun/oh-mainline/contributors","subscribers_url":"https://api.github.com/repos/kesun/oh-mainline/subscribers","subscription_url":"https://api.github.com/repos/kesun/oh-mainline/subscription","commits_url":"https://api.github.com/repos/kesun/oh-mainline/commits{/sha}","git_commits_url":"https://api.github.com/repos/kesun/oh-mainline/git/commits{/sha}","comments_url":"https://api.github.com/repos/kesun/oh-mainline/comments{/number}","issue_comment_url":"https://api.github.com/repos/kesun/oh-mainline/issues/comments/{number}","contents_url":"https://api.github.com/repos/kesun/oh-mainline/contents/{+path}","compare_url":"https://api.github.com/repos/kesun/oh-mainline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kesun/oh-mainline/merges","archive_url":"https://api.github.com/repos/kesun/oh-mainline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kesun/oh-mainline/downloads","issues_url":"https://api.github.com/repos/kesun/oh-mainline/issues{/number}","pulls_url":"https://api.github.com/repos/kesun/oh-mainline/pulls{/number}","milestones_url":"https://api.github.com/repos/kesun/oh-mainline/milestones{/number}","notifications_url":"https://api.github.com/repos/kesun/oh-mainline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kesun/oh-mainline/labels{/name}","releases_url":"https://api.github.com/repos/kesun/oh-mainline/releases{/id}","created_at":"2014-05-11T21:08:39Z","updated_at":"2014-06-07T18:21:02Z","pushed_at":"2014-06-07T18:21:01Z","git_url":"git://github.com/kesun/oh-mainline.git","ssh_url":"git@github.com:kesun/oh-mainline.git","clone_url":"https://github.com/kesun/oh-mainline.git","svn_url":"https://github.com/kesun/oh-mainline","homepage":"http://openhatch.org","size":81392,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openhatch:master","ref":"master","sha":"1bdc46e7cd436e398025a6b16abd88610f6bf7bd","user":{"login":"openhatch","id":1191811,"avatar_url":"https://avatars.githubusercontent.com/u/1191811?","gravatar_id":"4fdd629fafd2b4d78dc2fb638f09d528","url":"https://api.github.com/users/openhatch","html_url":"https://github.com/openhatch","followers_url":"https://api.github.com/users/openhatch/followers","following_url":"https://api.github.com/users/openhatch/following{/other_user}","gists_url":"https://api.github.com/users/openhatch/gists{/gist_id}","starred_url":"https://api.github.com/users/openhatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhatch/subscriptions","organizations_url":"https://api.github.com/users/openhatch/orgs","repos_url":"https://api.github.com/users/openhatch/repos","events_url":"https://api.github.com/users/openhatch/events{/privacy}","received_events_url":"https://api.github.com/users/openhatch/received_events","type":"Organization","site_admin":false},"repo":{"id":2776635,"name":"oh-mainline","full_name":"openhatch/oh-mainline","owner":{"login":"openhatch","id":1191811,"avatar_url":"https://avatars.githubusercontent.com/u/1191811?","gravatar_id":"4fdd629fafd2b4d78dc2fb638f09d528","url":"https://api.github.com/users/openhatch","html_url":"https://github.com/openhatch","followers_url":"https://api.github.com/users/openhatch/followers","following_url":"https://api.github.com/users/openhatch/following{/other_user}","gists_url":"https://api.github.com/users/openhatch/gists{/gist_id}","starred_url":"https://api.github.com/users/openhatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhatch/subscriptions","organizations_url":"https://api.github.com/users/openhatch/orgs","repos_url":"https://api.github.com/users/openhatch/repos","events_url":"https://api.github.com/users/openhatch/events{/privacy}","received_events_url":"https://api.github.com/users/openhatch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openhatch/oh-mainline","description":"The code that runs openhatch.org","fork":false,"url":"https://api.github.com/repos/openhatch/oh-mainline","forks_url":"https://api.github.com/repos/openhatch/oh-mainline/forks","keys_url":"https://api.github.com/repos/openhatch/oh-mainline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openhatch/oh-mainline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openhatch/oh-mainline/teams","hooks_url":"https://api.github.com/repos/openhatch/oh-mainline/hooks","issue_events_url":"https://api.github.com/repos/openhatch/oh-mainline/issues/events{/number}","events_url":"https://api.github.com/repos/openhatch/oh-mainline/events","assignees_url":"https://api.github.com/repos/openhatch/oh-mainline/assignees{/user}","branches_url":"https://api.github.com/repos/openhatch/oh-mainline/branches{/branch}","tags_url":"https://api.github.com/repos/openhatch/oh-mainline/tags","blobs_url":"https://api.github.com/repos/openhatch/oh-mainline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openhatch/oh-mainline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openhatch/oh-mainline/git/refs{/sha}","trees_url":"https://api.github.com/repos/openhatch/oh-mainline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openhatch/oh-mainline/statuses/{sha}","languages_url":"https://api.github.com/repos/openhatch/oh-mainline/languages","stargazers_url":"https://api.github.com/repos/openhatch/oh-mainline/stargazers","contributors_url":"https://api.github.com/repos/openhatch/oh-mainline/contributors","subscribers_url":"https://api.github.com/repos/openhatch/oh-mainline/subscribers","subscription_url":"https://api.github.com/repos/openhatch/oh-mainline/subscription","commits_url":"https://api.github.com/repos/openhatch/oh-mainline/commits{/sha}","git_commits_url":"https://api.github.com/repos/openhatch/oh-mainline/git/commits{/sha}","comments_url":"https://api.github.com/repos/openhatch/oh-mainline/comments{/number}","issue_comment_url":"https://api.github.com/repos/openhatch/oh-mainline/issues/comments/{number}","contents_url":"https://api.github.com/repos/openhatch/oh-mainline/contents/{+path}","compare_url":"https://api.github.com/repos/openhatch/oh-mainline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openhatch/oh-mainline/merges","archive_url":"https://api.github.com/repos/openhatch/oh-mainline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openhatch/oh-mainline/downloads","issues_url":"https://api.github.com/repos/openhatch/oh-mainline/issues{/number}","pulls_url":"https://api.github.com/repos/openhatch/oh-mainline/pulls{/number}","milestones_url":"https://api.github.com/repos/openhatch/oh-mainline/milestones{/number}","notifications_url":"https://api.github.com/repos/openhatch/oh-mainline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openhatch/oh-mainline/labels{/name}","releases_url":"https://api.github.com/repos/openhatch/oh-mainline/releases{/id}","created_at":"2011-11-15T00:33:55Z","updated_at":"2014-06-07T18:22:23Z","pushed_at":"2014-06-07T18:22:23Z","git_url":"git://github.com/openhatch/oh-mainline.git","ssh_url":"git@github.com:openhatch/oh-mainline.git","clone_url":"https://github.com/openhatch/oh-mainline.git","svn_url":"https://github.com/openhatch/oh-mainline","homepage":"http://openhatch.org","size":85790,"stargazers_count":83,"watchers_count":83,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":140,"mirror_url":null,"open_issues_count":23,"forks":140,"open_issues":23,"watchers":83,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openhatch/oh-mainline/pulls/268"},"html":{"href":"https://github.com/openhatch/oh-mainline/pull/268"},"issue":{"href":"https://api.github.com/repos/openhatch/oh-mainline/issues/268"},"comments":{"href":"https://api.github.com/repos/openhatch/oh-mainline/issues/268/comments"},"review_comments":{"href":"https://api.github.com/repos/openhatch/oh-mainline/pulls/268/comments"},"review_comment":{"href":"https://api.github.com/repos/openhatch/oh-mainline/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/openhatch/oh-mainline/pulls/268/commits"},"statuses":{"href":"https://api.github.com/repos/openhatch/oh-mainline/statuses/ef846717ef95a49b14a927b3d5898661c8a84b93"}}}}