diff --git a/docs/configure/attributes.mdx b/docs/configure/attributes.mdx index 4f03c453d91eea..3b04298f579a78 100644 --- a/docs/configure/attributes.mdx +++ b/docs/configure/attributes.mdx @@ -44,7 +44,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/contribute/search.mdx b/docs/contribute/search.mdx index 7bbea560b16c42..0875dde07a3ba8 100644 --- a/docs/contribute/search.mdx +++ b/docs/contribute/search.mdx @@ -210,64 +210,64 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file: +file: filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
\ Escapes special characters, such as ., \, or (.run\(\)\ Escapes special characters, such as ., \, or (.run\(\)
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/docs/configurable-attributes.mdx b/docs/docs/configurable-attributes.mdx index 8048f3a6533ef6..f906c15fe128e1 100644 --- a/docs/docs/configurable-attributes.mdx +++ b/docs/docs/configurable-attributes.mdx @@ -44,7 +44,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/external/migration_tool.mdx b/docs/external/migration_tool.mdx index cf59c1539a8c8f..d6a365905b76a7 100644 --- a/docs/external/migration_tool.mdx +++ b/docs/external/migration_tool.mdx @@ -70,7 +70,7 @@ Before you begin: Once the prerequisites are met, run the following commands to use the migration tool: -
+
 # Clone the Bazel Central Registry repository
 git clone https://github.com/bazelbuild/bazel-central-registry.git
 cd bazel-central-registry
@@ -127,7 +127,7 @@ To see the migration script in action, consider the following scenario when
 Python, Maven and Go dependencies are declared in `WORKSPACE` file.
 
 
- + Click here to see `WORKSPACE` file @@ -267,7 +267,7 @@ Moreover, to demonstrate usage of module extension, custom macro is invoked from `WORKSPACE` and it is defined in `my_custom_macro.bzl`.
- + Click here to see `my_custom_macro.bzl` file @@ -304,27 +304,27 @@ The first step is to follow [How to Use the Migration Tool](#migration-tool-how- Then, running `migrate2bzlmod -t=//...` outputs: -
+
   bazel 7.6.1
 
   Generating ./resolved_deps.py file - It might take a while...
 
-  RESOLVED: rules_java has been introduced as a Bazel module.
-  RESOLVED: bazel_gazelle has been introduced as a Bazel module.
-  RESOLVED: io_bazel_rules_go has been introduced as a Bazel module.
-  RESOLVED: rules_python has been introduced as a Bazel module.
-  IMPORTANT: 3.11 is used as a default python version. If you need a different version, please change it manually and then rerun the migration tool.
-  RESOLVED: my_python_deps has been introduced as python extension.
-  RESOLVED: org_golang_x_net has been introduced as go extension.
-  RESOLVED: rules_jvm_external has been introduced as a Bazel module.
-  RESOLVED: org.antlr has been introduced as maven extension.
-  RESOLVED: rules_shell has been introduced as a Bazel module.
+  RESOLVED: rules_java has been introduced as a Bazel module.
+  RESOLVED: bazel_gazelle has been introduced as a Bazel module.
+  RESOLVED: io_bazel_rules_go has been introduced as a Bazel module.
+  RESOLVED: rules_python has been introduced as a Bazel module.
+  IMPORTANT: 3.11 is used as a default python version. If you need a different version, please change it manually and then rerun the migration tool.
+  RESOLVED: my_python_deps has been introduced as python extension.
+  RESOLVED: org_golang_x_net has been introduced as go extension.
+  RESOLVED: rules_jvm_external has been introduced as a Bazel module.
+  RESOLVED: org.antlr has been introduced as maven extension.
+  RESOLVED: rules_shell has been introduced as a Bazel module.
 
   Congratulations! All external repositories needed for building //... are available with Bzlmod!
-  IMPORTANT: Fix potential build time issues by running the following command:
-      bazel build --enable_bzlmod --noenable_workspace //...
+  IMPORTANT: Fix potential build time issues by running the following command:
+      bazel build --enable_bzlmod --noenable_workspace //...
 
-  IMPORTANT: For details about the migration process, check `migration_info.md` file.
+  IMPORTANT: For details about the migration process, check `migration_info.md` file.
 
which gives the following important information: @@ -346,10 +346,10 @@ which gives the following important information: This section illustrates the migration of code from the `WORKSPACE` file to `MODULE.bazel`. -
-
+
+

WORKSPACE - Bazel Module

-
+    
 http_archive(
     name = "rules_shell",
     sha256 = "3e114424a5c7e4fd43e0133cc6ecdfe54e45ae8affa14fadd839f29901424043",
@@ -358,20 +358,20 @@ http_archive(
 )
 
-
+

MODULE.bazel - Bazel Module

-
+    
 bazel_dep(name = "rules_shell", version = "0.6.1")
 
-
+
-
-
+
+

WORKSPACE - Go Extension

-
+    
 http_archive(
     name = "io_bazel_rules_go",
     integrity = "sha256-M6zErg9wUC20uJPJ/B3Xqb+ZjCPn/yxFF3QdQEmpdvg=",
@@ -406,9 +406,9 @@ go_repository(
 )
 
-
+

MODULE.bazel - Go Extension

-
+    
 go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
 go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
 
@@ -427,12 +427,12 @@ go_deps.gazelle_override(
   
-
+
-
-
+
+

WORKSPACE - Python Extension

-
+    
 http_archive(
     name = "rules_python",
     integrity = "sha256-qDdnnxOC8mlowe5vg5x9r5B5qlMSgGmh8oFd7KpjcwQ=",
@@ -459,9 +459,9 @@ python_register_toolchains(
 )
 
-
+

MODULE.bazel - Python Extension

-
+    
 pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
 pip.parse(
     hub_name = "my_python_deps",
@@ -477,12 +477,12 @@ python.toolchain(python_version = "3.11")
   
-
+
-
-
+
+

WORKSPACE - Maven Extension

-
+    
 
 RULES_JVM_EXTERNAL_TAG = "4.5"
 RULES_JVM_EXTERNAL_SHA = "b17d7388feb9bfa7f2fa09031b32707df529f26c91ab9e5d909eb1676badd9a6"
@@ -511,9 +511,9 @@ maven_install(
 )
 
-
+

MODULE.bazel - Maven Extension

-
+    
 bazel_dep(name = "rules_jvm_external", version = "6.8")
 
 maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
@@ -529,12 +529,12 @@ maven.artifact(
   
-
+
-
-
+
+

WORKSPACE - Repo rule

-
+    
 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 
 http_archive(
@@ -545,9 +545,9 @@ http_archive(
 )
 
-
+

MODULE.bazel - Repo rule

-
+    
 http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 
 http_archive(
@@ -560,12 +560,12 @@ http_archive(
   
-
+
-
-
+
+

WORKSPACE - Module extension

-
+    
 load(":my_custom_macro.bzl", "my_custom_macro")
 
 my_custom_macro(
@@ -573,14 +573,14 @@ my_custom_macro(
 )
 
-
+

MODULE.bazel - Module extension

-
+    
 extension_for_my_custom_macro = use_extension("//:extension_for_my_custom_macro.bzl", "extension_for_my_custom_macro")
 use_repo(extension_for_my_custom_macro, "my_custom_repo")
 

extension_for_my_custom_macro.bzl

-
+    
 load("//:my_custom_macro.bzl", "my_custom_macro")
 
 def _extension_for_my_custom_macro_impl(ctx):
@@ -593,7 +593,7 @@ extension_for_my_custom_macro = module_extension(implementation = _extension_for
   
-
+
## Tips with debugging {#migration-tool-tips} @@ -641,7 +641,7 @@ from scratch if it's the first run or if the [`--i` flag](#migration-script-flag declared in the `WORKSPACE` file, which is particularly useful for the debugging. You can see it as: -
+    
     > Click here to see where and how the repo was declared in the WORKSPACE
     file
     
@@ -650,7 +650,7 @@ from scratch if it's the first run or if the [`--i` flag](#migration-script-flag earlier [Migration Example](#migration-tool-example), that would look as: 1. Bazel module Dependency - `Migration of rules_python` -
+        
         Found perfect name match in BCR: rules_python
         Found partially name matches in BCR: rules_python_gazelle_plugin
 
@@ -663,7 +663,7 @@ from scratch if it's the first run or if the [`--i` flag](#migration-script-flag
       added.
     2.  Python extension - `Migration of my_python_deps`
 
-        
+        
         pip.parse(
             hub_name = "my_python_deps",
             requirements_lock = "//:requirements_lock.txt",
@@ -674,7 +674,7 @@ from scratch if it's the first run or if the [`--i` flag](#migration-script-flag
 
     3.  Maven extension - `Migration of org.antlr (px_deps):`
 
-        
+        
         maven.artifact(
             name = "px_deps",
             group = "org.antlr",
@@ -685,7 +685,7 @@ from scratch if it's the first run or if the [`--i` flag](#migration-script-flag
 
     4.  Go extension - `Migration of org_golang_x_net`
 
-        
+        
         go_deps.from_file(go_mod = "//:go.mod")
         go_sdk.from_file(go_mod = "//:go.mod")
 
diff --git a/docs/external/mod-command.mdx b/docs/external/mod-command.mdx
index 9eea1572d91977..802d9a6e5e1485 100644
--- a/docs/external/mod-command.mdx
+++ b/docs/external/mod-command.mdx
@@ -207,11 +207,11 @@ use_repo(toolchains, my_jdk="remotejdk17_linux")
 ```
 
 
Command deps =
- - + -
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
{/* digraph mygraph { node [ shape=box ] @@ -238,10 +238,10 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") "rules_java@4.0.0" -> "bazel_skylib@1.0.3" [ ] } */}
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
{/* digraph mygraph { node [ shape=box ] diff --git a/docs/release/rolling.mdx b/docs/release/rolling.mdx index e4a87b3ffa92f2..61a1e0fc828dc4 100644 --- a/docs/release/rolling.mdx +++ b/docs/release/rolling.mdx @@ -11,4 +11,4 @@ these releases. ## Index {#index} - + diff --git a/docs/versions/7.6.1/configure/attributes.mdx b/docs/versions/7.6.1/configure/attributes.mdx index faa32464b6bc4b..6a37aacfdf8d07 100644 --- a/docs/versions/7.6.1/configure/attributes.mdx +++ b/docs/versions/7.6.1/configure/attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/7.6.1/contribute/search.mdx b/docs/versions/7.6.1/contribute/search.mdx index 89e394c065783a..33ee794f8e1474 100644 --- a/docs/versions/7.6.1/contribute/search.mdx +++ b/docs/versions/7.6.1/contribute/search.mdx @@ -210,62 +210,62 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file:filepath:
+
file:filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
\\Escapes special characters, such as ., \, or (.run\(\)\\Escapes special characters, such as ., \, or (.run\(\)
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/versions/7.6.1/docs/configurable-attributes.mdx b/docs/versions/7.6.1/docs/configurable-attributes.mdx index f24dc320de1016..4a8a569e620b51 100644 --- a/docs/versions/7.6.1/docs/configurable-attributes.mdx +++ b/docs/versions/7.6.1/docs/configurable-attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/7.6.1/external/mod-command.mdx b/docs/versions/7.6.1/external/mod-command.mdx index 5770b764831219..231f3d7164c918 100644 --- a/docs/versions/7.6.1/external/mod-command.mdx +++ b/docs/versions/7.6.1/external/mod-command.mdx @@ -186,11 +186,11 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") ```
Command deps =
- - + -
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
{/* digraph mygraph { node [ shape=box ] @@ -217,10 +217,10 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") "rules_java@4.0.0" -> "bazel_skylib@1.0.3" [ ] } */}
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
{/* digraph mygraph { node [ shape=box ] diff --git a/docs/versions/7.7.1/configure/attributes.mdx b/docs/versions/7.7.1/configure/attributes.mdx index 57198598ec547c..8af6445a8f0f9e 100644 --- a/docs/versions/7.7.1/configure/attributes.mdx +++ b/docs/versions/7.7.1/configure/attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/7.7.1/contribute/search.mdx b/docs/versions/7.7.1/contribute/search.mdx index 89e394c065783a..33ee794f8e1474 100644 --- a/docs/versions/7.7.1/contribute/search.mdx +++ b/docs/versions/7.7.1/contribute/search.mdx @@ -210,62 +210,62 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file:filepath:
+
file:filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
\\Escapes special characters, such as ., \, or (.run\(\)\\Escapes special characters, such as ., \, or (.run\(\)
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/versions/7.7.1/docs/configurable-attributes.mdx b/docs/versions/7.7.1/docs/configurable-attributes.mdx index 585578aa39ddc5..2cfddcc7be5c81 100644 --- a/docs/versions/7.7.1/docs/configurable-attributes.mdx +++ b/docs/versions/7.7.1/docs/configurable-attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/7.7.1/external/mod-command.mdx b/docs/versions/7.7.1/external/mod-command.mdx index 8d7e65dc7bcab5..d86de510eb805b 100644 --- a/docs/versions/7.7.1/external/mod-command.mdx +++ b/docs/versions/7.7.1/external/mod-command.mdx @@ -187,11 +187,11 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") ```
Command deps =
- - + -
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
{/* digraph mygraph { node [ shape=box ] @@ -218,10 +218,10 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") "rules_java@4.0.0" -> "bazel_skylib@1.0.3" [ ] } */}
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
{/* digraph mygraph { node [ shape=box ] diff --git a/docs/versions/8.0.1/configure/attributes.mdx b/docs/versions/8.0.1/configure/attributes.mdx index 0e15e5fa0cc8b0..2b3fa5b85d7c09 100644 --- a/docs/versions/8.0.1/configure/attributes.mdx +++ b/docs/versions/8.0.1/configure/attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.0.1/contribute/search.mdx b/docs/versions/8.0.1/contribute/search.mdx index 9a721b882cd72e..50dc416494c92a 100644 --- a/docs/versions/8.0.1/contribute/search.mdx +++ b/docs/versions/8.0.1/contribute/search.mdx @@ -210,62 +210,62 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file:filepath:
+
file:filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
\Escapes special characters, such as ., \, or (.run\(\)\Escapes special characters, such as ., \, or (.run\(\)
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/versions/8.0.1/docs/configurable-attributes.mdx b/docs/versions/8.0.1/docs/configurable-attributes.mdx index a13cd76376edf6..7780d6d946cf16 100644 --- a/docs/versions/8.0.1/docs/configurable-attributes.mdx +++ b/docs/versions/8.0.1/docs/configurable-attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.0.1/external/mod-command.mdx b/docs/versions/8.0.1/external/mod-command.mdx index 2d0b79784ffa3d..36632e62b00947 100644 --- a/docs/versions/8.0.1/external/mod-command.mdx +++ b/docs/versions/8.0.1/external/mod-command.mdx @@ -186,11 +186,11 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") ```
Command deps =
- - + -
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
{/* digraph mygraph { node [ shape=box ] @@ -217,10 +217,10 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") "rules_java@4.0.0" -> "bazel_skylib@1.0.3" [ ] } */}
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
{/* digraph mygraph { node [ shape=box ] diff --git a/docs/versions/8.0.1/release/rolling.mdx b/docs/versions/8.0.1/release/rolling.mdx index fc3613f93353b8..42ae1e01738d3b 100644 --- a/docs/versions/8.0.1/release/rolling.mdx +++ b/docs/versions/8.0.1/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/docs/versions/8.1.1/configure/attributes.mdx b/docs/versions/8.1.1/configure/attributes.mdx index 9d99de1c5ea785..c28a535845eb85 100644 --- a/docs/versions/8.1.1/configure/attributes.mdx +++ b/docs/versions/8.1.1/configure/attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.1.1/contribute/search.mdx b/docs/versions/8.1.1/contribute/search.mdx index 89e394c065783a..33ee794f8e1474 100644 --- a/docs/versions/8.1.1/contribute/search.mdx +++ b/docs/versions/8.1.1/contribute/search.mdx @@ -210,62 +210,62 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file:filepath:
+
file:filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
\\Escapes special characters, such as ., \, or (.run\(\)\\Escapes special characters, such as ., \, or (.run\(\)
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/versions/8.1.1/docs/configurable-attributes.mdx b/docs/versions/8.1.1/docs/configurable-attributes.mdx index 9e4a30a3a7d8a9..c272fd02814326 100644 --- a/docs/versions/8.1.1/docs/configurable-attributes.mdx +++ b/docs/versions/8.1.1/docs/configurable-attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.1.1/external/mod-command.mdx b/docs/versions/8.1.1/external/mod-command.mdx index 9d0ddf4462e4fe..6d37062b30d1d1 100644 --- a/docs/versions/8.1.1/external/mod-command.mdx +++ b/docs/versions/8.1.1/external/mod-command.mdx @@ -186,11 +186,11 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") ```
Command deps =
- - + -
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
{/* digraph mygraph { node [ shape=box ] @@ -217,10 +217,10 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") "rules_java@4.0.0" -> "bazel_skylib@1.0.3" [ ] } */}
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
{/* digraph mygraph { node [ shape=box ] diff --git a/docs/versions/8.1.1/release/rolling.mdx b/docs/versions/8.1.1/release/rolling.mdx index 1a7ce5aafdadf3..c9ded8709dfb83 100644 --- a/docs/versions/8.1.1/release/rolling.mdx +++ b/docs/versions/8.1.1/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/docs/versions/8.2.1/configure/attributes.mdx b/docs/versions/8.2.1/configure/attributes.mdx index 62c4cf91c8a6e4..bea003d180fc16 100644 --- a/docs/versions/8.2.1/configure/attributes.mdx +++ b/docs/versions/8.2.1/configure/attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.2.1/contribute/search.mdx b/docs/versions/8.2.1/contribute/search.mdx index 791dd72b971063..3e0ee2a6f4e598 100644 --- a/docs/versions/8.2.1/contribute/search.mdx +++ b/docs/versions/8.2.1/contribute/search.mdx @@ -210,62 +210,62 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file:filepath:
+
file:filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
`\`Escapes special characters, such as ., \, or (.run\(\)`\`Escapes special characters, such as ., \, or (.run\(\)
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/versions/8.2.1/docs/configurable-attributes.mdx b/docs/versions/8.2.1/docs/configurable-attributes.mdx index 9db8b8ee21b54b..80e08920ca14b0 100644 --- a/docs/versions/8.2.1/docs/configurable-attributes.mdx +++ b/docs/versions/8.2.1/docs/configurable-attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.2.1/external/mod-command.mdx b/docs/versions/8.2.1/external/mod-command.mdx index f633234f127ba0..bc18da840b78b3 100644 --- a/docs/versions/8.2.1/external/mod-command.mdx +++ b/docs/versions/8.2.1/external/mod-command.mdx @@ -186,11 +186,11 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") ```
Command deps =
- - + -
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
{/* digraph mygraph { node [ shape=box ] @@ -217,10 +217,10 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") "rules_java@4.0.0" -> "bazel_skylib@1.0.3" [ ] } */}
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
{/* digraph mygraph { node [ shape=box ] diff --git a/docs/versions/8.2.1/release/rolling.mdx b/docs/versions/8.2.1/release/rolling.mdx index a616bef762f96c..e76532dcf9da42 100644 --- a/docs/versions/8.2.1/release/rolling.mdx +++ b/docs/versions/8.2.1/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/docs/versions/8.3.1/configure/attributes.mdx b/docs/versions/8.3.1/configure/attributes.mdx index cc1a8e45b74e83..9234424c4a2142 100644 --- a/docs/versions/8.3.1/configure/attributes.mdx +++ b/docs/versions/8.3.1/configure/attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.3.1/contribute/search.mdx b/docs/versions/8.3.1/contribute/search.mdx index 89e394c065783a..33ee794f8e1474 100644 --- a/docs/versions/8.3.1/contribute/search.mdx +++ b/docs/versions/8.3.1/contribute/search.mdx @@ -210,62 +210,62 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file:filepath:
+
file:filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
\\Escapes special characters, such as ., \, or (.run\(\)\\Escapes special characters, such as ., \, or (.run\(\)
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/versions/8.3.1/docs/configurable-attributes.mdx b/docs/versions/8.3.1/docs/configurable-attributes.mdx index d7e6c38cc7c105..e61a31cf095288 100644 --- a/docs/versions/8.3.1/docs/configurable-attributes.mdx +++ b/docs/versions/8.3.1/docs/configurable-attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.3.1/external/mod-command.mdx b/docs/versions/8.3.1/external/mod-command.mdx index 479bcc401eeb00..e33790d247ad89 100644 --- a/docs/versions/8.3.1/external/mod-command.mdx +++ b/docs/versions/8.3.1/external/mod-command.mdx @@ -186,11 +186,11 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") ```
Command deps =
- - + -
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
{/* digraph mygraph { node [ shape=box ] @@ -217,10 +217,10 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") "rules_java@4.0.0" -> "bazel_skylib@1.0.3" [ ] } */}
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
{/* digraph mygraph { node [ shape=box ] diff --git a/docs/versions/8.3.1/release/rolling.mdx b/docs/versions/8.3.1/release/rolling.mdx index a9d4df5c361226..e8a57ef0622a95 100644 --- a/docs/versions/8.3.1/release/rolling.mdx +++ b/docs/versions/8.3.1/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/docs/versions/8.4.2/configure/attributes.mdx b/docs/versions/8.4.2/configure/attributes.mdx index 4b70c4b2db75a7..c4cc4a8f10165e 100644 --- a/docs/versions/8.4.2/configure/attributes.mdx +++ b/docs/versions/8.4.2/configure/attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.4.2/contribute/search.mdx b/docs/versions/8.4.2/contribute/search.mdx index 89e394c065783a..33ee794f8e1474 100644 --- a/docs/versions/8.4.2/contribute/search.mdx +++ b/docs/versions/8.4.2/contribute/search.mdx @@ -210,62 +210,62 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file:filepath:
+
file:filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
\\Escapes special characters, such as ., \, or (.run\(\)\\Escapes special characters, such as ., \, or (.run\(\)
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/versions/8.4.2/docs/configurable-attributes.mdx b/docs/versions/8.4.2/docs/configurable-attributes.mdx index 2f54aeb4d76ff5..728dfc9fa0075b 100644 --- a/docs/versions/8.4.2/docs/configurable-attributes.mdx +++ b/docs/versions/8.4.2/docs/configurable-attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.4.2/external/mod-command.mdx b/docs/versions/8.4.2/external/mod-command.mdx index e27755a5e2188a..159a19b8301811 100644 --- a/docs/versions/8.4.2/external/mod-command.mdx +++ b/docs/versions/8.4.2/external/mod-command.mdx @@ -186,11 +186,11 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") ```
Command deps =
- - + -
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
{/* digraph mygraph { node [ shape=box ] @@ -217,10 +217,10 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") "rules_java@4.0.0" -> "bazel_skylib@1.0.3" [ ] } */}
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
{/* digraph mygraph { node [ shape=box ] diff --git a/docs/versions/8.4.2/release/rolling.mdx b/docs/versions/8.4.2/release/rolling.mdx index 059b827687a7b2..4aba6ac2a42b2d 100644 --- a/docs/versions/8.4.2/release/rolling.mdx +++ b/docs/versions/8.4.2/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/docs/versions/8.5.1/configure/attributes.mdx b/docs/versions/8.5.1/configure/attributes.mdx index 2578064679a9b4..0ac773dcf95f92 100644 --- a/docs/versions/8.5.1/configure/attributes.mdx +++ b/docs/versions/8.5.1/configure/attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.5.1/contribute/search.mdx b/docs/versions/8.5.1/contribute/search.mdx index b081e3ad6acda0..40be6720723e13 100644 --- a/docs/versions/8.5.1/contribute/search.mdx +++ b/docs/versions/8.5.1/contribute/search.mdx @@ -210,62 +210,62 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file:filepath:
+
file:filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
\\Escapes special characters, such as ., \, or (.run\(\)\\Escapes special characters, such as ., \, or (.run\(\)
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/versions/8.5.1/docs/configurable-attributes.mdx b/docs/versions/8.5.1/docs/configurable-attributes.mdx index 84eff4135467f5..37689d4a3eb669 100644 --- a/docs/versions/8.5.1/docs/configurable-attributes.mdx +++ b/docs/versions/8.5.1/docs/configurable-attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.5.1/external/mod-command.mdx b/docs/versions/8.5.1/external/mod-command.mdx index 5ec3e3776241d8..1be533aba0ca86 100644 --- a/docs/versions/8.5.1/external/mod-command.mdx +++ b/docs/versions/8.5.1/external/mod-command.mdx @@ -187,11 +187,11 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") ```
Command deps =
- - + -
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
{/* digraph mygraph { node [ shape=box ] @@ -218,10 +218,10 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") "rules_java@4.0.0" -> "bazel_skylib@1.0.3" [ ] } */}
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
{/* digraph mygraph { node [ shape=box ] diff --git a/docs/versions/8.5.1/release/rolling.mdx b/docs/versions/8.5.1/release/rolling.mdx index 9c0ad335f47cc7..43bdfb06ba5ed1 100644 --- a/docs/versions/8.5.1/release/rolling.mdx +++ b/docs/versions/8.5.1/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/docs/versions/8.6.0/configure/attributes.mdx b/docs/versions/8.6.0/configure/attributes.mdx index b9fde83c13c9a8..dffcfbc3008068 100644 --- a/docs/versions/8.6.0/configure/attributes.mdx +++ b/docs/versions/8.6.0/configure/attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.6.0/contribute/search.mdx b/docs/versions/8.6.0/contribute/search.mdx index 21b9cc2211836f..00ac2a00084aa8 100644 --- a/docs/versions/8.6.0/contribute/search.mdx +++ b/docs/versions/8.6.0/contribute/search.mdx @@ -210,62 +210,62 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file:filepath:
+
file:filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
`\`Escapes special characters, such as ., \, or (.run\(\)`\`Escapes special characters, such as ., \, or (.run\(\)
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/versions/8.6.0/docs/configurable-attributes.mdx b/docs/versions/8.6.0/docs/configurable-attributes.mdx index 2049810eaa49c8..fd3834d7ac2477 100644 --- a/docs/versions/8.6.0/docs/configurable-attributes.mdx +++ b/docs/versions/8.6.0/docs/configurable-attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.6.0/external/mod-command.mdx b/docs/versions/8.6.0/external/mod-command.mdx index 861ede54d56d3a..ab3dd37dc07066 100644 --- a/docs/versions/8.6.0/external/mod-command.mdx +++ b/docs/versions/8.6.0/external/mod-command.mdx @@ -213,11 +213,11 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") ```
Command deps =
- - + -
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
{/* digraph mygraph { node [ shape=box ] @@ -244,10 +244,10 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") "rules_java@4.0.0" -> "bazel_skylib@1.0.3" [ ] } */}
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
{/* digraph mygraph { node [ shape=box ] diff --git a/docs/versions/8.6.0/release/rolling.mdx b/docs/versions/8.6.0/release/rolling.mdx index 718bbdf4c494f2..4ab04980e56770 100644 --- a/docs/versions/8.6.0/release/rolling.mdx +++ b/docs/versions/8.6.0/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index - + diff --git a/docs/versions/8.7.0/configure/attributes.mdx b/docs/versions/8.7.0/configure/attributes.mdx index 3df895c4337848..789c1d9eb27068 100644 --- a/docs/versions/8.7.0/configure/attributes.mdx +++ b/docs/versions/8.7.0/configure/attributes.mdx @@ -43,7 +43,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.7.0/contribute/search.mdx b/docs/versions/8.7.0/contribute/search.mdx index e72d9cf2704d2c..60bc67e8ae507b 100644 --- a/docs/versions/8.7.0/contribute/search.mdx +++ b/docs/versions/8.7.0/contribute/search.mdx @@ -210,62 +210,62 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file:filepath:
+
file:filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
\\Escapes special characters, such as ., \, or (.run\(\)\\Escapes special characters, such as ., \, or (.run\(\)
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/versions/8.7.0/docs/configurable-attributes.mdx b/docs/versions/8.7.0/docs/configurable-attributes.mdx index 4cfd1a35a90f5b..0363a963d37652 100644 --- a/docs/versions/8.7.0/docs/configurable-attributes.mdx +++ b/docs/versions/8.7.0/docs/configurable-attributes.mdx @@ -43,7 +43,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/8.7.0/external/mod-command.mdx b/docs/versions/8.7.0/external/mod-command.mdx index 918b56e94de267..c43c6cd8726dd2 100644 --- a/docs/versions/8.7.0/external/mod-command.mdx +++ b/docs/versions/8.7.0/external/mod-command.mdx @@ -219,18 +219,18 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") ```
Command deps =
- - + - diff --git a/docs/versions/8.7.0/release/rolling.mdx b/docs/versions/8.7.0/release/rolling.mdx index 48b26e371d6f01..6e53cc6f25aaee 100644 --- a/docs/versions/8.7.0/release/rolling.mdx +++ b/docs/versions/8.7.0/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/docs/versions/9.0.0/configure/attributes.mdx b/docs/versions/9.0.0/configure/attributes.mdx index 8bcd5bc28f4a7b..2ac9d741ee04b9 100644 --- a/docs/versions/9.0.0/configure/attributes.mdx +++ b/docs/versions/9.0.0/configure/attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes:
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
- + diff --git a/docs/versions/9.0.0/contribute/search.mdx b/docs/versions/9.0.0/contribute/search.mdx index 9a721b882cd72e..50dc416494c92a 100644 --- a/docs/versions/9.0.0/contribute/search.mdx +++ b/docs/versions/9.0.0/contribute/search.mdx @@ -210,62 +210,62 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file:filepath:
+
file:filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
\Escapes special characters, such as ., \, or (.run\(\)\Escapes special characters, such as ., \, or (.run\(\)
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/versions/9.0.0/docs/configurable-attributes.mdx b/docs/versions/9.0.0/docs/configurable-attributes.mdx index ba33ddb0bfdcc6..9f7f0a6cd483e3 100644 --- a/docs/versions/9.0.0/docs/configurable-attributes.mdx +++ b/docs/versions/9.0.0/docs/configurable-attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/9.0.0/external/migration_tool.mdx b/docs/versions/9.0.0/external/migration_tool.mdx index 3cdaaf3498c1e1..195f2b57f1f560 100644 --- a/docs/versions/9.0.0/external/migration_tool.mdx +++ b/docs/versions/9.0.0/external/migration_tool.mdx @@ -68,7 +68,7 @@ Before you begin: Once the prerequisites are met, run the following commands to use the migration tool: -
+
 # Clone the Bazel Central Registry repository
 git clone https://github.com/bazelbuild/bazel-central-registry.git
 cd bazel-central-registry
@@ -125,7 +125,7 @@ To see the migration script in action, consider the following scenario when
 Python, Maven and Go dependencies are declared in `WORKSPACE` file.
 
 
- + Click here to see `WORKSPACE` file @@ -265,7 +265,7 @@ Moreover, to demonstrate usage of module extension, custom macro is invoked from `WORKSPACE` and it is defined in `my_custom_macro.bzl`.
- + Click here to see `my_custom_macro.bzl` file @@ -302,27 +302,27 @@ The first step is to follow [How to Use the Migration Tool](#migration-tool-how- Then, running `migrate2bzlmod -t=//...` outputs: -
+
   bazel 7.6.1
 
   Generating ./resolved_deps.py file - It might take a while...
 
-  RESOLVED: rules_java has been introduced as a Bazel module.
-  RESOLVED: bazel_gazelle has been introduced as a Bazel module.
-  RESOLVED: io_bazel_rules_go has been introduced as a Bazel module.
-  RESOLVED: rules_python has been introduced as a Bazel module.
-  IMPORTANT: 3.11 is used as a default python version. If you need a different version, please change it manually and then rerun the migration tool.
-  RESOLVED: my_python_deps has been introduced as python extension.
-  RESOLVED: org_golang_x_net has been introduced as go extension.
-  RESOLVED: rules_jvm_external has been introduced as a Bazel module.
-  RESOLVED: org.antlr has been introduced as maven extension.
-  RESOLVED: rules_shell has been introduced as a Bazel module.
+  RESOLVED: rules_java has been introduced as a Bazel module.
+  RESOLVED: bazel_gazelle has been introduced as a Bazel module.
+  RESOLVED: io_bazel_rules_go has been introduced as a Bazel module.
+  RESOLVED: rules_python has been introduced as a Bazel module.
+  IMPORTANT: 3.11 is used as a default python version. If you need a different version, please change it manually and then rerun the migration tool.
+  RESOLVED: my_python_deps has been introduced as python extension.
+  RESOLVED: org_golang_x_net has been introduced as go extension.
+  RESOLVED: rules_jvm_external has been introduced as a Bazel module.
+  RESOLVED: org.antlr has been introduced as maven extension.
+  RESOLVED: rules_shell has been introduced as a Bazel module.
 
   Congratulations! All external repositories needed for building //... are available with Bzlmod!
-  IMPORTANT: Fix potential build time issues by running the following command:
-      bazel build --enable_bzlmod --noenable_workspace //...
+  IMPORTANT: Fix potential build time issues by running the following command:
+      bazel build --enable_bzlmod --noenable_workspace //...
 
-  IMPORTANT: For details about the migration process, check `migration_info.md` file.
+  IMPORTANT: For details about the migration process, check `migration_info.md` file.
 
which gives the following important information: @@ -344,10 +344,10 @@ which gives the following important information: This section illustrates the migration of code from the `WORKSPACE` file to `MODULE.bazel`. -
-
+
+

WORKSPACE - Bazel Module

-
+    
 http_archive(
     name = "rules_shell",
     sha256 = "3e114424a5c7e4fd43e0133cc6ecdfe54e45ae8affa14fadd839f29901424043",
@@ -356,20 +356,20 @@ http_archive(
 )
 
-
+

MODULE.bazel - Bazel Module

-
+    
 bazel_dep(name = "rules_shell", version = "0.6.1")
 
-
+
-
-
+
+

WORKSPACE - Go Extension

-
+    
 http_archive(
     name = "io_bazel_rules_go",
     integrity = "sha256-M6zErg9wUC20uJPJ/B3Xqb+ZjCPn/yxFF3QdQEmpdvg=",
@@ -404,9 +404,9 @@ go_repository(
 )
 
-
+

MODULE.bazel - Go Extension

-
+    
 go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
 go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
 
@@ -425,12 +425,12 @@ go_deps.gazelle_override(
   
-
+
-
-
+
+

WORKSPACE - Python Extension

-
+    
 http_archive(
     name = "rules_python",
     integrity = "sha256-qDdnnxOC8mlowe5vg5x9r5B5qlMSgGmh8oFd7KpjcwQ=",
@@ -457,9 +457,9 @@ python_register_toolchains(
 )
 
-
+

MODULE.bazel - Python Extension

-
+    
 pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
 pip.parse(
     hub_name = "my_python_deps",
@@ -475,12 +475,12 @@ python.toolchain(python_version = "3.11")
   
-
+
-
-
+
+

WORKSPACE - Maven Extension

-
+    
 
 RULES_JVM_EXTERNAL_TAG = "4.5"
 RULES_JVM_EXTERNAL_SHA = "b17d7388feb9bfa7f2fa09031b32707df529f26c91ab9e5d909eb1676badd9a6"
@@ -509,9 +509,9 @@ maven_install(
 )
 
-
+

MODULE.bazel - Maven Extension

-
+    
 bazel_dep(name = "rules_jvm_external", version = "6.8")
 
 maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
@@ -527,12 +527,12 @@ maven.artifact(
   
-
+
-
-
+
+

WORKSPACE - Repo rule

-
+    
 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 
 http_archive(
@@ -543,9 +543,9 @@ http_archive(
 )
 
-
+

MODULE.bazel - Repo rule

-
+    
 http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 
 http_archive(
@@ -558,12 +558,12 @@ http_archive(
   
-
+
-
-
+
+

WORKSPACE - Module extension

-
+    
 load(":my_custom_macro.bzl", "my_custom_macro")
 
 my_custom_macro(
@@ -571,14 +571,14 @@ my_custom_macro(
 )
 
-
+

MODULE.bazel - Module extension

-
+    
 extension_for_my_custom_macro = use_extension("//:extension_for_my_custom_macro.bzl", "extension_for_my_custom_macro")
 use_repo(extension_for_my_custom_macro, "my_custom_repo")
 

extension_for_my_custom_macro.bzl

-
+    
 load("//:my_custom_macro.bzl", "my_custom_macro")
 
 def _extension_for_my_custom_macro_impl(ctx):
@@ -591,7 +591,7 @@ extension_for_my_custom_macro = module_extension(implementation = _extension_for
   
-
+
## Tips with debugging {#migration-tool-tips} @@ -639,7 +639,7 @@ from scratch if it's the first run or if the [`--i` flag](#migration-script-flag declared in the `WORKSPACE` file, which is particularly useful for the debugging. You can see it as: -
+    
     > Click here to see where and how the repo was declared in the WORKSPACE
     file
     
@@ -648,7 +648,7 @@ from scratch if it's the first run or if the [`--i` flag](#migration-script-flag earlier [Migration Example](#migration-tool-example), that would look as: 1. Bazel module Dependency - `Migration of rules_python` -
+        
         Found perfect name match in BCR: rules_python
         Found partially name matches in BCR: rules_python_gazelle_plugin
 
@@ -661,7 +661,7 @@ from scratch if it's the first run or if the [`--i` flag](#migration-script-flag
       added.
     2.  Python extension - `Migration of my_python_deps`
 
-        
+        
         pip.parse(
             hub_name = "my_python_deps",
             requirements_lock = "//:requirements_lock.txt",
@@ -672,7 +672,7 @@ from scratch if it's the first run or if the [`--i` flag](#migration-script-flag
 
     3.  Maven extension - `Migration of org.antlr (px_deps):`
 
-        
+        
         maven.artifact(
             name = "px_deps",
             group = "org.antlr",
@@ -683,7 +683,7 @@ from scratch if it's the first run or if the [`--i` flag](#migration-script-flag
 
     4.  Go extension - `Migration of org_golang_x_net`
 
-        
+        
         go_deps.from_file(go_mod = "//:go.mod")
         go_sdk.from_file(go_mod = "//:go.mod")
 
diff --git a/docs/versions/9.0.0/external/mod-command.mdx b/docs/versions/9.0.0/external/mod-command.mdx
index 6452bd61fccd08..ccd843ab82f6b4 100644
--- a/docs/versions/9.0.0/external/mod-command.mdx
+++ b/docs/versions/9.0.0/external/mod-command.mdx
@@ -204,11 +204,11 @@ use_repo(toolchains, my_jdk="remotejdk17_linux")
 ```
 
 
Command deps =
- - + -
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
{/* digraph mygraph { node [ shape=box ] @@ -235,10 +235,10 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") "rules_java@4.0.0" -> "bazel_skylib@1.0.3" [ ] } */}
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
{/* digraph mygraph { node [ shape=box ] diff --git a/docs/versions/9.0.0/release/rolling.mdx b/docs/versions/9.0.0/release/rolling.mdx index f158f563df5237..8aaeb7251504d7 100644 --- a/docs/versions/9.0.0/release/rolling.mdx +++ b/docs/versions/9.0.0/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/docs/versions/9.1.0/configure/attributes.mdx b/docs/versions/9.1.0/configure/attributes.mdx index 61e430a160d7a1..2be60baf225bc8 100644 --- a/docs/versions/9.1.0/configure/attributes.mdx +++ b/docs/versions/9.1.0/configure/attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/9.1.0/contribute/search.mdx b/docs/versions/9.1.0/contribute/search.mdx index 704c230b406bea..479bfa877fc0ef 100644 --- a/docs/versions/9.1.0/contribute/search.mdx +++ b/docs/versions/9.1.0/contribute/search.mdx @@ -210,62 +210,62 @@ You can refine your search using the following filters.
Command deps =
- - - - + + + + - - - - + + + + - - + - - + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +
FilterOther optionsDescriptionExampleFilterOther optionsDescriptionExample
lang:language:Perform an exact match by file language.lang:java testlang:language:Perform an exact match by file language.lang:java test
file:filepath:
+
file:filepath:
path:
f:
case:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello Worldcase:yesMake the search case sensitive. By default, searches are not case-sensitive.case:yes Hello World
class:Search for a class name.class:MainClassclass:Search for a class name.class:MainClass
function:func:Search for a function name.function:printfunction:func:Search for a function name.function:print
-Negates the term from the search.hello -world-Negates the term from the search.hello -world
`\`Escapes special characters, such as ., \, or (.`run\(\)``\`Escapes special characters, such as ., \, or (.`run\(\)`
"[term]"Perform a literal search."class:main""[term]"Perform a literal search."class:main"
diff --git a/docs/versions/9.1.0/docs/configurable-attributes.mdx b/docs/versions/9.1.0/docs/configurable-attributes.mdx index c1400ecad87db5..1321a961a691b8 100644 --- a/docs/versions/9.1.0/docs/configurable-attributes.mdx +++ b/docs/versions/9.1.0/docs/configurable-attributes.mdx @@ -42,7 +42,7 @@ This declares a `cc_binary` that "chooses" its deps based on the flags at the command line. Specifically, `deps` becomes: - + diff --git a/docs/versions/9.1.0/external/migration_tool.mdx b/docs/versions/9.1.0/external/migration_tool.mdx index ed2250c953e792..0d98e263b15607 100644 --- a/docs/versions/9.1.0/external/migration_tool.mdx +++ b/docs/versions/9.1.0/external/migration_tool.mdx @@ -68,7 +68,7 @@ Before you begin: Once the prerequisites are met, run the following commands to use the migration tool: -
+
 # Clone the Bazel Central Registry repository
 git clone https://github.com/bazelbuild/bazel-central-registry.git
 cd bazel-central-registry
@@ -126,7 +126,7 @@ To see the migration script in action, consider the following scenario when
 Python, Maven and Go dependencies are declared in `WORKSPACE` file.
 
 
- + Click here to see `WORKSPACE` file @@ -266,7 +266,7 @@ Moreover, to demonstrate usage of module extension, custom macro is invoked from `WORKSPACE` and it is defined in `my_custom_macro.bzl`.
- + Click here to see `my_custom_macro.bzl` file @@ -304,27 +304,27 @@ Tool](#migration-tool-how-to-use), which mostly is checking the bazel version Then, running `migrate2bzlmod -t=//...` outputs: -
+
   bazel 7.6.1
 
   Generating ./resolved_deps.py file - It might take a while...
 
-  RESOLVED: rules_java has been introduced as a Bazel module.
-  RESOLVED: bazel_gazelle has been introduced as a Bazel module.
-  RESOLVED: io_bazel_rules_go has been introduced as a Bazel module.
-  RESOLVED: rules_python has been introduced as a Bazel module.
-  IMPORTANT: 3.11 is used as a default python version. If you need a different version, please change it manually and then rerun the migration tool.
-  RESOLVED: my_python_deps has been introduced as python extension.
-  RESOLVED: org_golang_x_net has been introduced as go extension.
-  RESOLVED: rules_jvm_external has been introduced as a Bazel module.
-  RESOLVED: org.antlr has been introduced as maven extension.
-  RESOLVED: rules_shell has been introduced as a Bazel module.
+  RESOLVED: rules_java has been introduced as a Bazel module.
+  RESOLVED: bazel_gazelle has been introduced as a Bazel module.
+  RESOLVED: io_bazel_rules_go has been introduced as a Bazel module.
+  RESOLVED: rules_python has been introduced as a Bazel module.
+  IMPORTANT: 3.11 is used as a default python version. If you need a different version, please change it manually and then rerun the migration tool.
+  RESOLVED: my_python_deps has been introduced as python extension.
+  RESOLVED: org_golang_x_net has been introduced as go extension.
+  RESOLVED: rules_jvm_external has been introduced as a Bazel module.
+  RESOLVED: org.antlr has been introduced as maven extension.
+  RESOLVED: rules_shell has been introduced as a Bazel module.
 
   Congratulations! All external repositories needed for building //... are available with Bzlmod!
-  IMPORTANT: Fix potential build time issues by running the following command:
-      bazel build --enable_bzlmod --noenable_workspace //...
+  IMPORTANT: Fix potential build time issues by running the following command:
+      bazel build --enable_bzlmod --noenable_workspace //...
 
-  IMPORTANT: For details about the migration process, check `migration_info.md` file.
+  IMPORTANT: For details about the migration process, check `migration_info.md` file.
 
which gives the following important information: @@ -346,10 +346,10 @@ which gives the following important information: This section illustrates the migration of code from the `WORKSPACE` file to `MODULE.bazel`. -
-
+
+

WORKSPACE - Bazel Module

-
+    
 http_archive(
     name = "rules_shell",
     sha256 = "3e114424a5c7e4fd43e0133cc6ecdfe54e45ae8affa14fadd839f29901424043",
@@ -358,20 +358,20 @@ http_archive(
 )
 
-
+

MODULE.bazel - Bazel Module

-
+    
 bazel_dep(name = "rules_shell", version = "0.6.1")
 
-
+
-
-
+
+

WORKSPACE - Go Extension

-
+    
 http_archive(
     name = "io_bazel_rules_go",
     integrity = "sha256-M6zErg9wUC20uJPJ/B3Xqb+ZjCPn/yxFF3QdQEmpdvg=",
@@ -406,9 +406,9 @@ go_repository(
 )
 
-
+

MODULE.bazel - Go Extension

-
+    
 go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
 go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
 
@@ -427,12 +427,12 @@ go_deps.gazelle_override(
   
-
+
-
-
+
+

WORKSPACE - Python Extension

-
+    
 http_archive(
     name = "rules_python",
     integrity = "sha256-qDdnnxOC8mlowe5vg5x9r5B5qlMSgGmh8oFd7KpjcwQ=",
@@ -459,9 +459,9 @@ python_register_toolchains(
 )
 
-
+

MODULE.bazel - Python Extension

-
+    
 pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
 pip.parse(
     hub_name = "my_python_deps",
@@ -477,12 +477,12 @@ python.toolchain(python_version = "3.11")
   
-
+
-
-
+
+

WORKSPACE - Maven Extension

-
+    
 
 RULES_JVM_EXTERNAL_TAG = "4.5"
 RULES_JVM_EXTERNAL_SHA = "b17d7388feb9bfa7f2fa09031b32707df529f26c91ab9e5d909eb1676badd9a6"
@@ -511,9 +511,9 @@ maven_install(
 )
 
-
+

MODULE.bazel - Maven Extension

-
+    
 bazel_dep(name = "rules_jvm_external", version = "6.8")
 
 maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
@@ -529,12 +529,12 @@ maven.artifact(
   
-
+
-
-
+
+

WORKSPACE - Repo rule

-
+    
 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 
 http_archive(
@@ -545,9 +545,9 @@ http_archive(
 )
 
-
+

MODULE.bazel - Repo rule

-
+    
 http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 
 http_archive(
@@ -560,12 +560,12 @@ http_archive(
   
-
+
-
-
+
+

WORKSPACE - Module extension

-
+    
 load(":my_custom_macro.bzl", "my_custom_macro")
 
 my_custom_macro(
@@ -573,14 +573,14 @@ my_custom_macro(
 )
 
-
+

MODULE.bazel - Module extension

-
+    
 extension_for_my_custom_macro = use_extension("//:extension_for_my_custom_macro.bzl", "extension_for_my_custom_macro")
 use_repo(extension_for_my_custom_macro, "my_custom_repo")
 

extension_for_my_custom_macro.bzl

-
+    
 load("//:my_custom_macro.bzl", "my_custom_macro")
 
 def _extension_for_my_custom_macro_impl(ctx):
@@ -593,7 +593,7 @@ extension_for_my_custom_macro = module_extension(implementation = _extension_for
   
-
+
## Tips with debugging {#migration-tool-tips} @@ -642,7 +642,7 @@ flag](#migration-script-flags) is used. The report contains: declared in the `WORKSPACE` file, which is particularly useful for the debugging. You can see it as: -
+    
     > Click here to see where and how the repo was declared in the WORKSPACE
     file
     
@@ -651,7 +651,7 @@ flag](#migration-script-flags) is used. The report contains: earlier [Migration Example](#migration-tool-example), that would look as: 1. Bazel module Dependency - `Migration of rules_python` -
+        
         Found perfect name match in BCR: rules_python
         Found partially name matches in BCR: rules_python_gazelle_plugin
 
@@ -664,7 +664,7 @@ flag](#migration-script-flags) is used. The report contains:
       added.
     2.  Python extension - `Migration of my_python_deps`
 
-        
+        
         pip.parse(
             hub_name = "my_python_deps",
             requirements_lock = "//:requirements_lock.txt",
@@ -675,7 +675,7 @@ flag](#migration-script-flags) is used. The report contains:
 
     3.  Maven extension - `Migration of org.antlr (px_deps):`
 
-        
+        
         maven.artifact(
             name = "px_deps",
             group = "org.antlr",
@@ -686,7 +686,7 @@ flag](#migration-script-flags) is used. The report contains:
 
     4.  Go extension - `Migration of org_golang_x_net`
 
-        
+        
         go_deps.from_file(go_mod = "//:go.mod")
         go_sdk.from_file(go_mod = "//:go.mod")
 
diff --git a/docs/versions/9.1.0/external/mod-command.mdx b/docs/versions/9.1.0/external/mod-command.mdx
index 244507e206831f..19722c8d292806 100644
--- a/docs/versions/9.1.0/external/mod-command.mdx
+++ b/docs/versions/9.1.0/external/mod-command.mdx
@@ -207,11 +207,11 @@ use_repo(toolchains, my_jdk="remotejdk17_linux")
 ```
 
 
Command deps =
- - + -
-
- Graph Before Resolution -
Graph Before Resolution
+
+
+ Graph Before Resolution +
Graph Before Resolution
{/* digraph mygraph { node [ shape=box ] @@ -238,10 +238,10 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") "rules_java@4.0.0" -> "bazel_skylib@1.0.3" [ ] } */}
-
- Graph After Resolution -
Graph After Resolution
+
+
+ Graph After Resolution +
Graph After Resolution
{/* digraph mygraph { node [ shape=box ] diff --git a/docs/versions/9.1.0/release/rolling.mdx b/docs/versions/9.1.0/release/rolling.mdx index bbadf432feb54d..cd338dfe99ebc8 100644 --- a/docs/versions/9.1.0/release/rolling.mdx +++ b/docs/versions/9.1.0/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - +