payload: {"action":"opened","number":102,"pull_request":{"url":"https://api.github.com/repos/Katello/katello-host-tools/pulls/102","id":308268868,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA4MjY4ODY4","html_url":"https://github.com/Katello/katello-host-tools/pull/102","diff_url":"https://github.com/Katello/katello-host-tools/pull/102.diff","patch_url":"https://github.com/Katello/katello-host-tools/pull/102.patch","issue_url":"https://api.github.com/repos/Katello/katello-host-tools/issues/102","number":102,"state":"open","locked":false,"title":"Fixes #27650 - Handles combined profile uploads","user":{"login":"parthaa","id":1069779,"node_id":"MDQ6VXNlcjEwNjk3Nzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1069779?v=4","gravatar_id":"","url":"https://api.github.com/users/parthaa","html_url":"https://github.com/parthaa","followers_url":"https://api.github.com/users/parthaa/followers","following_url":"https://api.github.com/users/parthaa/following{/other_user}","gists_url":"https://api.github.com/users/parthaa/gists{/gist_id}","starred_url":"https://api.github.com/users/parthaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parthaa/subscriptions","organizations_url":"https://api.github.com/users/parthaa/orgs","repos_url":"https://api.github.com/users/parthaa/repos","events_url":"https://api.github.com/users/parthaa/events{/privacy}","received_events_url":"https://api.github.com/users/parthaa/received_events","type":"User","site_admin":false},"body":"Subscription Manager 1.23-2 and above have the ability to generate a\r\nprofile.json that combines package profile, enabled repositories profile\r\nand modulemd profiles. Katello Host tools at present is unable to take\r\nadvantage of this facility. So 2 sets of reports related to enabled\r\nrepositories are sent to the server.\r\nThis commit does the following\r\n1) Removes the package_profile_on_trans check and instead always defers\r\nto subscription manager to handle it\r\n2) Checks if combined profiles feature is enabled by checking if\r\nrhsm.profile.EnabledRepos is available.\r\n3) If Combined profiles are available then defers the enabled repos\r\nupload to subscription manager as well\r\n4) Makes the remove_cache rm the profile.json instead of whereever the\r\ncache was before. This remove_cache is used in the \"force\" calls.\r\nkatello-package-upload -f and katello-enabled-repos-upload -f\r\noperations.\r\n\r\nSubscription manager sends information to the server only if the cache\r\nchanges and hence unnecessary calls to the server are avoided.","created_at":"2019-08-17T05:38:21Z","updated_at":"2019-08-17T05:38:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Katello/katello-host-tools/pulls/102/commits","review_comments_url":"https://api.github.com/repos/Katello/katello-host-tools/pulls/102/comments","review_comment_url":"https://api.github.com/repos/Katello/katello-host-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Katello/katello-host-tools/issues/102/comments","statuses_url":"https://api.github.com/repos/Katello/katello-host-tools/statuses/85550fac6d9560c74441146dbc6959321b2c0ca1","head":{"label":"parthaa:my-changes","ref":"my-changes","sha":"85550fac6d9560c74441146dbc6959321b2c0ca1","user":{"login":"parthaa","id":1069779,"node_id":"MDQ6VXNlcjEwNjk3Nzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1069779?v=4","gravatar_id":"","url":"https://api.github.com/users/parthaa","html_url":"https://github.com/parthaa","followers_url":"https://api.github.com/users/parthaa/followers","following_url":"https://api.github.com/users/parthaa/following{/other_user}","gists_url":"https://api.github.com/users/parthaa/gists{/gist_id}","starred_url":"https://api.github.com/users/parthaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parthaa/subscriptions","organizations_url":"https://api.github.com/users/parthaa/orgs","repos_url":"https://api.github.com/users/parthaa/repos","events_url":"https://api.github.com/users/parthaa/events{/privacy}","received_events_url":"https://api.github.com/users/parthaa/received_events","type":"User","site_admin":false},"repo":{"id":125141111,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUxNDExMTE=","name":"katello-host-tools","full_name":"parthaa/katello-host-tools","private":false,"owner":{"login":"parthaa","id":1069779,"node_id":"MDQ6VXNlcjEwNjk3Nzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1069779?v=4","gravatar_id":"","url":"https://api.github.com/users/parthaa","html_url":"https://github.com/parthaa","followers_url":"https://api.github.com/users/parthaa/followers","following_url":"https://api.github.com/users/parthaa/following{/other_user}","gists_url":"https://api.github.com/users/parthaa/gists{/gist_id}","starred_url":"https://api.github.com/users/parthaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parthaa/subscriptions","organizations_url":"https://api.github.com/users/parthaa/orgs","repos_url":"https://api.github.com/users/parthaa/repos","events_url":"https://api.github.com/users/parthaa/events{/privacy}","received_events_url":"https://api.github.com/users/parthaa/received_events","type":"User","site_admin":false},"html_url":"https://github.com/parthaa/katello-host-tools","description":"Client side agent for package actions from katello ","fork":true,"url":"https://api.github.com/repos/parthaa/katello-host-tools","forks_url":"https://api.github.com/repos/parthaa/katello-host-tools/forks","keys_url":"https://api.github.com/repos/parthaa/katello-host-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parthaa/katello-host-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parthaa/katello-host-tools/teams","hooks_url":"https://api.github.com/repos/parthaa/katello-host-tools/hooks","issue_events_url":"https://api.github.com/repos/parthaa/katello-host-tools/issues/events{/number}","events_url":"https://api.github.com/repos/parthaa/katello-host-tools/events","assignees_url":"https://api.github.com/repos/parthaa/katello-host-tools/assignees{/user}","branches_url":"https://api.github.com/repos/parthaa/katello-host-tools/branches{/branch}","tags_url":"https://api.github.com/repos/parthaa/katello-host-tools/tags","blobs_url":"https://api.github.com/repos/parthaa/katello-host-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parthaa/katello-host-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parthaa/katello-host-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/parthaa/katello-host-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parthaa/katello-host-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/parthaa/katello-host-tools/languages","stargazers_url":"https://api.github.com/repos/parthaa/katello-host-tools/stargazers","contributors_url":"https://api.github.com/repos/parthaa/katello-host-tools/contributors","subscribers_url":"https://api.github.com/repos/parthaa/katello-host-tools/subscribers","subscription_url":"https://api.github.com/repos/parthaa/katello-host-tools/subscription","commits_url":"https://api.github.com/repos/parthaa/katello-host-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/parthaa/katello-host-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/parthaa/katello-host-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/parthaa/katello-host-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/parthaa/katello-host-tools/contents/{+path}","compare_url":"https://api.github.com/repos/parthaa/katello-host-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parthaa/katello-host-tools/merges","archive_url":"https://api.github.com/repos/parthaa/katello-host-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parthaa/katello-host-tools/downloads","issues_url":"https://api.github.com/repos/parthaa/katello-host-tools/issues{/number}","pulls_url":"https://api.github.com/repos/parthaa/katello-host-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/parthaa/katello-host-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/parthaa/katello-host-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parthaa/katello-host-tools/labels{/name}","releases_url":"https://api.github.com/repos/parthaa/katello-host-tools/releases{/id}","deployments_url":"https://api.github.com/repos/parthaa/katello-host-tools/deployments","created_at":"2018-03-14T02:07:18Z","updated_at":"2018-03-14T02:07:21Z","pushed_at":"2019-08-17T05:37:59Z","git_url":"git://github.com/parthaa/katello-host-tools.git","ssh_url":"git@github.com:parthaa/katello-host-tools.git","clone_url":"https://github.com/parthaa/katello-host-tools.git","svn_url":"https://github.com/parthaa/katello-host-tools","homepage":"","size":39783,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Katello:master","ref":"master","sha":"0106d5667bebe3bef98a935a4675db59193ceb15","user":{"login":"Katello","id":1316386,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTYzODY=","avatar_url":"https://avatars0.githubusercontent.com/u/1316386?v=4","gravatar_id":"","url":"https://api.github.com/users/Katello","html_url":"https://github.com/Katello","followers_url":"https://api.github.com/users/Katello/followers","following_url":"https://api.github.com/users/Katello/following{/other_user}","gists_url":"https://api.github.com/users/Katello/gists{/gist_id}","starred_url":"https://api.github.com/users/Katello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katello/subscriptions","organizations_url":"https://api.github.com/users/Katello/orgs","repos_url":"https://api.github.com/users/Katello/repos","events_url":"https://api.github.com/users/Katello/events{/privacy}","received_events_url":"https://api.github.com/users/Katello/received_events","type":"Organization","site_admin":false},"repo":{"id":9718921,"node_id":"MDEwOlJlcG9zaXRvcnk5NzE4OTIx","name":"katello-host-tools","full_name":"Katello/katello-host-tools","private":false,"owner":{"login":"Katello","id":1316386,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTYzODY=","avatar_url":"https://avatars0.githubusercontent.com/u/1316386?v=4","gravatar_id":"","url":"https://api.github.com/users/Katello","html_url":"https://github.com/Katello","followers_url":"https://api.github.com/users/Katello/followers","following_url":"https://api.github.com/users/Katello/following{/other_user}","gists_url":"https://api.github.com/users/Katello/gists{/gist_id}","starred_url":"https://api.github.com/users/Katello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katello/subscriptions","organizations_url":"https://api.github.com/users/Katello/orgs","repos_url":"https://api.github.com/users/Katello/repos","events_url":"https://api.github.com/users/Katello/events{/privacy}","received_events_url":"https://api.github.com/users/Katello/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Katello/katello-host-tools","description":"Client side agent for package actions from katello ","fork":false,"url":"https://api.github.com/repos/Katello/katello-host-tools","forks_url":"https://api.github.com/repos/Katello/katello-host-tools/forks","keys_url":"https://api.github.com/repos/Katello/katello-host-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Katello/katello-host-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Katello/katello-host-tools/teams","hooks_url":"https://api.github.com/repos/Katello/katello-host-tools/hooks","issue_events_url":"https://api.github.com/repos/Katello/katello-host-tools/issues/events{/number}","events_url":"https://api.github.com/repos/Katello/katello-host-tools/events","assignees_url":"https://api.github.com/repos/Katello/katello-host-tools/assignees{/user}","branches_url":"https://api.github.com/repos/Katello/katello-host-tools/branches{/branch}","tags_url":"https://api.github.com/repos/Katello/katello-host-tools/tags","blobs_url":"https://api.github.com/repos/Katello/katello-host-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Katello/katello-host-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Katello/katello-host-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/Katello/katello-host-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Katello/katello-host-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/Katello/katello-host-tools/languages","stargazers_url":"https://api.github.com/repos/Katello/katello-host-tools/stargazers","contributors_url":"https://api.github.com/repos/Katello/katello-host-tools/contributors","subscribers_url":"https://api.github.com/repos/Katello/katello-host-tools/subscribers","subscription_url":"https://api.github.com/repos/Katello/katello-host-tools/subscription","commits_url":"https://api.github.com/repos/Katello/katello-host-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/Katello/katello-host-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/Katello/katello-host-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/Katello/katello-host-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/Katello/katello-host-tools/contents/{+path}","compare_url":"https://api.github.com/repos/Katello/katello-host-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Katello/katello-host-tools/merges","archive_url":"https://api.github.com/repos/Katello/katello-host-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Katello/katello-host-tools/downloads","issues_url":"https://api.github.com/repos/Katello/katello-host-tools/issues{/number}","pulls_url":"https://api.github.com/repos/Katello/katello-host-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/Katello/katello-host-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/Katello/katello-host-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Katello/katello-host-tools/labels{/name}","releases_url":"https://api.github.com/repos/Katello/katello-host-tools/releases{/id}","deployments_url":"https://api.github.com/repos/Katello/katello-host-tools/deployments","created_at":"2013-04-27T18:04:03Z","updated_at":"2019-06-21T19:03:54Z","pushed_at":"2019-08-15T18:33:59Z","git_url":"git://github.com/Katello/katello-host-tools.git","ssh_url":"git@github.com:Katello/katello-host-tools.git","clone_url":"https://github.com/Katello/katello-host-tools.git","svn_url":"https://github.com/Katello/katello-host-tools","homepage":"","size":39858,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":26,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Katello/katello-host-tools/pulls/102"},"html":{"href":"https://github.com/Katello/katello-host-tools/pull/102"},"issue":{"href":"https://api.github.com/repos/Katello/katello-host-tools/issues/102"},"comments":{"href":"https://api.github.com/repos/Katello/katello-host-tools/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/Katello/katello-host-tools/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/Katello/katello-host-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Katello/katello-host-tools/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/Katello/katello-host-tools/statuses/85550fac6d9560c74441146dbc6959321b2c0ca1"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":22,"deletions":13,"changed_files":4}}
other: {"actor":{"display_login":"parthaa"}}