{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls/comments/242614877","pull_request_review_id":186168677,"id":242614877,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjYxNDg3Nw==","diff_hunk":"@@ -520,9 +520,12 @@ def find_content_credential(module, name, organization, failsafe=False):\n     return handle_find_response(module, content_credential.search(), message=\"No content credential found for %s\" % name, failsafe=failsafe)\n \n \n-def find_repository_set(module, name, product, failsafe=False):\n-    repo_set = RepositorySet(name=name, product=product)\n-    return handle_find_response(module, repo_set.search(), message=\"No repository set found for %s\" % name, failsafe=failsafe)\n+def find_repository_set(module, name, product, organization=None, label=None, failsafe=False):","path":"module_utils/ansible_nailgun_cement.py","position":null,"original_position":7,"commit_id":"73aa4288bc0cf43ea8fa38f77d7040a8373c1dd2","original_commit_id":"50c3c35637e7e7848be1282fcf7d2e7fe88c7777","user":{"login":"sean797","id":13135483,"node_id":"MDQ6VXNlcjEzMTM1NDgz","avatar_url":"https://avatars3.githubusercontent.com/u/13135483?v=4","gravatar_id":"","url":"https://api.github.com/users/sean797","html_url":"https://github.com/sean797","followers_url":"https://api.github.com/users/sean797/followers","following_url":"https://api.github.com/users/sean797/following{/other_user}","gists_url":"https://api.github.com/users/sean797/gists{/gist_id}","starred_url":"https://api.github.com/users/sean797/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sean797/subscriptions","organizations_url":"https://api.github.com/users/sean797/orgs","repos_url":"https://api.github.com/users/sean797/repos","events_url":"https://api.github.com/users/sean797/events{/privacy}","received_events_url":"https://api.github.com/users/sean797/received_events","type":"User","site_admin":false},"body":"Yup, nice spot! Updated :+1: Thanks!","created_at":"2018-12-18T16:43:42Z","updated_at":"2018-12-18T16:43:43Z","html_url":"https://github.com/theforeman/foreman-ansible-modules/pull/207#discussion_r242614877","pull_request_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls/207","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls/comments/242614877"},"html":{"href":"https://github.com/theforeman/foreman-ansible-modules/pull/207#discussion_r242614877"},"pull_request":{"href":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls/207"}},"in_reply_to_id":241511929},"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls/207","id":234975898,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0OTc1ODk4","html_url":"https://github.com/theforeman/foreman-ansible-modules/pull/207","diff_url":"https://github.com/theforeman/foreman-ansible-modules/pull/207.diff","patch_url":"https://github.com/theforeman/foreman-ansible-modules/pull/207.patch","issue_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/issues/207","number":207,"state":"open","locked":false,"title":"Repository Sets: make name & product optional inplace of label","user":{"login":"sean797","id":13135483,"node_id":"MDQ6VXNlcjEzMTM1NDgz","avatar_url":"https://avatars3.githubusercontent.com/u/13135483?v=4","gravatar_id":"","url":"https://api.github.com/users/sean797","html_url":"https://github.com/sean797","followers_url":"https://api.github.com/users/sean797/followers","following_url":"https://api.github.com/users/sean797/following{/other_user}","gists_url":"https://api.github.com/users/sean797/gists{/gist_id}","starred_url":"https://api.github.com/users/sean797/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sean797/subscriptions","organizations_url":"https://api.github.com/users/sean797/orgs","repos_url":"https://api.github.com/users/sean797/repos","events_url":"https://api.github.com/users/sean797/events{/privacy}","received_events_url":"https://api.github.com/users/sean797/received_events","type":"User","site_admin":false},"body":"Requires ~~SatelliteQE/nailgun#574~~","created_at":"2018-11-30T12:44:24Z","updated_at":"2018-12-18T16:43:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b513f89ba05a2ae1e0474850b3e60bf5d7ce47d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls/207/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls/207/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/issues/207/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/statuses/73aa4288bc0cf43ea8fa38f77d7040a8373c1dd2","head":{"label":"sean797:repo_set_label","ref":"repo_set_label","sha":"73aa4288bc0cf43ea8fa38f77d7040a8373c1dd2","user":{"login":"sean797","id":13135483,"node_id":"MDQ6VXNlcjEzMTM1NDgz","avatar_url":"https://avatars3.githubusercontent.com/u/13135483?v=4","gravatar_id":"","url":"https://api.github.com/users/sean797","html_url":"https://github.com/sean797","followers_url":"https://api.github.com/users/sean797/followers","following_url":"https://api.github.com/users/sean797/following{/other_user}","gists_url":"https://api.github.com/users/sean797/gists{/gist_id}","starred_url":"https://api.github.com/users/sean797/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sean797/subscriptions","organizations_url":"https://api.github.com/users/sean797/orgs","repos_url":"https://api.github.com/users/sean797/repos","events_url":"https://api.github.com/users/sean797/events{/privacy}","received_events_url":"https://api.github.com/users/sean797/received_events","type":"User","site_admin":false},"repo":{"id":111739037,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE3MzkwMzc=","name":"foreman-ansible-modules","full_name":"sean797/foreman-ansible-modules","private":false,"owner":{"login":"sean797","id":13135483,"node_id":"MDQ6VXNlcjEzMTM1NDgz","avatar_url":"https://avatars3.githubusercontent.com/u/13135483?v=4","gravatar_id":"","url":"https://api.github.com/users/sean797","html_url":"https://github.com/sean797","followers_url":"https://api.github.com/users/sean797/followers","following_url":"https://api.github.com/users/sean797/following{/other_user}","gists_url":"https://api.github.com/users/sean797/gists{/gist_id}","starred_url":"https://api.github.com/users/sean797/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sean797/subscriptions","organizations_url":"https://api.github.com/users/sean797/orgs","repos_url":"https://api.github.com/users/sean797/repos","events_url":"https://api.github.com/users/sean797/events{/privacy}","received_events_url":"https://api.github.com/users/sean797/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sean797/foreman-ansible-modules","description":"Repository for Ansible modules that communicate with Foreman and plugin APIs","fork":true,"url":"https://api.github.com/repos/sean797/foreman-ansible-modules","forks_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/forks","keys_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/teams","hooks_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/hooks","issue_events_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/issues/events{/number}","events_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/events","assignees_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/assignees{/user}","branches_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/branches{/branch}","tags_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/tags","blobs_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/statuses/{sha}","languages_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/languages","stargazers_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/stargazers","contributors_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/contributors","subscribers_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/subscribers","subscription_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/subscription","commits_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/contents/{+path}","compare_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/merges","archive_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/downloads","issues_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/issues{/number}","pulls_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/pulls{/number}","milestones_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/milestones{/number}","notifications_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/labels{/name}","releases_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/releases{/id}","deployments_url":"https://api.github.com/repos/sean797/foreman-ansible-modules/deployments","created_at":"2017-11-22T22:36:10Z","updated_at":"2018-07-26T10:41:17Z","pushed_at":"2018-12-18T16:43:25Z","git_url":"git://github.com/sean797/foreman-ansible-modules.git","ssh_url":"git@github.com:sean797/foreman-ansible-modules.git","clone_url":"https://github.com/sean797/foreman-ansible-modules.git","svn_url":"https://github.com/sean797/foreman-ansible-modules","homepage":null,"size":2060,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"theforeman:master","ref":"master","sha":"e69b2d8d8efc34b5f18562448066fe1b9456a49f","user":{"login":"theforeman","id":1439844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Mzk4NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1439844?v=4","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":94547727,"node_id":"MDEwOlJlcG9zaXRvcnk5NDU0NzcyNw==","name":"foreman-ansible-modules","full_name":"theforeman/foreman-ansible-modules","private":false,"owner":{"login":"theforeman","id":1439844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Mzk4NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1439844?v=4","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},"html_url":"https://github.com/theforeman/foreman-ansible-modules","description":"Repository for Ansible modules that communicate with Foreman and plugin APIs","fork":false,"url":"https://api.github.com/repos/theforeman/foreman-ansible-modules","forks_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/forks","keys_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/events","assignees_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/merges","archive_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/foreman-ansible-modules/deployments","created_at":"2017-06-16T13:43:02Z","updated_at":"2018-12-12T14:11:24Z","pushed_at":"2018-12-18T16:43:28Z","git_url":"git://github.com/theforeman/foreman-ansible-modules.git","ssh_url":"git@github.com:theforeman/foreman-ansible-modules.git","clone_url":"https://github.com/theforeman/foreman-ansible-modules.git","svn_url":"https://github.com/theforeman/foreman-ansible-modules","homepage":null,"size":1823,"stargazers_count":35,"watchers_count":35,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":41,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":29,"open_issues":41,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls/207"},"html":{"href":"https://github.com/theforeman/foreman-ansible-modules/pull/207"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman-ansible-modules/issues/207"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman-ansible-modules/issues/207/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls/207/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman-ansible-modules/pulls/207/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman-ansible-modules/statuses/73aa4288bc0cf43ea8fa38f77d7040a8373c1dd2"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"sean797"}}