{"action":"created","comment":{"url":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls/comments/211170847","pull_request_review_id":147534698,"id":211170847,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTE3MDg0Nw==","diff_hunk":"@@ -0,0 +1,55 @@\n+#!/bin/bash\n+\n+set -e\n+PKG=$1\n+\n+cd /root\n+if [ ! -d Debian\\:Unstable\\:Clang ]; then\n+osc co Debian:Unstable:Clang > /dev/null 2>&1\n+fi\n+cd Debian\\:Unstable\\:Clang/\n+osc up > /dev/null 2>&1\n+\n+if [ \"$PKG\" == \"obs-service-clang-build\" ]; then\n+  if ! osc ls Debian:Unstable:Clang obs-service-clang-build > /dev/null 2>&1; then\n+    echo 'Preparing obs-service-clang-build package...'\n+    mkdir obs-service-clang-build\n+    cd obs-service-clang-build/\n+    wget 'https://www.ime.usp.br/~athoscr/files/obs/obs-service-clang-build_0.1-1.debian.tar.xz'","path":"obs-server/trigger_clang_build","position":18,"original_position":18,"commit_id":"5fe11aa10e9152b7ed728acf8544dd0679b62629","original_commit_id":"35b5ffb22cf323007b642fe13fe05be5a1c4b376","user":{"login":"sylvestre","id":733326,"node_id":"MDQ6VXNlcjczMzMyNg==","avatar_url":"https://avatars2.githubusercontent.com/u/733326?v=4","gravatar_id":"","url":"https://api.github.com/users/sylvestre","html_url":"https://github.com/sylvestre","followers_url":"https://api.github.com/users/sylvestre/followers","following_url":"https://api.github.com/users/sylvestre/following{/other_user}","gists_url":"https://api.github.com/users/sylvestre/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvestre/subscriptions","organizations_url":"https://api.github.com/users/sylvestre/orgs","repos_url":"https://api.github.com/users/sylvestre/repos","events_url":"https://api.github.com/users/sylvestre/events{/privacy}","received_events_url":"https://api.github.com/users/sylvestre/received_events","type":"User","site_admin":false},"body":"yeah, better than on thirdparty website.\r\n","created_at":"2018-08-20T07:58:48Z","updated_at":"2018-08-20T07:59:05Z","html_url":"https://github.com/opencollab/llvm-slave-salt/pull/9#discussion_r211170847","pull_request_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls/9","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls/comments/211170847"},"html":{"href":"https://github.com/opencollab/llvm-slave-salt/pull/9#discussion_r211170847"},"pull_request":{"href":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls/9"}},"in_reply_to_id":209837551},"pull_request":{"url":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls/9","id":208172016,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MTcyMDE2","html_url":"https://github.com/opencollab/llvm-slave-salt/pull/9","diff_url":"https://github.com/opencollab/llvm-slave-salt/pull/9.diff","patch_url":"https://github.com/opencollab/llvm-slave-salt/pull/9.patch","issue_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/issues/9","number":9,"state":"open","locked":false,"title":"Configure OBS instance to perform Clang builds","user":{"login":"athos-ribeiro","id":2052794,"node_id":"MDQ6VXNlcjIwNTI3OTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2052794?v=4","gravatar_id":"","url":"https://api.github.com/users/athos-ribeiro","html_url":"https://github.com/athos-ribeiro","followers_url":"https://api.github.com/users/athos-ribeiro/followers","following_url":"https://api.github.com/users/athos-ribeiro/following{/other_user}","gists_url":"https://api.github.com/users/athos-ribeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/athos-ribeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athos-ribeiro/subscriptions","organizations_url":"https://api.github.com/users/athos-ribeiro/orgs","repos_url":"https://api.github.com/users/athos-ribeiro/repos","events_url":"https://api.github.com/users/athos-ribeiro/events{/privacy}","received_events_url":"https://api.github.com/users/athos-ribeiro/received_events","type":"User","site_admin":false},"body":"This commit ports the salt states available at\r\nhttps://github.com/athos-ribeiro/salt-obs to provision\r\nirill8.siege.inria.fr with capabilities to monitor Debian\r\narchives and trigger builds for newly accepted packages\r\nsubstituting GCC for Clang binaries.","created_at":"2018-08-14T05:26:21Z","updated_at":"2018-08-20T07:59:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a41ca3ffe54e3034e965dca1e4a728620a3a97a8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls/9/commits","review_comments_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls/9/comments","review_comment_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/issues/9/comments","statuses_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/statuses/5fe11aa10e9152b7ed728acf8544dd0679b62629","head":{"label":"athos-ribeiro:clang","ref":"clang","sha":"5fe11aa10e9152b7ed728acf8544dd0679b62629","user":{"login":"athos-ribeiro","id":2052794,"node_id":"MDQ6VXNlcjIwNTI3OTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2052794?v=4","gravatar_id":"","url":"https://api.github.com/users/athos-ribeiro","html_url":"https://github.com/athos-ribeiro","followers_url":"https://api.github.com/users/athos-ribeiro/followers","following_url":"https://api.github.com/users/athos-ribeiro/following{/other_user}","gists_url":"https://api.github.com/users/athos-ribeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/athos-ribeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athos-ribeiro/subscriptions","organizations_url":"https://api.github.com/users/athos-ribeiro/orgs","repos_url":"https://api.github.com/users/athos-ribeiro/repos","events_url":"https://api.github.com/users/athos-ribeiro/events{/privacy}","received_events_url":"https://api.github.com/users/athos-ribeiro/received_events","type":"User","site_admin":false},"repo":{"id":135492333,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0OTIzMzM=","name":"llvm-slave-salt","full_name":"athos-ribeiro/llvm-slave-salt","owner":{"login":"athos-ribeiro","id":2052794,"node_id":"MDQ6VXNlcjIwNTI3OTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2052794?v=4","gravatar_id":"","url":"https://api.github.com/users/athos-ribeiro","html_url":"https://github.com/athos-ribeiro","followers_url":"https://api.github.com/users/athos-ribeiro/followers","following_url":"https://api.github.com/users/athos-ribeiro/following{/other_user}","gists_url":"https://api.github.com/users/athos-ribeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/athos-ribeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athos-ribeiro/subscriptions","organizations_url":"https://api.github.com/users/athos-ribeiro/orgs","repos_url":"https://api.github.com/users/athos-ribeiro/repos","events_url":"https://api.github.com/users/athos-ribeiro/events{/privacy}","received_events_url":"https://api.github.com/users/athos-ribeiro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/athos-ribeiro/llvm-slave-salt","description":"Salt project to configure slaves of https://llvm-jenkins.debian.net/","fork":true,"url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt","forks_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/forks","keys_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/teams","hooks_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/hooks","issue_events_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/issues/events{/number}","events_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/events","assignees_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/assignees{/user}","branches_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/branches{/branch}","tags_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/tags","blobs_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/statuses/{sha}","languages_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/languages","stargazers_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/stargazers","contributors_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/contributors","subscribers_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/subscribers","subscription_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/subscription","commits_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/contents/{+path}","compare_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/merges","archive_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/downloads","issues_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/issues{/number}","pulls_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/pulls{/number}","milestones_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/milestones{/number}","notifications_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/labels{/name}","releases_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/releases{/id}","deployments_url":"https://api.github.com/repos/athos-ribeiro/llvm-slave-salt/deployments","created_at":"2018-05-30T20:08:45Z","updated_at":"2018-05-30T20:08:47Z","pushed_at":"2018-08-14T07:15:01Z","git_url":"git://github.com/athos-ribeiro/llvm-slave-salt.git","ssh_url":"git@github.com:athos-ribeiro/llvm-slave-salt.git","clone_url":"https://github.com/athos-ribeiro/llvm-slave-salt.git","svn_url":"https://github.com/athos-ribeiro/llvm-slave-salt","homepage":"","size":29,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"opencollab:master","ref":"master","sha":"420232964a134f05348453cdad3df7e5458e6222","user":{"login":"opencollab","id":7782996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc3ODI5OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/7782996?v=4","gravatar_id":"","url":"https://api.github.com/users/opencollab","html_url":"https://github.com/opencollab","followers_url":"https://api.github.com/users/opencollab/followers","following_url":"https://api.github.com/users/opencollab/following{/other_user}","gists_url":"https://api.github.com/users/opencollab/gists{/gist_id}","starred_url":"https://api.github.com/users/opencollab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencollab/subscriptions","organizations_url":"https://api.github.com/users/opencollab/orgs","repos_url":"https://api.github.com/users/opencollab/repos","events_url":"https://api.github.com/users/opencollab/events{/privacy}","received_events_url":"https://api.github.com/users/opencollab/received_events","type":"Organization","site_admin":false},"repo":{"id":133161328,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMxNjEzMjg=","name":"llvm-slave-salt","full_name":"opencollab/llvm-slave-salt","owner":{"login":"opencollab","id":7782996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc3ODI5OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/7782996?v=4","gravatar_id":"","url":"https://api.github.com/users/opencollab","html_url":"https://github.com/opencollab","followers_url":"https://api.github.com/users/opencollab/followers","following_url":"https://api.github.com/users/opencollab/following{/other_user}","gists_url":"https://api.github.com/users/opencollab/gists{/gist_id}","starred_url":"https://api.github.com/users/opencollab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencollab/subscriptions","organizations_url":"https://api.github.com/users/opencollab/orgs","repos_url":"https://api.github.com/users/opencollab/repos","events_url":"https://api.github.com/users/opencollab/events{/privacy}","received_events_url":"https://api.github.com/users/opencollab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencollab/llvm-slave-salt","description":"Salt project to configure slaves of https://llvm-jenkins.debian.net/","fork":false,"url":"https://api.github.com/repos/opencollab/llvm-slave-salt","forks_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/forks","keys_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/teams","hooks_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/hooks","issue_events_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/issues/events{/number}","events_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/events","assignees_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/assignees{/user}","branches_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/branches{/branch}","tags_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/tags","blobs_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/statuses/{sha}","languages_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/languages","stargazers_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/stargazers","contributors_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/contributors","subscribers_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/subscribers","subscription_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/subscription","commits_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/contents/{+path}","compare_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/merges","archive_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/downloads","issues_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/issues{/number}","pulls_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls{/number}","milestones_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/milestones{/number}","notifications_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/labels{/name}","releases_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/releases{/id}","deployments_url":"https://api.github.com/repos/opencollab/llvm-slave-salt/deployments","created_at":"2018-05-12T16:01:49Z","updated_at":"2018-05-22T12:55:19Z","pushed_at":"2018-08-14T07:15:02Z","git_url":"git://github.com/opencollab/llvm-slave-salt.git","ssh_url":"git@github.com:opencollab/llvm-slave-salt.git","clone_url":"https://github.com/opencollab/llvm-slave-salt.git","svn_url":"https://github.com/opencollab/llvm-slave-salt","homepage":"","size":15,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls/9"},"html":{"href":"https://github.com/opencollab/llvm-slave-salt/pull/9"},"issue":{"href":"https://api.github.com/repos/opencollab/llvm-slave-salt/issues/9"},"comments":{"href":"https://api.github.com/repos/opencollab/llvm-slave-salt/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencollab/llvm-slave-salt/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/opencollab/llvm-slave-salt/statuses/5fe11aa10e9152b7ed728acf8544dd0679b62629"}},"author_association":"NONE"}}
{"actor":{"display_login":"sylvestre"}}