{"action":"created","comment":{"url":"https://api.github.com/repos/bazelbuild/bazel/pulls/comments/230344293","pull_request_review_id":171063639,"id":230344293,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDM0NDI5Mw==","diff_hunk":"@@ -16,13 +16,35 @@\n #\n # Tests the patching functionality of external repositories.\n \n-# Load the test setup defined in the parent directory\n-CURRENT_DIR=\"$(cd \"$(dirname \"${BASH_SOURCE[0]}\")\" && pwd)\"\n-source \"${CURRENT_DIR}/../integration_test_setup.sh\" \\\n+set -euo pipefail\n+# --- begin runfiles.bash initialization ---\n+if [[ ! -d \"${RUNFILES_DIR:-/dev/null}\" && ! -f \"${RUNFILES_MANIFEST_FILE:-/dev/null}\" ]]; then\n+  if [[ -f \"$0.runfiles_manifest\" ]]; then\n+    export RUNFILES_MANIFEST_FILE=\"$0.runfiles_manifest\"\n+  elif [[ -f \"$0.runfiles/MANIFEST\" ]]; then\n+    export RUNFILES_MANIFEST_FILE=\"$0.runfiles/MANIFEST\"\n+  elif [[ -f \"$0.runfiles/bazel_tools/tools/bash/runfiles/runfiles.bash\" ]]; then\n+    export RUNFILES_DIR=\"$0.runfiles\"\n+  fi\n+fi\n+if [[ -f \"${RUNFILES_DIR:-/dev/null}/bazel_tools/tools/bash/runfiles/runfiles.bash\" ]]; then\n+  source \"${RUNFILES_DIR}/bazel_tools/tools/bash/runfiles/runfiles.bash\"\n+elif [[ -f \"${RUNFILES_MANIFEST_FILE:-/dev/null}\" ]]; then\n+  source \"$(grep -m1 \"^bazel_tools/tools/bash/runfiles/runfiles.bash \" \\\n+            \"$RUNFILES_MANIFEST_FILE\" | cut -d ' ' -f 2-)\"\n+else\n+  echo >&2 \"ERROR: cannot find @bazel_tools//tools/bash/runfiles:runfiles.bash\"\n+  exit 1\n+fi\n+# --- end runfiles.bash initialization ---\n+\n+source \"$(rlocation \"io_bazel/src/test/shell/integration_test_setup.sh\")\" \\\n   || { echo \"integration_test_setup.sh not found!\" >&2; exit 1; }\n-source \"${CURRENT_DIR}/remote_helpers.sh\" \\\n-  || { echo \"remote_helpers.sh not found!\" >&2; exit 1; }\n \n+if is_windows; then","path":"src/test/shell/bazel/external_patching_test.sh","position":34,"original_position":34,"commit_id":"33be6525ae728e22becec1e8bbe7b5f8d31236b5","original_commit_id":"15233ed0033235e58ad42c81a556a8bd0e4ea199","user":{"login":"laszlocsomor","id":10532244,"node_id":"MDQ6VXNlcjEwNTMyMjQ0","avatar_url":"https://avatars0.githubusercontent.com/u/10532244?v=4","gravatar_id":"","url":"https://api.github.com/users/laszlocsomor","html_url":"https://github.com/laszlocsomor","followers_url":"https://api.github.com/users/laszlocsomor/followers","following_url":"https://api.github.com/users/laszlocsomor/following{/other_user}","gists_url":"https://api.github.com/users/laszlocsomor/gists{/gist_id}","starred_url":"https://api.github.com/users/laszlocsomor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laszlocsomor/subscriptions","organizations_url":"https://api.github.com/users/laszlocsomor/orgs","repos_url":"https://api.github.com/users/laszlocsomor/repos","events_url":"https://api.github.com/users/laszlocsomor/events{/privacy}","received_events_url":"https://api.github.com/users/laszlocsomor/received_events","type":"User","site_admin":false},"body":"Ah, OK. Thanks for checking!","created_at":"2018-11-02T11:32:48Z","updated_at":"2018-11-02T11:32:48Z","html_url":"https://github.com/bazelbuild/bazel/pull/6561#discussion_r230344293","pull_request_url":"https://api.github.com/repos/bazelbuild/bazel/pulls/6561","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/bazelbuild/bazel/pulls/comments/230344293"},"html":{"href":"https://github.com/bazelbuild/bazel/pull/6561#discussion_r230344293"},"pull_request":{"href":"https://api.github.com/repos/bazelbuild/bazel/pulls/6561"}},"in_reply_to_id":230322311},"pull_request":{"url":"https://api.github.com/repos/bazelbuild/bazel/pulls/6561","id":227316464,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3MzE2NDY0","html_url":"https://github.com/bazelbuild/bazel/pull/6561","diff_url":"https://github.com/bazelbuild/bazel/pull/6561.diff","patch_url":"https://github.com/bazelbuild/bazel/pull/6561.patch","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6561","number":6561,"state":"open","locked":false,"title":"Windows: Port three repository tests to Windows","user":{"login":"meteorcloudy","id":4171702,"node_id":"MDQ6VXNlcjQxNzE3MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/4171702?v=4","gravatar_id":"","url":"https://api.github.com/users/meteorcloudy","html_url":"https://github.com/meteorcloudy","followers_url":"https://api.github.com/users/meteorcloudy/followers","following_url":"https://api.github.com/users/meteorcloudy/following{/other_user}","gists_url":"https://api.github.com/users/meteorcloudy/gists{/gist_id}","starred_url":"https://api.github.com/users/meteorcloudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteorcloudy/subscriptions","organizations_url":"https://api.github.com/users/meteorcloudy/orgs","repos_url":"https://api.github.com/users/meteorcloudy/repos","events_url":"https://api.github.com/users/meteorcloudy/events{/privacy}","received_events_url":"https://api.github.com/users/meteorcloudy/received_events","type":"User","site_admin":false},"body":"```\r\n//src/test/shell/bazel:external_patching_test\r\n//src/test/shell/bazel:git_repository_test\r\n//src/test/shell/bazel:skylark_git_repository_test\r\n```\r\nnow works on Windows. \\o/","created_at":"2018-10-31T14:50:43Z","updated_at":"2018-11-02T11:32:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f123f61295add8d6ee942efd8e5feb22561d0ff6","assignee":null,"assignees":[],"requested_reviewers":[{"login":"aehlig","id":9567293,"node_id":"MDQ6VXNlcjk1NjcyOTM=","avatar_url":"https://avatars0.githubusercontent.com/u/9567293?v=4","gravatar_id":"","url":"https://api.github.com/users/aehlig","html_url":"https://github.com/aehlig","followers_url":"https://api.github.com/users/aehlig/followers","following_url":"https://api.github.com/users/aehlig/following{/other_user}","gists_url":"https://api.github.com/users/aehlig/gists{/gist_id}","starred_url":"https://api.github.com/users/aehlig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aehlig/subscriptions","organizations_url":"https://api.github.com/users/aehlig/orgs","repos_url":"https://api.github.com/users/aehlig/repos","events_url":"https://api.github.com/users/aehlig/events{/privacy}","received_events_url":"https://api.github.com/users/aehlig/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":323761238,"node_id":"MDU6TGFiZWwzMjM3NjEyMzg=","url":"https://api.github.com/repos/bazelbuild/bazel/labels/cla:%20yes","name":"cla: yes","color":"009800","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/bazelbuild/bazel/pulls/6561/commits","review_comments_url":"https://api.github.com/repos/bazelbuild/bazel/pulls/6561/comments","review_comment_url":"https://api.github.com/repos/bazelbuild/bazel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6561/comments","statuses_url":"https://api.github.com/repos/bazelbuild/bazel/statuses/33be6525ae728e22becec1e8bbe7b5f8d31236b5","head":{"label":"meteorcloudy:port_repository_tests_to_windows","ref":"port_repository_tests_to_windows","sha":"33be6525ae728e22becec1e8bbe7b5f8d31236b5","user":{"login":"meteorcloudy","id":4171702,"node_id":"MDQ6VXNlcjQxNzE3MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/4171702?v=4","gravatar_id":"","url":"https://api.github.com/users/meteorcloudy","html_url":"https://github.com/meteorcloudy","followers_url":"https://api.github.com/users/meteorcloudy/followers","following_url":"https://api.github.com/users/meteorcloudy/following{/other_user}","gists_url":"https://api.github.com/users/meteorcloudy/gists{/gist_id}","starred_url":"https://api.github.com/users/meteorcloudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteorcloudy/subscriptions","organizations_url":"https://api.github.com/users/meteorcloudy/orgs","repos_url":"https://api.github.com/users/meteorcloudy/repos","events_url":"https://api.github.com/users/meteorcloudy/events{/privacy}","received_events_url":"https://api.github.com/users/meteorcloudy/received_events","type":"User","site_admin":false},"repo":{"id":58738893,"node_id":"MDEwOlJlcG9zaXRvcnk1ODczODg5Mw==","name":"bazel","full_name":"meteorcloudy/bazel","private":false,"owner":{"login":"meteorcloudy","id":4171702,"node_id":"MDQ6VXNlcjQxNzE3MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/4171702?v=4","gravatar_id":"","url":"https://api.github.com/users/meteorcloudy","html_url":"https://github.com/meteorcloudy","followers_url":"https://api.github.com/users/meteorcloudy/followers","following_url":"https://api.github.com/users/meteorcloudy/following{/other_user}","gists_url":"https://api.github.com/users/meteorcloudy/gists{/gist_id}","starred_url":"https://api.github.com/users/meteorcloudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteorcloudy/subscriptions","organizations_url":"https://api.github.com/users/meteorcloudy/orgs","repos_url":"https://api.github.com/users/meteorcloudy/repos","events_url":"https://api.github.com/users/meteorcloudy/events{/privacy}","received_events_url":"https://api.github.com/users/meteorcloudy/received_events","type":"User","site_admin":false},"html_url":"https://github.com/meteorcloudy/bazel","description":"Correct, reproducible, and fast builds for everyone.","fork":true,"url":"https://api.github.com/repos/meteorcloudy/bazel","forks_url":"https://api.github.com/repos/meteorcloudy/bazel/forks","keys_url":"https://api.github.com/repos/meteorcloudy/bazel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meteorcloudy/bazel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meteorcloudy/bazel/teams","hooks_url":"https://api.github.com/repos/meteorcloudy/bazel/hooks","issue_events_url":"https://api.github.com/repos/meteorcloudy/bazel/issues/events{/number}","events_url":"https://api.github.com/repos/meteorcloudy/bazel/events","assignees_url":"https://api.github.com/repos/meteorcloudy/bazel/assignees{/user}","branches_url":"https://api.github.com/repos/meteorcloudy/bazel/branches{/branch}","tags_url":"https://api.github.com/repos/meteorcloudy/bazel/tags","blobs_url":"https://api.github.com/repos/meteorcloudy/bazel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meteorcloudy/bazel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meteorcloudy/bazel/git/refs{/sha}","trees_url":"https://api.github.com/repos/meteorcloudy/bazel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meteorcloudy/bazel/statuses/{sha}","languages_url":"https://api.github.com/repos/meteorcloudy/bazel/languages","stargazers_url":"https://api.github.com/repos/meteorcloudy/bazel/stargazers","contributors_url":"https://api.github.com/repos/meteorcloudy/bazel/contributors","subscribers_url":"https://api.github.com/repos/meteorcloudy/bazel/subscribers","subscription_url":"https://api.github.com/repos/meteorcloudy/bazel/subscription","commits_url":"https://api.github.com/repos/meteorcloudy/bazel/commits{/sha}","git_commits_url":"https://api.github.com/repos/meteorcloudy/bazel/git/commits{/sha}","comments_url":"https://api.github.com/repos/meteorcloudy/bazel/comments{/number}","issue_comment_url":"https://api.github.com/repos/meteorcloudy/bazel/issues/comments{/number}","contents_url":"https://api.github.com/repos/meteorcloudy/bazel/contents/{+path}","compare_url":"https://api.github.com/repos/meteorcloudy/bazel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meteorcloudy/bazel/merges","archive_url":"https://api.github.com/repos/meteorcloudy/bazel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meteorcloudy/bazel/downloads","issues_url":"https://api.github.com/repos/meteorcloudy/bazel/issues{/number}","pulls_url":"https://api.github.com/repos/meteorcloudy/bazel/pulls{/number}","milestones_url":"https://api.github.com/repos/meteorcloudy/bazel/milestones{/number}","notifications_url":"https://api.github.com/repos/meteorcloudy/bazel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meteorcloudy/bazel/labels{/name}","releases_url":"https://api.github.com/repos/meteorcloudy/bazel/releases{/id}","deployments_url":"https://api.github.com/repos/meteorcloudy/bazel/deployments","created_at":"2016-05-13T12:36:12Z","updated_at":"2016-05-13T12:36:20Z","pushed_at":"2018-11-02T11:30:10Z","git_url":"git://github.com/meteorcloudy/bazel.git","ssh_url":"git@github.com:meteorcloudy/bazel.git","clone_url":"https://github.com/meteorcloudy/bazel.git","svn_url":"https://github.com/meteorcloudy/bazel","homepage":"http://bazel.io","size":514626,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bazelbuild:master","ref":"master","sha":"92849b83ad178004ee4d6428e0c1674e1a35a9a6","user":{"login":"bazelbuild","id":11684617,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNjg0NjE3","avatar_url":"https://avatars1.githubusercontent.com/u/11684617?v=4","gravatar_id":"","url":"https://api.github.com/users/bazelbuild","html_url":"https://github.com/bazelbuild","followers_url":"https://api.github.com/users/bazelbuild/followers","following_url":"https://api.github.com/users/bazelbuild/following{/other_user}","gists_url":"https://api.github.com/users/bazelbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/bazelbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bazelbuild/subscriptions","organizations_url":"https://api.github.com/users/bazelbuild/orgs","repos_url":"https://api.github.com/users/bazelbuild/repos","events_url":"https://api.github.com/users/bazelbuild/events{/privacy}","received_events_url":"https://api.github.com/users/bazelbuild/received_events","type":"Organization","site_admin":false},"repo":{"id":20773773,"node_id":"MDEwOlJlcG9zaXRvcnkyMDc3Mzc3Mw==","name":"bazel","full_name":"bazelbuild/bazel","private":false,"owner":{"login":"bazelbuild","id":11684617,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNjg0NjE3","avatar_url":"https://avatars1.githubusercontent.com/u/11684617?v=4","gravatar_id":"","url":"https://api.github.com/users/bazelbuild","html_url":"https://github.com/bazelbuild","followers_url":"https://api.github.com/users/bazelbuild/followers","following_url":"https://api.github.com/users/bazelbuild/following{/other_user}","gists_url":"https://api.github.com/users/bazelbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/bazelbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bazelbuild/subscriptions","organizations_url":"https://api.github.com/users/bazelbuild/orgs","repos_url":"https://api.github.com/users/bazelbuild/repos","events_url":"https://api.github.com/users/bazelbuild/events{/privacy}","received_events_url":"https://api.github.com/users/bazelbuild/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bazelbuild/bazel","description":"a fast, scalable, multi-language and extensible build system","fork":false,"url":"https://api.github.com/repos/bazelbuild/bazel","forks_url":"https://api.github.com/repos/bazelbuild/bazel/forks","keys_url":"https://api.github.com/repos/bazelbuild/bazel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bazelbuild/bazel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bazelbuild/bazel/teams","hooks_url":"https://api.github.com/repos/bazelbuild/bazel/hooks","issue_events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/events{/number}","events_url":"https://api.github.com/repos/bazelbuild/bazel/events","assignees_url":"https://api.github.com/repos/bazelbuild/bazel/assignees{/user}","branches_url":"https://api.github.com/repos/bazelbuild/bazel/branches{/branch}","tags_url":"https://api.github.com/repos/bazelbuild/bazel/tags","blobs_url":"https://api.github.com/repos/bazelbuild/bazel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bazelbuild/bazel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bazelbuild/bazel/git/refs{/sha}","trees_url":"https://api.github.com/repos/bazelbuild/bazel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bazelbuild/bazel/statuses/{sha}","languages_url":"https://api.github.com/repos/bazelbuild/bazel/languages","stargazers_url":"https://api.github.com/repos/bazelbuild/bazel/stargazers","contributors_url":"https://api.github.com/repos/bazelbuild/bazel/contributors","subscribers_url":"https://api.github.com/repos/bazelbuild/bazel/subscribers","subscription_url":"https://api.github.com/repos/bazelbuild/bazel/subscription","commits_url":"https://api.github.com/repos/bazelbuild/bazel/commits{/sha}","git_commits_url":"https://api.github.com/repos/bazelbuild/bazel/git/commits{/sha}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/comments{/number}","issue_comment_url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments{/number}","contents_url":"https://api.github.com/repos/bazelbuild/bazel/contents/{+path}","compare_url":"https://api.github.com/repos/bazelbuild/bazel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bazelbuild/bazel/merges","archive_url":"https://api.github.com/repos/bazelbuild/bazel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bazelbuild/bazel/downloads","issues_url":"https://api.github.com/repos/bazelbuild/bazel/issues{/number}","pulls_url":"https://api.github.com/repos/bazelbuild/bazel/pulls{/number}","milestones_url":"https://api.github.com/repos/bazelbuild/bazel/milestones{/number}","notifications_url":"https://api.github.com/repos/bazelbuild/bazel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bazelbuild/bazel/labels{/name}","releases_url":"https://api.github.com/repos/bazelbuild/bazel/releases{/id}","deployments_url":"https://api.github.com/repos/bazelbuild/bazel/deployments","created_at":"2014-06-12T16:00:38Z","updated_at":"2018-11-02T09:26:14Z","pushed_at":"2018-11-02T11:30:13Z","git_url":"git://github.com/bazelbuild/bazel.git","ssh_url":"git@github.com:bazelbuild/bazel.git","clone_url":"https://github.com/bazelbuild/bazel.git","svn_url":"https://github.com/bazelbuild/bazel","homepage":"https://bazel.build","size":516635,"stargazers_count":10350,"watchers_count":10350,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1636,"mirror_url":null,"archived":false,"open_issues_count":1639,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1636,"open_issues":1639,"watchers":10350,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bazelbuild/bazel/pulls/6561"},"html":{"href":"https://github.com/bazelbuild/bazel/pull/6561"},"issue":{"href":"https://api.github.com/repos/bazelbuild/bazel/issues/6561"},"comments":{"href":"https://api.github.com/repos/bazelbuild/bazel/issues/6561/comments"},"review_comments":{"href":"https://api.github.com/repos/bazelbuild/bazel/pulls/6561/comments"},"review_comment":{"href":"https://api.github.com/repos/bazelbuild/bazel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bazelbuild/bazel/pulls/6561/commits"},"statuses":{"href":"https://api.github.com/repos/bazelbuild/bazel/statuses/33be6525ae728e22becec1e8bbe7b5f8d31236b5"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"laszlocsomor"}}