{"action":"created","comment":{"url":"https://api.github.com/repos/SUSE-Cloud/automation/pulls/comments/68050272","id":68050272,"diff_hunk":"@@ -1298,48 +1303,111 @@ function create_repos_yml_for_platform()\n     for repo in $*; do\n         repo_name=${repo%%=*}\n         repo_url=${repo##*=}\n-        if [ -d \"$tftpboot_dir/$repo_name\" ]; then\n-            if [ -z \"$platform_created\" ]; then\n-                echo \"$platform:\"\n-                echo \"  $arch:\"\n-                platform_created=1\n-            fi\n-\n-            echo \"    $repo_name:\"\n-            echo \"      url: '$repo_url'\"\n+        if [ -z \"$platform_created\" ]; then\n+            echo \"$platform:\"\n+            echo \"  $arch:\"\n+            platform_created=1\n         fi\n+\n+        echo \"    $repo_name:\"\n+        echo \"      url: '$repo_url'\"\n     done\n }\n \n function create_repos_yml()\n {\n     local repos_yml=\"/etc/crowbar/repos.yml\"\n     local tmp_yml=$(mktemp).yml\n+    local additional_repos=\n \n     echo --- > $tmp_yml\n \n     if iscloudver 6; then\n+        additional_repos=\n+        if [ -n \"$want_test_updates\" -a \"$want_test_updates\" != \"0\" ] ; then\n+            additional_repos+=\" SLES12-SP1-Updates-test=http://$distsuse/ibs/SUSE:/Maintenance:/Test:/SLE-SERVER:/12-SP1:/x86_64/update/\"\n+            additional_repos+=\" SUSE-OpenStack-Cloud-6-Updates-test=http://$distsuse/ibs/SUSE:/Maintenance:/Test:/OpenStack-Cloud:/6:/x86_64/update/\"\n+            [ $hacloud == 1 ] && additional_repos+=\" SLE12-SP1-HA-Updates-test=http://$distsuse/ibs/SUSE:/Maintenance:/Test:/SLE-HA:/12-SP1:/x86_64/update/\"\n+            [ -n \"$deployceph\" ] && additional_repos+=\" SUSE-Enterprise-Storage-2.1-Updates-test=http://$distsuse/ibs/SUSE:/Maintenance:/Test:/Storage:/2.1:/x86_64/update/\"\n+        fi\n+        for devel_repo in ${want_devel_repos//,/ }; do\n+            case \"$devel_repo\" in\n+                ha)\n+                    ;;","path":"scripts/qa_crowbarsetup.sh","position":55,"original_position":55,"commit_id":"a0a5229265ae11c8e791dc023b1280408dfa557f","original_commit_id":"a0a5229265ae11c8e791dc023b1280408dfa557f","user":{"login":"vuntz","id":1758783,"avatar_url":"https://avatars.githubusercontent.com/u/1758783?v=3","gravatar_id":"","url":"https://api.github.com/users/vuntz","html_url":"https://github.com/vuntz","followers_url":"https://api.github.com/users/vuntz/followers","following_url":"https://api.github.com/users/vuntz/following{/other_user}","gists_url":"https://api.github.com/users/vuntz/gists{/gist_id}","starred_url":"https://api.github.com/users/vuntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuntz/subscriptions","organizations_url":"https://api.github.com/users/vuntz/orgs","repos_url":"https://api.github.com/users/vuntz/repos","events_url":"https://api.github.com/users/vuntz/events{/privacy}","received_events_url":"https://api.github.com/users/vuntz/received_events","type":"User","site_admin":false},"body":"There's no devel repo for HA yet, but HA team might consider having one, adding a TODO for this.","created_at":"2016-06-22T13:16:47Z","updated_at":"2016-06-22T13:16:47Z","html_url":"https://github.com/SUSE-Cloud/automation/pull/1022#discussion_r68050272","pull_request_url":"https://api.github.com/repos/SUSE-Cloud/automation/pulls/1022","_links":{"self":{"href":"https://api.github.com/repos/SUSE-Cloud/automation/pulls/comments/68050272"},"html":{"href":"https://github.com/SUSE-Cloud/automation/pull/1022#discussion_r68050272"},"pull_request":{"href":"https://api.github.com/repos/SUSE-Cloud/automation/pulls/1022"}}},"pull_request":{"url":"https://api.github.com/repos/SUSE-Cloud/automation/pulls/1022","id":72776521,"html_url":"https://github.com/SUSE-Cloud/automation/pull/1022","diff_url":"https://github.com/SUSE-Cloud/automation/pull/1022.diff","patch_url":"https://github.com/SUSE-Cloud/automation/pull/1022.patch","issue_url":"https://api.github.com/repos/SUSE-Cloud/automation/issues/1022","number":1022,"state":"open","locked":false,"title":"Add ability to use devel projects for other products + fix handling of repos.yml","user":{"login":"vuntz","id":1758783,"avatar_url":"https://avatars.githubusercontent.com/u/1758783?v=3","gravatar_id":"","url":"https://api.github.com/users/vuntz","html_url":"https://github.com/vuntz","followers_url":"https://api.github.com/users/vuntz/followers","following_url":"https://api.github.com/users/vuntz/following{/other_user}","gists_url":"https://api.github.com/users/vuntz/gists{/gist_id}","starred_url":"https://api.github.com/users/vuntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuntz/subscriptions","organizations_url":"https://api.github.com/users/vuntz/orgs","repos_url":"https://api.github.com/users/vuntz/repos","events_url":"https://api.github.com/users/vuntz/events{/privacy}","received_events_url":"https://api.github.com/users/vuntz/received_events","type":"User","site_admin":false},"body":"I haven't pushed the jenkins jobs from this PR; is this something we should do before merging to check they're fine?\r\n\r\ncc @cbosdo","created_at":"2016-06-06T20:56:45Z","updated_at":"2016-06-22T13:16:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b3b444bab4c95c46bfea77f3b0558455251659d","assignee":{"login":"bmwiedemann","id":637990,"avatar_url":"https://avatars.githubusercontent.com/u/637990?v=3","gravatar_id":"","url":"https://api.github.com/users/bmwiedemann","html_url":"https://github.com/bmwiedemann","followers_url":"https://api.github.com/users/bmwiedemann/followers","following_url":"https://api.github.com/users/bmwiedemann/following{/other_user}","gists_url":"https://api.github.com/users/bmwiedemann/gists{/gist_id}","starred_url":"https://api.github.com/users/bmwiedemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmwiedemann/subscriptions","organizations_url":"https://api.github.com/users/bmwiedemann/orgs","repos_url":"https://api.github.com/users/bmwiedemann/repos","events_url":"https://api.github.com/users/bmwiedemann/events{/privacy}","received_events_url":"https://api.github.com/users/bmwiedemann/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/SUSE-Cloud/automation/pulls/1022/commits","review_comments_url":"https://api.github.com/repos/SUSE-Cloud/automation/pulls/1022/comments","review_comment_url":"https://api.github.com/repos/SUSE-Cloud/automation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SUSE-Cloud/automation/issues/1022/comments","statuses_url":"https://api.github.com/repos/SUSE-Cloud/automation/statuses/a0a5229265ae11c8e791dc023b1280408dfa557f","head":{"label":"vuntz:want_devel_repos","ref":"want_devel_repos","sha":"a0a5229265ae11c8e791dc023b1280408dfa557f","user":{"login":"vuntz","id":1758783,"avatar_url":"https://avatars.githubusercontent.com/u/1758783?v=3","gravatar_id":"","url":"https://api.github.com/users/vuntz","html_url":"https://github.com/vuntz","followers_url":"https://api.github.com/users/vuntz/followers","following_url":"https://api.github.com/users/vuntz/following{/other_user}","gists_url":"https://api.github.com/users/vuntz/gists{/gist_id}","starred_url":"https://api.github.com/users/vuntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuntz/subscriptions","organizations_url":"https://api.github.com/users/vuntz/orgs","repos_url":"https://api.github.com/users/vuntz/repos","events_url":"https://api.github.com/users/vuntz/events{/privacy}","received_events_url":"https://api.github.com/users/vuntz/received_events","type":"User","site_admin":false},"repo":{"id":7669295,"name":"automation","full_name":"vuntz/automation","owner":{"login":"vuntz","id":1758783,"avatar_url":"https://avatars.githubusercontent.com/u/1758783?v=3","gravatar_id":"","url":"https://api.github.com/users/vuntz","html_url":"https://github.com/vuntz","followers_url":"https://api.github.com/users/vuntz/followers","following_url":"https://api.github.com/users/vuntz/following{/other_user}","gists_url":"https://api.github.com/users/vuntz/gists{/gist_id}","starred_url":"https://api.github.com/users/vuntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuntz/subscriptions","organizations_url":"https://api.github.com/users/vuntz/orgs","repos_url":"https://api.github.com/users/vuntz/repos","events_url":"https://api.github.com/users/vuntz/events{/privacy}","received_events_url":"https://api.github.com/users/vuntz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vuntz/automation","description":"Automation scripts for development, testing, and CI","fork":true,"url":"https://api.github.com/repos/vuntz/automation","forks_url":"https://api.github.com/repos/vuntz/automation/forks","keys_url":"https://api.github.com/repos/vuntz/automation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuntz/automation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuntz/automation/teams","hooks_url":"https://api.github.com/repos/vuntz/automation/hooks","issue_events_url":"https://api.github.com/repos/vuntz/automation/issues/events{/number}","events_url":"https://api.github.com/repos/vuntz/automation/events","assignees_url":"https://api.github.com/repos/vuntz/automation/assignees{/user}","branches_url":"https://api.github.com/repos/vuntz/automation/branches{/branch}","tags_url":"https://api.github.com/repos/vuntz/automation/tags","blobs_url":"https://api.github.com/repos/vuntz/automation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuntz/automation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuntz/automation/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuntz/automation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuntz/automation/statuses/{sha}","languages_url":"https://api.github.com/repos/vuntz/automation/languages","stargazers_url":"https://api.github.com/repos/vuntz/automation/stargazers","contributors_url":"https://api.github.com/repos/vuntz/automation/contributors","subscribers_url":"https://api.github.com/repos/vuntz/automation/subscribers","subscription_url":"https://api.github.com/repos/vuntz/automation/subscription","commits_url":"https://api.github.com/repos/vuntz/automation/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuntz/automation/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuntz/automation/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuntz/automation/issues/comments{/number}","contents_url":"https://api.github.com/repos/vuntz/automation/contents/{+path}","compare_url":"https://api.github.com/repos/vuntz/automation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuntz/automation/merges","archive_url":"https://api.github.com/repos/vuntz/automation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuntz/automation/downloads","issues_url":"https://api.github.com/repos/vuntz/automation/issues{/number}","pulls_url":"https://api.github.com/repos/vuntz/automation/pulls{/number}","milestones_url":"https://api.github.com/repos/vuntz/automation/milestones{/number}","notifications_url":"https://api.github.com/repos/vuntz/automation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuntz/automation/labels{/name}","releases_url":"https://api.github.com/repos/vuntz/automation/releases{/id}","deployments_url":"https://api.github.com/repos/vuntz/automation/deployments","created_at":"2013-01-17T16:05:10Z","updated_at":"2015-06-02T13:24:10Z","pushed_at":"2016-06-07T05:14:49Z","git_url":"git://github.com/vuntz/automation.git","ssh_url":"git@github.com:vuntz/automation.git","clone_url":"https://github.com/vuntz/automation.git","svn_url":"https://github.com/vuntz/automation","homepage":"","size":5312,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"SUSE-Cloud:master","ref":"master","sha":"a9d913d1da70c7f1471ee3885385729e2b4dd176","user":{"login":"SUSE-Cloud","id":1553906,"avatar_url":"https://avatars.githubusercontent.com/u/1553906?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE-Cloud","html_url":"https://github.com/SUSE-Cloud","followers_url":"https://api.github.com/users/SUSE-Cloud/followers","following_url":"https://api.github.com/users/SUSE-Cloud/following{/other_user}","gists_url":"https://api.github.com/users/SUSE-Cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE-Cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE-Cloud/subscriptions","organizations_url":"https://api.github.com/users/SUSE-Cloud/orgs","repos_url":"https://api.github.com/users/SUSE-Cloud/repos","events_url":"https://api.github.com/users/SUSE-Cloud/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE-Cloud/received_events","type":"Organization","site_admin":false},"repo":{"id":6384356,"name":"automation","full_name":"SUSE-Cloud/automation","owner":{"login":"SUSE-Cloud","id":1553906,"avatar_url":"https://avatars.githubusercontent.com/u/1553906?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE-Cloud","html_url":"https://github.com/SUSE-Cloud","followers_url":"https://api.github.com/users/SUSE-Cloud/followers","following_url":"https://api.github.com/users/SUSE-Cloud/following{/other_user}","gists_url":"https://api.github.com/users/SUSE-Cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE-Cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE-Cloud/subscriptions","organizations_url":"https://api.github.com/users/SUSE-Cloud/orgs","repos_url":"https://api.github.com/users/SUSE-Cloud/repos","events_url":"https://api.github.com/users/SUSE-Cloud/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE-Cloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE-Cloud/automation","description":"Automation scripts for development, testing, and CI","fork":false,"url":"https://api.github.com/repos/SUSE-Cloud/automation","forks_url":"https://api.github.com/repos/SUSE-Cloud/automation/forks","keys_url":"https://api.github.com/repos/SUSE-Cloud/automation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE-Cloud/automation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE-Cloud/automation/teams","hooks_url":"https://api.github.com/repos/SUSE-Cloud/automation/hooks","issue_events_url":"https://api.github.com/repos/SUSE-Cloud/automation/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE-Cloud/automation/events","assignees_url":"https://api.github.com/repos/SUSE-Cloud/automation/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE-Cloud/automation/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE-Cloud/automation/tags","blobs_url":"https://api.github.com/repos/SUSE-Cloud/automation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE-Cloud/automation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE-Cloud/automation/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE-Cloud/automation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE-Cloud/automation/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE-Cloud/automation/languages","stargazers_url":"https://api.github.com/repos/SUSE-Cloud/automation/stargazers","contributors_url":"https://api.github.com/repos/SUSE-Cloud/automation/contributors","subscribers_url":"https://api.github.com/repos/SUSE-Cloud/automation/subscribers","subscription_url":"https://api.github.com/repos/SUSE-Cloud/automation/subscription","commits_url":"https://api.github.com/repos/SUSE-Cloud/automation/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE-Cloud/automation/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE-Cloud/automation/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE-Cloud/automation/issues/comments{/number}","contents_url":"https://api.github.com/repos/SUSE-Cloud/automation/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE-Cloud/automation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE-Cloud/automation/merges","archive_url":"https://api.github.com/repos/SUSE-Cloud/automation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE-Cloud/automation/downloads","issues_url":"https://api.github.com/repos/SUSE-Cloud/automation/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE-Cloud/automation/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE-Cloud/automation/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE-Cloud/automation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE-Cloud/automation/labels{/name}","releases_url":"https://api.github.com/repos/SUSE-Cloud/automation/releases{/id}","deployments_url":"https://api.github.com/repos/SUSE-Cloud/automation/deployments","created_at":"2012-10-25T08:45:31Z","updated_at":"2016-06-17T20:18:03Z","pushed_at":"2016-06-22T12:28:00Z","git_url":"git://github.com/SUSE-Cloud/automation.git","ssh_url":"git@github.com:SUSE-Cloud/automation.git","clone_url":"https://github.com/SUSE-Cloud/automation.git","svn_url":"https://github.com/SUSE-Cloud/automation","homepage":"","size":7570,"stargazers_count":14,"watchers_count":14,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":28,"forks":48,"open_issues":28,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SUSE-Cloud/automation/pulls/1022"},"html":{"href":"https://github.com/SUSE-Cloud/automation/pull/1022"},"issue":{"href":"https://api.github.com/repos/SUSE-Cloud/automation/issues/1022"},"comments":{"href":"https://api.github.com/repos/SUSE-Cloud/automation/issues/1022/comments"},"review_comments":{"href":"https://api.github.com/repos/SUSE-Cloud/automation/pulls/1022/comments"},"review_comment":{"href":"https://api.github.com/repos/SUSE-Cloud/automation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SUSE-Cloud/automation/pulls/1022/commits"},"statuses":{"href":"https://api.github.com/repos/SUSE-Cloud/automation/statuses/a0a5229265ae11c8e791dc023b1280408dfa557f"}}}}
{"actor":{"display_login":"vuntz"}}