<
5537
script type="application/json" data-target="react-app.embeddedData">{"payload":{"allShortcutsEnabled":false,"path":"scripts","repo":{"id":966741523,"defaultBranch":"master","name":"bazel","ownerLogin":"coderabbit-test","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2025-04-15T11:40:42.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/196302493?v=4","public":true,"private":false,"isOrgOwned":true},"currentUser":null,"refInfo":{"name":"clone-toolchains-in-cquery","listCacheKey":"v0:1745832898.0","canEdit":false,"refType":"branch","currentOid":"a09cf42c8f0fa7d7bc57560d5217516d09030e9f"},"tree":{"items":[{"name":"bootstrap","path":"scripts/bootstrap","contentType":"directory"},{"name":"ci","path":"scripts/ci","contentType":"directory"},{"name":"docs","path":"scripts/docs","contentType":"directory"},{"name":"fish","path":"scripts/fish","contentType":"directory"},{"name":"kokoro/release","path":"scripts/kokoro/release","contentType":"directory","hasSimplifiedPath":true},{"name":"packages","path":"scripts/packages","contentType":"directory"},{"name":"release","path":"scripts/release","contentType":"directory"},{"name":"zsh_completion","path":"scripts/zsh_completion","contentType":"directory"},{"name":"BUILD","path":"scripts/BUILD","contentType":"file"},{"name":"bash_completion_test.sh","path":"scripts/bash_completion_test.sh","contentType":"file"},{"name":"bazel-bisect.sh","path":"scripts/bazel-bisect.sh","contentType":"file"},{"name":"bazel-complete-header.bash","path":"scripts/bazel-complete-header.bash","contentType":"file"},{"name":"bazel-complete-template.bash","path":"scripts/bazel-complete-template.bash","contentType":"file"},{"name":"bazel-dev.sh","path":"scripts/bazel-dev.sh","contentType":"file"},{"name":"generate_bash_completion.sh","path":"scripts/generate_bash_completion.sh","contentType":"file"},{"name":"generate_fish_completion.py","path":"scripts/generate_fish_completion.py","contentType":"file"},{"name":"ij.bazelproject","path":"scripts/ij.bazelproject","contentType":"file"},{"name":"testenv.sh","path":"scripts/testenv.sh","contentType":"file"},{"name":"url-for-sheriff.sh","path":"scripts/url-for-sheriff.sh","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":{"displayName":"README.md","richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eBazel Release Documentation\u003c/h1\u003e\u003ca id=\"user-content-bazel-release-documentation\" class=\"anchor\" aria-label=\"Permalink: Bazel Release Documentation\" href=\"#bazel-release-documentation\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis directory contains scripts to build the versioned documentation for a new Bazel release.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eBuild release documentation\u003c/h2\u003e\u003ca id=\"user-content-build-release-documentation\" class=\"anchor\" aria-label=\"Permalink: Build release documentation\" href=\"#build-release-documentation\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eYou can build the release documentation by running this command from within a release branch:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"bazel build //scripts/docs:gen_release_docs --config=docs\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003ebazel build //scripts/docs:gen_release_docs --config=docs\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis is only necessary for testing, though. There is a separate pipeline that handles this task for actual Bazel releases.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eTest scripts\u003c/h2\u003e\u003ca id=\"user-content-test-scripts\" class=\"anchor\" aria-label=\"Permalink: Test scripts\" href=\"#test-scripts\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eYou can test some of the scripts by running the following command:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"bazel test --test_output=streamed //scripts/docs:rewriter_test\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003ebazel test --test_output=streamed //scripts/docs:rewriter_test\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/article\u003e","errorMessage":null,"headerInfo":{"toc":[{"level":1,"text":"Bazel Release Documentation","anchor":"bazel-release-documentation","htmlText":"Bazel Release Documentation"},{"level":2,"text":"Build release documentation","anchor":"build-release-documentation","htmlText":"Build release documentation"},{"level":2,"text":"Test scripts","anchor":"test-scripts","htmlText":"Test scripts"}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fcoderabbit-test%2Fbazel%2Ftree%2Fclone-toolchains-in-cquery%2Fscripts"}},"totalCount":19,"showBranchInfobar":true},"fileTree":{"":{"items":[{"name":".bazelci","path":".bazelci","contentType":"directory"},{"name":".github","path":".github","contentType":"directory"},{"name":"examples","path":"examples","contentType":"directory"},{"name":"scripts","path":"scripts","contentType":"directory"},{"name":"site","path":"site","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"third_party","path":"third_party","contentType":"directory"},{"name":"tools","path":"tools","contentType":"directory"},{"name":".bazelrc","path":".bazelrc","contentType":"file"},{"name":".bazelversion","path":".bazelversion","contentType":"file"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"AUTHORS","path":"AUTHORS","contentType":"file"},{"name":"BUILD","path":"BUILD","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"CODEOWNERS","path":"CODEOWNERS","contentType":"file"},{"name":"CODE_OF_CONDUCT.md","path":"CODE_OF_CONDUCT.md","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"CONTRIBUTORS","path":"CONTRIBUTORS","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"MODULE.bazel","path":"MODULE.bazel","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"SECURITY.md","path":"SECURITY.md","contentType":"file"},{"name":"WORKSPACE","path":"WORKSPACE","contentType":"file"},{"name":"WORKSPACE.bzlmod","path":"WORKSPACE.bzlmod","contentType":"file"},{"name":"combine_distfiles.py","path":"combine_distfiles.py","contentType":"file"},{"name":"combine_distfiles_to_tar.sh","path":"combine_distfiles_to_tar.sh","contentType":"file"},{"name":"compile.sh","path":"compile.sh","contentType":"file"},{"name":"distdir.bzl","path":"distdir.bzl","contentType":"file"},{"name":"distdir_deps.bzl","path":"distdir_deps.bzl","contentType":"file"},{"name":"extensions.bzl","path":"extensions.bzl","contentType":"file"},{"name":"maven_install.json","path":"maven_install.json","contentType":"file"},{"name":"rbe_extension.bzl","path":"rbe_extension.bzl","contentType":"file"},{"name":"repositories.bzl","path":"repositories.bzl","contentType":"file"},{"name":"requirements.txt","path":"requirements.txt","contentType":"file"}],"totalCount":35}},"fileTreeProcessingTime":2.202083,"foldersToFetch":[],"treeExpanded":true,"symbolsExpanded":false,"csrf_tokens":{"/coderabbit-test/bazel/branches":{"post":"OuNdLlq0qSgmYG39nGd9GXy1Et4mY95qZwqPMQ7b-zmIAP3HHmwNHogUbtor-qBM3tynRtuHogHJ5472s9opog"},"/coderabbit-test/bazel/branches/fetch_and_merge/clone-toolchains-in-cquery":{"post":"Ux-j9lPfe1JyS-muQF162MUnjwaqUUSqZ5_8-tqdV_Ur9TFkYVkvsten0lrHd6Pk90hxHrB6y0gFhwfCn7mKWg"},"/coderabbit-test/bazel/branches/fetch_and_merge/clone-toolchains-in-cquery?discard_changes=true":{"post":"SqI5hVzeoCnokQvoN1mtCT2SNbvyKYOfbnr-HpK_L-YySKsXblj0yU19MBywc3Q1D_3Lo-gCDH0MYgUm15vySQ"}}},"title":"bazel/scripts at clone-toolchains-in-cquery · coderabbit-test/bazel","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1b17b3e7786a.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}
You can’t perform that action at this time.