{"action":"opened","number":71,"pull_request":{"url":"https://api.github.com/repos/fedora-infra/the-new-hotness/pulls/71","id":46011484,"html_url":"https://github.com/fedora-infra/the-new-hotness/pull/71","diff_url":"https://github.com/fedora-infra/the-new-hotness/pull/71.diff","patch_url":"https://github.com/fedora-infra/the-new-hotness/pull/71.patch","issue_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/issues/71","number":71,"state":"open","locked":false,"title":"Be a little more aggressive with real build comments.","user":{"login":"ralphbean","id":331338,"avatar_url":"https://avatars.githubusercontent.com/u/331338?v=3","gravatar_id":"","url":"https://api.github.com/users/ralphbean","html_url":"https://github.com/ralphbean","followers_url":"https://api.github.com/users/ralphbean/followers","following_url":"https://api.github.com/users/ralphbean/following{/other_user}","gists_url":"https://api.github.com/users/ralphbean/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphbean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphbean/subscriptions","organizations_url":"https://api.github.com/users/ralphbean/orgs","repos_url":"https://api.github.com/users/ralphbean/repos","events_url":"https://api.github.com/users/ralphbean/events{/privacy}","received_events_url":"https://api.github.com/users/ralphbean/received_events","type":"User","site_admin":false},"body":"In the 0.6.0 release, we added some functionality that was meant to\nreduce spam from the-new-hotness.  It would check the last posted\ncomment on a ticket it was about to comment on, and if the last\ncommenter was the-new-hotness, and if it was a build comment, but it\nwould just abort and not post another one.  This was meant to avoid\nsituations where someone is doing scratch builds of a package over and\nover again, and hotness just sits there spamming their tickets.\n\nThere's an unanticipated scenario though:\n\n- [x] anitya notices a new upstream\n- [x] hotness files the bug\n- [x] hotness kicks off a scratch build\n- [x] the scratch build finishes and hotness comments on the bug (correctly)\n- [x] a user then does a real build\n- [ ] hotness goes to add a comment about the real build **but the last\n  commenter was the hotness, commenting about a build**, so it does\n  nothing.\n\nWe want that last comment to actually go through, but the current code\nmakes it abort.\n\nThe commit in this pull request changes it so that it won't make the\nlast comment *only if* the preceding comment was about the same kind of\nbuild by the same person.  So hotness's scratch build will get a\ncomment, and the user's real build will also get a comment.\n\n(Note that subsequent *scratch* builds will still *not* pile up on the\nticket, which is a good thing.  Those are checked via a different code\npath.)","created_at":"2015-09-25T13:28:03Z","updated_at":"2015-09-25T13:28:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ebf914dd41196af8caaa05af492e7e65a5ecab1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/pulls/71/commits","review_comments_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/pulls/71/comments","review_comment_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/issues/71/comments","statuses_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/statuses/6c41c05cbe0c4368e11c26c78937ff53f13d15d2","head":{"label":"fedora-infra:feature/more-than-that","ref":"feature/more-than-that","sha":"6c41c05cbe0c4368e11c26c78937ff53f13d15d2","user":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"repo":{"id":24946152,"name":"the-new-hotness","full_name":"fedora-infra/the-new-hotness","owner":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fedora-infra/the-new-hotness","description":"A fedmsg consumer that files bugzilla bugs for upstream releases","fork":false,"url":"https://api.github.com/repos/fedora-infra/the-new-hotness","forks_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/forks","keys_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/teams","hooks_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/hooks","issue_events_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/issues/events{/number}","events_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/events","assignees_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/assignees{/user}","branches_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/branches{/branch}","tags_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/tags","blobs_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/git/refs{/sha}","trees_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/statuses/{sha}","languages_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/languages","stargazers_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/stargazers","contributors_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/contributors","subscribers_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/subscribers","subscription_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/subscription","commits_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/commits{/sha}","git_commits_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/git/commits{/sha}","comments_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/comments{/number}","issue_comment_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/issues/comments{/number}","contents_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/contents/{+path}","compare_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/merges","archive_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/downloads","issues_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/issues{/number}","pulls_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/pulls{/number}","milestones_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/milestones{/number}","notifications_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/labels{/name}","releases_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/releases{/id}","created_at":"2014-10-08T15:07:03Z","updated_at":"2015-04-07T15:04:16Z","pushed_at":"2015-09-25T13:28:03Z","git_url":"git://github.com/fedora-infra/the-new-hotness.git","ssh_url":"git@github.com:fedora-infra/the-new-hotness.git","clone_url":"https://github.com/fedora-infra/the-new-hotness.git","svn_url":"https://github.com/fedora-infra/the-new-hotness","homepage":"http://release-monitoring.org","size":627,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":5,"default_branch":"develop"}},"base":{"label":"fedora-infra:develop","ref":"develop","sha":"6d062dcc015c7d2849253e111de96d8e26c0b461","user":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"repo":{"id":24946152,"name":"the-new-hotness","full_name":"fedora-infra/the-new-hotness","owner":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fedora-infra/the-new-hotness","description":"A fedmsg consumer that files bugzilla bugs for upstream releases","fork":false,"url":"https://api.github.com/repos/fedora-infra/the-new-hotness","forks_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/forks","keys_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/teams","hooks_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/hooks","issue_events_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/issues/events{/number}","events_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/events","assignees_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/assignees{/user}","branches_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/branches{/branch}","tags_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/tags","blobs_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/git/refs{/sha}","trees_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/statuses/{sha}","languages_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/languages","stargazers_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/stargazers","contributors_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/contributors","subscribers_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/subscribers","subscription_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/subscription","commits_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/commits{/sha}","git_commits_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/git/commits{/sha}","comments_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/comments{/number}","issue_comment_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/issues/comments{/number}","contents_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/contents/{+path}","compare_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/merges","archive_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/downloads","issues_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/issues{/number}","pulls_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/pulls{/number}","milestones_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/milestones{/number}","notifications_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/labels{/name}","releases_url":"https://api.github.com/repos/fedora-infra/the-new-hotness/releases{/id}","created_at":"2014-10-08T15:07:03Z","updated_at":"2015-04-07T15:04:16Z","pushed_at":"2015-09-25T13:28:03Z","git_url":"git://github.com/fedora-infra/the-new-hotness.git","ssh_url":"git@github.com:fedora-infra/the-new-hotness.git","clone_url":"https://github.com/fedora-infra/the-new-hotness.git","svn_url":"https://github.com/fedora-infra/the-new-hotness","homepage":"http://release-monitoring.org","size":627,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":5,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/fedora-infra/the-new-hotness/pulls/71"},"html":{"href":"https://github.com/fedora-infra/the-new-hotness/pull/71"},"issue":{"href":"https://api.github.com/repos/fedora-infra/the-new-hotness/issues/71"},"comments":{"href":"https://api.github.com/repos/fedora-infra/the-new-hotness/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/fedora-infra/the-new-hotness/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/fedora-infra/the-new-hotness/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fedora-infra/the-new-hotness/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/fedora-infra/the-new-hotness/statuses/6c41c05cbe0c4368e11c26c78937ff53f13d15d2"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}