{"action":"opened","number":1400,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman-packaging/pulls/1400","id":91601749,"html_url":"https://github.com/theforeman/foreman-packaging/pull/1400","diff_url":"https://github.com/theforeman/foreman-packaging/pull/1400.diff","patch_url":"https://github.com/theforeman/foreman-packaging/pull/1400.patch","issue_url":"https://api.github.com/repos/theforeman/foreman-packaging/issues/1400","number":1400,"state":"open","locked":false,"title":"fixes #17134 - fix release bump upgrade to keep gem installed [rpm]","user":{"login":"domcleal","id":482089,"avatar_url":"https://avatars.githubusercontent.com/u/482089?v=3","gravatar_id":"","url":"https://api.github.com/users/domcleal","html_url":"https://github.com/domcleal","followers_url":"https://api.github.com/users/domcleal/followers","following_url":"https://api.github.com/users/domcleal/following{/other_user}","gists_url":"https://api.github.com/users/domcleal/gists{/gist_id}","starred_url":"https://api.github.com/users/domcleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domcleal/subscriptions","organizations_url":"https://api.github.com/users/domcleal/orgs","repos_url":"https://api.github.com/users/domcleal/repos","events_url":"https://api.github.com/users/domcleal/events{/privacy}","received_events_url":"https://api.github.com/users/domcleal/received_events","type":"User","site_admin":false},"body":"The package preun ran after the post scriptlet, which when the release\r\nand _not_ version was updated, caused the gem to be uninstalled as both\r\nthe old and new packages managed the same version.\r\n\r\nThe gem is now only uninstalled in preun if there are multiple versions\r\ninstalled (i.e. a second version from the new package). A workaround was\r\nadded for the current version 0.5.1 to restore the gem on upgrade.\r\n\r\n---\r\n\r\nTest EL7 builds:\r\n\r\n1. http://yum.theforeman.org/releases/1.13/el7/x86_64/puppet-agent-oauth-0.5.1-1.el7.noarch.rpm\r\n1. http://yum.theforeman.org/releases/1.13/el7/x86_64/puppet-agent-oauth-0.5.1-2.el7.noarch.rpm\r\n1. http://koji.katello.org/koji/taskinfo?taskID=556745 (this PR)\r\n1. http://koji.katello.org/koji/taskinfo?taskID=556751 (rebuild with release bump for additional test)","created_at":"2016-10-31T12:35:06Z","updated_at":"2016-10-31T12:35:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d0c72e0e5cc3f0463d0d18709a35b10b03b32a3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman-packaging/pulls/1400/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman-packaging/pulls/1400/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman-packaging/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman-packaging/issues/1400/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman-packaging/statuses/82c7ae2afed91f660f5698ff5a19e3e68ba23c30","head":{"label":"domcleal:rpm/develop-17134-puppet-agent-oauth-upgrade","ref":"rpm/develop-17134-puppet-agent-oauth-upgrade","sha":"82c7ae2afed91f660f5698ff5a19e3e68ba23c30","user":{"login":"domcleal","id":482089,"avatar_url":"https://avatars.githubusercontent.com/u/482089?v=3","gravatar_id":"","url":"https://api.github.com/users/domcleal","html_url":"https://github.com/domcleal","followers_url":"https://api.github.com/users/domcleal/followers","following_url":"https://api.github.com/users/domcleal/following{/other_user}","gists_url":"https://api.github.com/users/domcleal/gists{/gist_id}","starred_url":"https://api.github.com/users/domcleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domcleal/subscriptions","organizations_url":"https://api.github.com/users/domcleal/orgs","repos_url":"https://api.github.com/users/domcleal/repos","events_url":"https://api.github.com/users/domcleal/events{/privacy}","received_events_url":"https://api.github.com/users/domcleal/received_events","type":"User","site_admin":false},"repo":{"id":6614082,"name":"foreman-packaging","full_name":"domcleal/foreman-packaging","owner":{"login":"domcleal","id":482089,"avatar_url":"https://avatars.githubusercontent.com/u/482089?v=3","gravatar_id":"","url":"https://api.github.com/users/domcleal","html_url":"https://github.com/domcleal","followers_url":"https://api.github.com/users/domcleal/followers","following_url":"https://api.github.com/users/domcleal/following{/other_user}","gists_url":"https://api.github.com/users/domcleal/gists{/gist_id}","starred_url":"https://api.github.com/users/domcleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domcleal/subscriptions","organizations_url":"https://api.github.com/users/domcleal/orgs","repos_url":"https://api.github.com/users/domcleal/repos","events_url":"https://api.github.com/users/domcleal/events{/privacy}","received_events_url":"https://api.github.com/users/domcleal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/domcleal/foreman-packaging","description":null,"fork":true,"url":"https://api.github.com/repos/domcleal/foreman-packaging","forks_url":"https://api.github.com/repos/domcleal/foreman-packaging/forks","keys_url":"https://api.github.com/repos/domcleal/foreman-packaging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/domcleal/foreman-packaging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/domcleal/foreman-packaging/teams","hooks_url":"https://api.github.com/repos/domcleal/foreman-packaging/hooks","issue_events_url":"https://api.github.com/repos/domcleal/foreman-packaging/issues/events{/number}","events_url":"https://api.github.com/repos/domcleal/foreman-packaging/events","assignees_url":"https://api.github.com/repos/domcleal/foreman-packaging/assignees{/user}","branches_url":"https://api.github.com/repos/domcleal/foreman-packaging/branches{/branch}","tags_url":"https://api.github.com/repos/domcleal/foreman-packaging/tags","blobs_url":"https://api.github.com/repos/domcleal/foreman-packaging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/domcleal/foreman-packaging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/domcleal/foreman-packaging/git/refs{/sha}","trees_url":"https://api.github.com/repos/domcleal/foreman-packaging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/domcleal/foreman-packaging/statuses/{sha}","languages_url":"https://api.github.com/repos/domcleal/foreman-packaging/languages","stargazers_url":"https://api.github.com/repos/domcleal/foreman-packaging/stargazers","contributors_url":"https://api.github.com/repos/domcleal/foreman-packaging/contributors","subscribers_url":"https://api.github.com/repos/domcleal/foreman-packaging/subscribers","subscription_url":"https://api.github.com/repos/domcleal/foreman-packaging/subscription","commits_url":"https://api.github.com/repos/domcleal/foreman-packaging/commits{/sha}","git_commits_url":"https://api.github.com/repos/domcleal/foreman-packaging/git/commits{/sha}","comments_url":"https://api.github.com/repos/domcleal/foreman-packaging/comments{/number}","issue_comment_url":"https://api.github.com/repos/domcleal/foreman-packaging/issues/comments{/number}","contents_url":"https://api.github.com/repos/domcleal/foreman-packaging/contents/{+path}","compare_url":"https://api.github.com/repos/domcleal/foreman-packaging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/domcleal/foreman-packaging/merges","archive_url":"https://api.github.com/repos/domcleal/foreman-packaging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/domcleal/foreman-packaging/downloads","issues_url":"https://api.github.com/repos/domcleal/foreman-packaging/issues{/number}","pulls_url":"https://api.github.com/repos/domcleal/foreman-packaging/pulls{/number}","milestones_url":"https://api.github.com/repos/domcleal/foreman-packaging/milestones{/number}","notifications_url":"https://api.github.com/repos/domcleal/foreman-packaging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/domcleal/foreman-packaging/labels{/name}","releases_url":"https://api.github.com/repos/domcleal/foreman-packaging/releases{/id}","deployments_url":"https://api.github.com/repos/domcleal/foreman-packaging/deployments","created_at":"2012-11-09T13:51:29Z","updated_at":"2014-06-24T15:16:29Z","pushed_at":"2016-10-31T12:17:41Z","git_url":"git://github.com/domcleal/foreman-packaging.git","ssh_url":"git@github.com:domcleal/foreman-packaging.git","clone_url":"https://github.com/domcleal/foreman-packaging.git","svn_url":"https://github.com/domcleal/foreman-packaging","homepage":null,"size":16501,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"theforeman:rpm/develop","ref":"rpm/develop","sha":"361814797c54050808c661ef20a5ded8213cc00d","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":4663237,"name":"foreman-packaging","full_name":"theforeman/foreman-packaging","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/foreman-packaging","description":"Packaging files (RPMs, debs) for Foreman and its dependencies","fork":false,"url":"https://api.github.com/repos/theforeman/foreman-packaging","forks_url":"https://api.github.com/repos/theforeman/foreman-packaging/forks","keys_url":"https://api.github.com/repos/theforeman/foreman-packaging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman-packaging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman-packaging/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman-packaging/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman-packaging/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman-packaging/events","assignees_url":"https://api.github.com/repos/theforeman/foreman-packaging/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman-packaging/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman-packaging/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman-packaging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman-packaging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman-packaging/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman-packaging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman-packaging/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman-packaging/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman-packaging/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman-packaging/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman-packaging/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman-packaging/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman-packaging/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman-packaging/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman-packaging/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman-packaging/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman-packaging/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman-packaging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman-packaging/merges","archive_url":"https://api.github.com/repos/theforeman/foreman-packaging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman-packaging/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman-packaging/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman-packaging/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman-packaging/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman-packaging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman-packaging/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman-packaging/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/foreman-packaging/deployments","created_at":"2012-06-14T13:01:07Z","updated_at":"2016-09-11T12:46:31Z","pushed_at":"2016-10-31T12:35:06Z","git_url":"git://github.com/theforeman/foreman-packaging.git","ssh_url":"git@github.com:theforeman/foreman-packaging.git","clone_url":"https://github.com/theforeman/foreman-packaging.git","svn_url":"https://github.com/theforeman/foreman-packaging","homepage":"","size":25158,"stargazers_count":17,"watchers_count":17,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":11,"forks":67,"open_issues":11,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman-packaging/pulls/1400"},"html":{"href":"https://github.com/theforeman/foreman-packaging/pull/1400"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman-packaging/issues/1400"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman-packaging/issues/1400/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman-packaging/pulls/1400/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman-packaging/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman-packaging/pulls/1400/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman-packaging/statuses/82c7ae2afed91f660f5698ff5a19e3e68ba23c30"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"domcleal"}}