{"action":"created","comment":{"url":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/comments/175088214","pull_request_review_id":104563534,"id":175088214,"diff_hunk":"@@ -131,6 +131,12 @@ def adjust_for_autorebuild(self):\n             self.log.info('Autorebuild detected: Ignoring compose_ids plugin parameter')\n             self.compose_ids = tuple()\n \n+    def get_arches(self):\n+        # This will be replaced by a plugin soon but this will do for now\n+        for plugin in self.workflow.buildstep_plugins_conf:\n+            if plugin['name'] == PLUGIN_BUILD_ORCHESTRATE_KEY:\n+                return plugin.get('args').get('platforms', [])","path":"atomic_reactor/plugins/pre_resolve_composes.py","position":null,"original_position":17,"commit_id":"2cc9b0965899c3d79b5f1557f53bc4c50dcf7a4b","original_commit_id":"be54281df335ce7a673ba57a50b5b519aca32a02","user":{"login":"mlangsdorf","id":8007405,"avatar_url":"https://avatars0.githubusercontent.com/u/8007405?v=4","gravatar_id":"","url":"https://api.github.com/users/mlangsdorf","html_url":"https://github.com/mlangsdorf","followers_url":"https://api.github.com/users/mlangsdorf/followers","following_url":"https://api.github.com/users/mlangsdorf/following{/other_user}","gists_url":"https://api.github.com/users/mlangsdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/mlangsdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlangsdorf/subscriptions","organizations_url":"https://api.github.com/users/mlangsdorf/orgs","repos_url":"https://api.github.com/users/mlangsdorf/repos","events_url":"https://api.github.com/users/mlangsdorf/events{/privacy}","received_events_url":"https://api.github.com/users/mlangsdorf/received_events","type":"User","site_admin":false},"body":"Fixed.","created_at":"2018-03-16T13:27:50Z","updated_at":"2018-03-16T13:27:50Z","html_url":"https://github.com/projectatomic/atomic-reactor/pull/939#discussion_r175088214","pull_request_url":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/939","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/comments/175088214"},"html":{"href":"https://github.com/projectatomic/atomic-reactor/pull/939#discussion_r175088214"},"pull_request":{"href":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/939"}},"in_reply_to_id":175065097},"pull_request":{"url":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/939","id":174665819,"html_url":"https://github.com/projectatomic/atomic-reactor/pull/939","diff_url":"https://github.com/projectatomic/atomic-reactor/pull/939.diff","patch_url":"https://github.com/projectatomic/atomic-reactor/pull/939.patch","issue_url":"https://api.github.com/repos/projectatomic/atomic-reactor/issues/939","number":939,"state":"open","locked":false,"title":"resolve_composes plugin: supply 'arches' key for ODCS 'tag' composes","user":{"login":"mlangsdorf","id":8007405,"avatar_url":"https://avatars0.githubusercontent.com/u/8007405?v=4","gravatar_id":"","url":"https://api.github.com/users/mlangsdorf","html_url":"https://github.com/mlangsdorf","followers_url":"https://api.github.com/users/mlangsdorf/followers","following_url":"https://api.github.com/users/mlangsdorf/following{/other_user}","gists_url":"https://api.github.com/users/mlangsdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/mlangsdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlangsdorf/subscriptions","organizations_url":"https://api.github.com/users/mlangsdorf/orgs","repos_url":"https://api.github.com/users/mlangsdorf/repos","events_url":"https://api.github.com/users/mlangsdorf/events{/privacy}","received_events_url":"https://api.github.com/users/mlangsdorf/received_events","type":"User","site_admin":false},"body":"Add a function to get the platforms that build_orchestrate_build will\r\nrun on, and then pass those platforms to the OCDS tag composes in the\r\narches field.\r\n\r\nIncludes a commit from PR 938\r\n\r\nSigned-off-by: Mark Langsdorf <mlangsdo@redhat.com>\r\n\r\nready for review","created_at":"2018-03-13T13:51:02Z","updated_at":"2018-03-16T13:27:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5848f8aad452fe795e1d96394ddc50e580897dc4","assignee":null,"assignees":[],"requested_reviewers":[{"login":"lcarva","id":5272931,"avatar_url":"https://avatars1.githubusercontent.com/u/5272931?v=4","gravatar_id":"","url":"https://api.github.com/users/lcarva","html_url":"https://github.com/lcarva","followers_url":"https://api.github.com/users/lcarva/followers","following_url":"https://api.github.com/users/lcarva/following{/other_user}","gists_url":"https://api.github.com/users/lcarva/gists{/gist_id}","starred_url":"https://api.github.com/users/lcarva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcarva/subscriptions","organizations_url":"https://api.github.com/users/lcarva/orgs","repos_url":"https://api.github.com/users/lcarva/repos","events_url":"https://api.github.com/users/lcarva/events{/privacy}","received_events_url":"https://api.github.com/users/lcarva/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/939/commits","review_comments_url":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/939/comments","review_comment_url":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectatomic/atomic-reactor/issues/939/comments","statuses_url":"https://api.github.com/repos/projectatomic/atomic-reactor/statuses/2cc9b0965899c3d79b5f1557f53bc4c50dcf7a4b","head":{"label":"mlangsdorf:osbs5258","ref":"osbs5258","sha":"2cc9b0965899c3d79b5f1557f53bc4c50dcf7a4b","user":{"login":"mlangsdorf","id":8007405,"avatar_url":"https://avatars0.githubusercontent.com/u/8007405?v=4","gravatar_id":"","url":"https://api.github.com/users/mlangsdorf","html_url":"https://github.com/mlangsdorf","followers_url":"https://api.github.com/users/mlangsdorf/followers","following_url":"https://api.github.com/users/mlangsdorf/following{/other_user}","gists_url":"https://api.github.com/users/mlangsdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/mlangsdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlangsdorf/subscriptions","organizations_url":"https://api.github.com/users/mlangsdorf/orgs","repos_url":"https://api.github.com/users/mlangsdorf/repos","events_url":"https://api.github.com/users/mlangsdorf/events{/privacy}","received_events_url":"https://api.github.com/users/mlangsdorf/received_events","type":"User","site_admin":false},"repo":{"id":96132282,"name":"atomic-reactor","full_name":"mlangsdorf/atomic-reactor","owner":{"login":"mlangsdorf","id":8007405,"avatar_url":"https://avatars0.githubusercontent.com/u/8007405?v=4","gravatar_id":"","url":"https://api.github.com/users/mlangsdorf","html_url":"https://github.com/mlangsdorf","followers_url":"https://api.github.com/users/mlangsdorf/followers","following_url":"https://api.github.com/users/mlangsdorf/following{/other_user}","gists_url":"https://api.github.com/users/mlangsdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/mlangsdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlangsdorf/subscriptions","organizations_url":"https://api.github.com/users/mlangsdorf/orgs","repos_url":"https://api.github.com/users/mlangsdorf/repos","events_url":"https://api.github.com/users/mlangsdorf/events{/privacy}","received_events_url":"https://api.github.com/users/mlangsdorf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mlangsdorf/atomic-reactor","description":"Simple python library for building docker images.","fork":true,"url":"https://api.github.com/repos/mlangsdorf/atomic-reactor","forks_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/forks","keys_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/teams","hooks_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/hooks","issue_events_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/issues/events{/number}","events_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/events","assignees_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/assignees{/user}","branches_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/branches{/branch}","tags_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/tags","blobs_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/git/refs{/sha}","trees_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/statuses/{sha}","languages_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/languages","stargazers_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/stargazers","contributors_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/contributors","subscribers_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/subscribers","subscription_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/subscription","commits_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/commits{/sha}","git_commits_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/git/commits{/sha}","comments_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/comments{/number}","issue_comment_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/issues/comments{/number}","contents_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/contents/{+path}","compare_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/merges","archive_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/downloads","issues_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/issues{/number}","pulls_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/pulls{/number}","milestones_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/milestones{/number}","notifications_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/labels{/name}","releases_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/releases{/id}","deployments_url":"https://api.github.com/repos/mlangsdorf/atomic-reactor/deployments","created_at":"2017-07-03T16:50:59Z","updated_at":"2018-03-15T19:18:18Z","pushed_at":"2018-03-16T13:20:45Z","git_url":"git://github.com/mlangsdorf/atomic-reactor.git","ssh_url":"git@github.com:mlangsdorf/atomic-reactor.git","clone_url":"https://github.com/mlangsdorf/atomic-reactor.git","svn_url":"https://github.com/mlangsdorf/atomic-reactor","homepage":"","size":3091,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projectatomic:master","ref":"master","sha":"57395a7f2d66d6721ef437a2fb049fd18c291da7","user":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars1.githubusercontent.com/u/6852258?v=4","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"repo":{"id":25527782,"name":"atomic-reactor","full_name":"projectatomic/atomic-reactor","owner":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars1.githubusercontent.com/u/6852258?v=4","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectatomic/atomic-reactor","description":"Simple python library for building docker images.","fork":false,"url":"https://api.github.com/repos/projectatomic/atomic-reactor","forks_url":"https://api.github.com/repos/projectatomic/atomic-reactor/forks","keys_url":"https://api.github.com/repos/projectatomic/atomic-reactor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectatomic/atomic-reactor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectatomic/atomic-reactor/teams","hooks_url":"https://api.github.com/repos/projectatomic/atomic-reactor/hooks","issue_events_url":"https://api.github.com/repos/projectatomic/atomic-reactor/issues/events{/number}","events_url":"https://api.github.com/repos/projectatomic/atomic-reactor/events","assignees_url":"https://api.github.com/repos/projectatomic/atomic-reactor/assignees{/user}","branches_url":"https://api.github.com/repos/projectatomic/atomic-reactor/branches{/branch}","tags_url":"https://api.github.com/repos/projectatomic/atomic-reactor/tags","blobs_url":"https://api.github.com/repos/projectatomic/atomic-reactor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectatomic/atomic-reactor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectatomic/atomic-reactor/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectatomic/atomic-reactor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectatomic/atomic-reactor/statuses/{sha}","languages_url":"https://api.github.com/repos/projectatomic/atomic-reactor/languages","stargazers_url":"https://api.github.com/repos/projectatomic/atomic-reactor/stargazers","contributors_url":"https://api.github.com/repos/projectatomic/atomic-reactor/contributors","subscribers_url":"https://api.github.com/repos/projectatomic/atomic-reactor/subscribers","subscription_url":"https://api.github.com/repos/projectatomic/atomic-reactor/subscription","commits_url":"https://api.github.com/repos/projectatomic/atomic-reactor/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectatomic/atomic-reactor/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectatomic/atomic-reactor/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectatomic/atomic-reactor/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectatomic/atomic-reactor/contents/{+path}","compare_url":"https://api.github.com/repos/projectatomic/atomic-reactor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectatomic/atomic-reactor/merges","archive_url":"https://api.github.com/repos/projectatomic/atomic-reactor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectatomic/atomic-reactor/downloads","issues_url":"https://api.github.com/repos/projectatomic/atomic-reactor/issues{/number}","pulls_url":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls{/number}","milestones_url":"https://api.github.com/repos/projectatomic/atomic-reactor/milestones{/number}","notifications_url":"https://api.github.com/repos/projectatomic/atomic-reactor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectatomic/atomic-reactor/labels{/name}","releases_url":"https://api.github.com/repos/projectatomic/atomic-reactor/releases{/id}","deployments_url":"https://api.github.com/repos/projectatomic/atomic-reactor/deployments","created_at":"2014-10-21T14:45:11Z","updated_at":"2018-03-15T18:13:37Z","pushed_at":"2018-03-16T13:20:47Z","git_url":"git://github.com/projectatomic/atomic-reactor.git","ssh_url":"git@github.com:projectatomic/atomic-reactor.git","clone_url":"https://github.com/projectatomic/atomic-reactor.git","svn_url":"https://github.com/projectatomic/atomic-reactor","homepage":"","size":3141,"stargazers_count":100,"watchers_count":100,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"archived":false,"open_issues_count":62,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":41,"open_issues":62,"watchers":100,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/939"},"html":{"href":"https://github.com/projectatomic/atomic-reactor/pull/939"},"issue":{"href":"https://api.github.com/repos/projectatomic/atomic-reactor/issues/939"},"comments":{"href":"https://api.github.com/repos/projectatomic/atomic-reactor/issues/939/comments"},"review_comments":{"href":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/939/comments"},"review_comment":{"href":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/939/commits"},"statuses":{"href":"https://api.github.com/repos/projectatomic/atomic-reactor/statuses/2cc9b0965899c3d79b5f1557f53bc4c50dcf7a4b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mlangsdorf"}}