{"action":"created","issue":{"url":"https://api.github.com/repos/fedora-infra/bodhi/issues/490","labels_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/490/labels{/name}","comments_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/490/comments","events_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/490/events","html_url":"https://github.com/fedora-infra/bodhi/pull/490","id":105059302,"number":490,"title":"Unpush builds when they are removed from an update","user":{"login":"lmacken","id":9980,"avatar_url":"https://avatars.githubusercontent.com/u/9980?v=3","gravatar_id":"","url":"https://api.github.com/users/lmacken","html_url":"https://github.com/lmacken","followers_url":"https://api.github.com/users/lmacken/followers","following_url":"https://api.github.com/users/lmacken/following{/other_user}","gists_url":"https://api.github.com/users/lmacken/gists{/gist_id}","starred_url":"https://api.github.com/users/lmacken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmacken/subscriptions","organizations_url":"https://api.github.com/users/lmacken/orgs","repos_url":"https://api.github.com/users/lmacken/repos","events_url":"https://api.github.com/users/lmacken/events{/privacy}","received_events_url":"https://api.github.com/users/lmacken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-06T00:39:56Z","updated_at":"2015-09-06T00:46:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fedora-infra/bodhi/pulls/490","html_url":"https://github.com/fedora-infra/bodhi/pull/490","diff_url":"https://github.com/fedora-infra/bodhi/pull/490.diff","patch_url":"https://github.com/fedora-infra/bodhi/pull/490.patch"},"body":"... as opposed to removing all tags.\r\n\r\nThis will hopefully work around the following issue we just hit in production:\r\n\r\n```\r\n2015-09-06 00:12:05,405 INFO  [bodhi][MainThread] Removing f23-updates-candidate tag from grub2-2.02-0.23.fc23\r\n2015-09-06 00:12:05,526 ERROR [bodhi][MainThread] Failed to create update\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/bodhi/services/updates.py\", line 347, in new_update\r\n    result, _caveats = Update.edit(request, data)\r\n  File \"/usr/lib/python2.7/site-packages/bodhi/models/models.py\", line 750, in edit\r\n    b.untag(koji=request.koji)\r\n  File \"/usr/lib/python2.7/site-packages/bodhi/models/models.py\", line 555, in untag\r\n    koji.untagBuild(tag, self.nvr)\r\n  File \"/usr/lib/python2.7/site-packages/koji/__init__.py\", line 1556, in __call__\r\n    return self.__func(self.__name,args,opts)\r\n  File \"/usr/lib/python2.7/site-packages/koji/__init__.py\", line 1918, in _callMethod\r\n    raise err\r\nActionNotAllowed: policy violation (tag)\r\n```"},"comment":{"url":"https://api.github.com/repos/fedora-infra/bodhi/issues/comments/138015513","html_url":"https://github.com/fedora-infra/bodhi/pull/490#issuecomment-138015513","issue_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/490","id":138015513,"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},"created_at":"2015-09-06T00:46:52Z","updated_at":"2015-09-06T00:46:52Z","body":":+1:"}}