{"action":"opened","number":504,"pull_request":{"url":"https://api.github.com/repos/ASKBOT/askbot-devel/pulls/504","id":43540434,"html_url":"https://github.com/ASKBOT/askbot-devel/pull/504","diff_url":"https://github.com/ASKBOT/askbot-devel/pull/504.diff","patch_url":"https://github.com/ASKBOT/askbot-devel/pull/504.patch","issue_url":"https://api.github.com/repos/ASKBOT/askbot-devel/issues/504","number":504,"state":"open","locked":false,"title":"Ignore minor edits when updating the last_activity_ info of a Thread","user":{"login":"knowledgepoint-devs","id":6773124,"avatar_url":"https://avatars.githubusercontent.com/u/6773124?v=3","gravatar_id":"","url":"https://api.github.com/users/knowledgepoint-devs","html_url":"https://github.com/knowledgepoint-devs","followers_url":"https://api.github.com/users/knowledgepoint-devs/followers","following_url":"https://api.github.com/users/knowledgepoint-devs/following{/other_user}","gists_url":"https://api.github.com/users/knowledgepoint-devs/gists{/gist_id}","starred_url":"https://api.github.com/users/knowledgepoint-devs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knowledgepoint-devs/subscriptions","organizations_url":"https://api.github.com/users/knowledgepoint-devs/orgs","repos_url":"https://api.github.com/users/knowledgepoint-devs/repos","events_url":"https://api.github.com/users/knowledgepoint-devs/events{/privacy}","received_events_url":"https://api.github.com/users/knowledgepoint-devs/received_events","type":"User","site_admin":false},"body":"New PostRevision model field is_minor - NullBooleanField which is True when it's a minor edit, False when it's not a minor edit, and None when that's not relevant (and for all PostRevision objects that already exist when the migration is run).\r\n\r\nSet it appropriately whenever a question/answer/comment is edited, and ignore PostRevisions with is_minor = True when finding the latest activity in order to update the Thread's last_activity_at and last_activity_by fields (eg. after deleting or reinstating an answer).","created_at":"2015-08-27T16:51:50Z","updated_at":"2015-08-27T16:51:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"425bf46ad9214dd6d86f62ea31efa558687dfc27","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ASKBOT/askbot-devel/pulls/504/commits","review_comments_url":"https://api.github.com/repos/ASKBOT/askbot-devel/pulls/504/comments","review_comment_url":"https://api.github.com/repos/ASKBOT/askbot-devel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ASKBOT/askbot-devel/issues/504/comments","statuses_url":"https://api.github.com/repos/ASKBOT/askbot-devel/statuses/2596e9930359bc83ba2933c417c87373851b4f95","head":{"label":"knowledgepoint-devs:postrevision_is_minor","ref":"postrevision_is_minor","sha":"2596e9930359bc83ba2933c417c87373851b4f95","user":{"login":"knowledgepoint-devs","id":6773124,"avatar_url":"https://avatars.githubusercontent.com/u/6773124?v=3","gravatar_id":"","url":"https://api.github.com/users/knowledgepoint-devs","html_url":"https://github.com/knowledgepoint-devs","followers_url":"https://api.github.com/users/knowledgepoint-devs/followers","following_url":"https://api.github.com/users/knowledgepoint-devs/following{/other_user}","gists_url":"https://api.github.com/users/knowledgepoint-devs/gists{/gist_id}","starred_url":"https://api.github.com/users/knowledgepoint-devs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knowledgepoint-devs/subscriptions","organizations_url":"https://api.github.com/users/knowledgepoint-devs/orgs","repos_url":"https://api.github.com/users/knowledgepoint-devs/repos","events_url":"https://api.github.com/users/knowledgepoint-devs/events{/privacy}","received_events_url":"https://api.github.com/users/knowledgepoint-devs/received_events","type":"User","site_admin":false},"repo":{"id":17141848,"name":"askbot-devel","full_name":"knowledgepoint-devs/askbot-devel","owner":{"login":"knowledgepoint-devs","id":6773124,"avatar_url":"https://avatars.githubusercontent.com/u/6773124?v=3","gravatar_id":"","url":"https://api.github.com/users/knowledgepoint-devs","html_url":"https://github.com/knowledgepoint-devs","followers_url":"https://api.github.com/users/knowledgepoint-devs/followers","following_url":"https://api.github.com/users/knowledgepoint-devs/following{/other_user}","gists_url":"https://api.github.com/users/knowledgepoint-devs/gists{/gist_id}","starred_url":"https://api.github.com/users/knowledgepoint-devs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knowledgepoint-devs/subscriptions","organizations_url":"https://api.github.com/users/knowledgepoint-devs/orgs","repos_url":"https://api.github.com/users/knowledgepoint-devs/repos","events_url":"https://api.github.com/users/knowledgepoint-devs/events{/privacy}","received_events_url":"https://api.github.com/users/knowledgepoint-devs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/knowledgepoint-devs/askbot-devel","description":"ASKBOT is a Q&A forum, written in Django/Python and Javascript. **TRANSLATORS**: please note that the translation environment is available at Transifex","fork":true,"url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel","forks_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/forks","keys_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/teams","hooks_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/hooks","issue_events_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/issues/events{/number}","events_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/events","assignees_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/assignees{/user}","branches_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/branches{/branch}","tags_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/tags","blobs_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/git/refs{/sha}","trees_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/statuses/{sha}","languages_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/languages","stargazers_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/stargazers","contributors_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/contributors","subscribers_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/subscribers","subscription_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/subscription","commits_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/commits{/sha}","git_commits_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/git/commits{/sha}","comments_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/comments{/number}","issue_comment_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/issues/comments{/number}","contents_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/contents/{+path}","compare_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/merges","archive_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/downloads","issues_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/issues{/number}","pulls_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/pulls{/number}","milestones_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/milestones{/number}","notifications_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/labels{/name}","releases_url":"https://api.github.com/repos/knowledgepoint-devs/askbot-devel/releases{/id}","created_at":"2014-02-24T16:10:28Z","updated_at":"2014-06-19T16:27:50Z","pushed_at":"2015-08-27T16:45:11Z","git_url":"git://github.com/knowledgepoint-devs/askbot-devel.git","ssh_url":"git@github.com:knowledgepoint-devs/askbot-devel.git","clone_url":"https://github.com/knowledgepoint-devs/askbot-devel.git","svn_url":"https://github.com/knowledgepoint-devs/askbot-devel","homepage":"http://askbot.com","size":47933,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ASKBOT:merge1","ref":"merge1","sha":"bae1f6e74d24eedbaabaabf67c259691c61f638b","user":{"login":"ASKBOT","id":227078,"avatar_url":"https://avatars.githubusercontent.com/u/227078?v=3","gravatar_id":"","url":"https://api.github.com/users/ASKBOT","html_url":"https://github.com/ASKBOT","followers_url":"https://api.github.com/users/ASKBOT/followers","following_url":"https://api.github.com/users/ASKBOT/following{/other_user}","gists_url":"https://api.github.com/users/ASKBOT/gists{/gist_id}","starred_url":"https://api.github.com/users/ASKBOT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ASKBOT/subscriptions","organizations_url":"https://api.github.com/users/ASKBOT/orgs","repos_url":"https://api.github.com/users/ASKBOT/repos","events_url":"https://api.github.com/users/ASKBOT/events{/privacy}","received_events_url":"https://api.github.com/users/ASKBOT/received_events","type":"Organization","site_admin":false},"repo":{"id":579738,"name":"askbot-devel","full_name":"ASKBOT/askbot-devel","owner":{"login":"ASKBOT","id":227078,"avatar_url":"https://avatars.githubusercontent.com/u/227078?v=3","gravatar_id":"","url":"https://api.github.com/users/ASKBOT","html_url":"https://github.com/ASKBOT","followers_url":"https://api.github.com/users/ASKBOT/followers","following_url":"https://api.github.com/users/ASKBOT/following{/other_user}","gists_url":"https://api.github.com/users/ASKBOT/gists{/gist_id}","starred_url":"https://api.github.com/users/ASKBOT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ASKBOT/subscriptions","organizations_url":"https://api.github.com/users/ASKBOT/orgs","repos_url":"https://api.github.com/users/ASKBOT/repos","events_url":"https://api.github.com/users/ASKBOT/events{/privacy}","received_events_url":"https://api.github.com/users/ASKBOT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ASKBOT/askbot-devel","description":"ASKBOT is a Q&A forum, written in Django/Python and Javascript. **TRANSLATORS**: the translation environment is at https://www.transifex.com/projects/p/askbot/","fork":true,"url":"https://api.github.com/repos/ASKBOT/askbot-devel","forks_url":"https://api.github.com/repos/ASKBOT/askbot-devel/forks","keys_url":"https://api.github.com/repos/ASKBOT/askbot-devel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ASKBOT/askbot-devel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ASKBOT/askbot-devel/teams","hooks_url":"https://api.github.com/repos/ASKBOT/askbot-devel/hooks","issue_events_url":"https://api.github.com/repos/ASKBOT/askbot-devel/issues/events{/number}","events_url":"https://api.github.com/repos/ASKBOT/askbot-devel/events","assignees_url":"https://api.github.com/repos/ASKBOT/askbot-devel/assignees{/user}","branches_url":"https://api.github.com/repos/ASKBOT/askbot-devel/branches{/branch}","tags_url":"https://api.github.com/repos/ASKBOT/askbot-devel/tags","blobs_url":"https://api.github.com/repos/ASKBOT/askbot-devel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ASKBOT/askbot-devel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ASKBOT/askbot-devel/git/refs{/sha}","trees_url":"https://api.github.com/repos/ASKBOT/askbot-devel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ASKBOT/askbot-devel/statuses/{sha}","languages_url":"https://api.github.com/repos/ASKBOT/askbot-devel/languages","stargazers_url":"https://api.github.com/repos/ASKBOT/askbot-devel/stargazers","contributors_url":"https://api.github.com/repos/ASKBOT/askbot-devel/contributors","subscribers_url":"https://api.github.com/repos/ASKBOT/askbot-devel/subscribers","subscription_url":"https://api.github.com/repos/ASKBOT/askbot-devel/subscription","commits_url":"https://api.github.com/repos/ASKBOT/askbot-devel/commits{/sha}","git_commits_url":"https://api.github.com/repos/ASKBOT/askbot-devel/git/commits{/sha}","comments_url":"https://api.github.com/repos/ASKBOT/askbot-devel/comments{/number}","issue_comment_url":"https://api.github.com/repos/ASKBOT/askbot-devel/issues/comments{/number}","contents_url":"https://api.github.com/repos/ASKBOT/askbot-devel/contents/{+path}","compare_url":"https://api.github.com/repos/ASKBOT/askbot-devel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ASKBOT/askbot-devel/merges","archive_url":"https://api.github.com/repos/ASKBOT/askbot-devel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ASKBOT/askbot-devel/downloads","issues_url":"https://api.github.com/repos/ASKBOT/askbot-devel/issues{/number}","pulls_url":"https://api.github.com/repos/ASKBOT/askbot-devel/pulls{/number}","milestones_url":"https://api.github.com/repos/ASKBOT/askbot-devel/milestones{/number}","notifications_url":"https://api.github.com/repos/ASKBOT/askbot-devel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ASKBOT/askbot-devel/labels{/name}","releases_url":"https://api.github.com/repos/ASKBOT/askbot-devel/releases{/id}","created_at":"2010-03-25T21:37:27Z","updated_at":"2015-08-26T18:33:55Z","pushed_at":"2015-08-27T16:51:50Z","git_url":"git://github.com/ASKBOT/askbot-devel.git","ssh_url":"git@github.com:ASKBOT/askbot-devel.git","clone_url":"https://github.com/ASKBOT/askbot-devel.git","svn_url":"https://github.com/ASKBOT/askbot-devel","homepage":"http://askbot.com","size":84264,"stargazers_count":946,"watchers_count":946,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":401,"mirror_url":null,"open_issues_count":64,"forks":401,"open_issues":64,"watchers":946,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ASKBOT/askbot-devel/pulls/504"},"html":{"href":"https://github.com/ASKBOT/askbot-devel/pull/504"},"issue":{"href":"https://api.github.com/repos/ASKBOT/askbot-devel/issues/504"},"comments":{"href":"https://api.github.com/repos/ASKBOT/askbot-devel/issues/504/comments"},"review_comments":{"href":"https://api.github.com/repos/ASKBOT/askbot-devel/pulls/504/comments"},"review_comment":{"href":"https://api.github.com/repos/ASKBOT/askbot-devel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ASKBOT/askbot-devel/pulls/504/commits"},"statuses":{"href":"https://api.github.com/repos/ASKBOT/askbot-devel/statuses/2596e9930359bc83ba2933c417c87373851b4f95"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":497,"deletions":7,"changed_files":4}}