diff --git a/configure/attributes.mdx b/configure/attributes.mdx index 4f03c453d..3b04298f5 100644 --- a/configure/attributes.mdx +++ b/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/contribute/search.mdx b/contribute/search.mdx index 7bbea560b..0875dde07 100644 --- a/contribute/search.mdx +++ b/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/configurable-attributes.mdx b/docs/configurable-attributes.mdx index 8048f3a65..f906c15fe 100644 --- a/docs/configurable-attributes.mdx +++ b/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/external/migration_tool.mdx b/external/migration_tool.mdx index cf59c1539..d6a365905 100644 --- a/external/migration_tool.mdx +++ b/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/external/mod-command.mdx b/external/mod-command.mdx
index 9eea1572d..802d9a6e5 100644
--- a/external/mod-command.mdx
+++ b/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/release/rolling.mdx b/release/rolling.mdx index e4a87b3ff..61a1e0fc8 100644 --- a/release/rolling.mdx +++ b/release/rolling.mdx @@ -11,4 +11,4 @@ these releases. ## Index {#index} - + diff --git a/upstream b/upstream index f0f6256a5..68f4f82e4 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit f0f6256a57c76e482c9d6ecea584e2d38e43ae09 +Subproject commit 68f4f82e41e644bd4ea3956dab4ea61e2304c68c diff --git a/versions/7.6.1/configure/attributes.mdx b/versions/7.6.1/configure/attributes.mdx index faa32464b..6a37aacfd 100644 --- a/versions/7.6.1/configure/attributes.mdx +++ b/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/versions/7.6.1/contribute/search.mdx b/versions/7.6.1/contribute/search.mdx index 89e394c06..33ee794f8 100644 --- a/versions/7.6.1/contribute/search.mdx +++ b/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/versions/7.6.1/docs/configurable-attributes.mdx b/versions/7.6.1/docs/configurable-attributes.mdx index f24dc320d..4a8a569e6 100644 --- a/versions/7.6.1/docs/configurable-attributes.mdx +++ b/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/versions/7.6.1/external/mod-command.mdx b/versions/7.6.1/external/mod-command.mdx index 5770b7648..231f3d716 100644 --- a/versions/7.6.1/external/mod-command.mdx +++ b/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/versions/7.7.1/configure/attributes.mdx b/versions/7.7.1/configure/attributes.mdx index 57198598e..8af6445a8 100644 --- a/versions/7.7.1/configure/attributes.mdx +++ b/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/versions/7.7.1/contribute/search.mdx b/versions/7.7.1/contribute/search.mdx index 89e394c06..33ee794f8 100644 --- a/versions/7.7.1/contribute/search.mdx +++ b/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/versions/7.7.1/docs/configurable-attributes.mdx b/versions/7.7.1/docs/configurable-attributes.mdx index 585578aa3..2cfddcc7b 100644 --- a/versions/7.7.1/docs/configurable-attributes.mdx +++ b/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/versions/7.7.1/external/mod-command.mdx b/versions/7.7.1/external/mod-command.mdx index 8d7e65dc7..d86de510e 100644 --- a/versions/7.7.1/external/mod-command.mdx +++ b/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/versions/8.0.1/configure/attributes.mdx b/versions/8.0.1/configure/attributes.mdx index 0e15e5fa0..2b3fa5b85 100644 --- a/versions/8.0.1/configure/attributes.mdx +++ b/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/versions/8.0.1/contribute/search.mdx b/versions/8.0.1/contribute/search.mdx index 9a721b882..50dc41649 100644 --- a/versions/8.0.1/contribute/search.mdx +++ b/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/versions/8.0.1/docs/configurable-attributes.mdx b/versions/8.0.1/docs/configurable-attributes.mdx index a13cd7637..7780d6d94 100644 --- a/versions/8.0.1/docs/configurable-attributes.mdx +++ b/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/versions/8.0.1/external/mod-command.mdx b/versions/8.0.1/external/mod-command.mdx index 2d0b79784..36632e62b 100644 --- a/versions/8.0.1/external/mod-command.mdx +++ b/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/versions/8.0.1/release/rolling.mdx b/versions/8.0.1/release/rolling.mdx index fc3613f93..42ae1e017 100644 --- a/versions/8.0.1/release/rolling.mdx +++ b/versions/8.0.1/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/versions/8.1.1/configure/attributes.mdx b/versions/8.1.1/configure/attributes.mdx index 9d99de1c5..c28a53584 100644 --- a/versions/8.1.1/configure/attributes.mdx +++ b/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/versions/8.1.1/contribute/search.mdx b/versions/8.1.1/contribute/search.mdx index 89e394c06..33ee794f8 100644 --- a/versions/8.1.1/contribute/search.mdx +++ b/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/versions/8.1.1/docs/configurable-attributes.mdx b/versions/8.1.1/docs/configurable-attributes.mdx index 9e4a30a3a..c272fd028 100644 --- a/versions/8.1.1/docs/configurable-attributes.mdx +++ b/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/versions/8.1.1/external/mod-command.mdx b/versions/8.1.1/external/mod-command.mdx index 9d0ddf446..6d37062b3 100644 --- a/versions/8.1.1/external/mod-command.mdx +++ b/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/versions/8.1.1/release/rolling.mdx b/versions/8.1.1/release/rolling.mdx index 1a7ce5aaf..c9ded8709 100644 --- a/versions/8.1.1/release/rolling.mdx +++ b/versions/8.1.1/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/versions/8.2.1/configure/attributes.mdx b/versions/8.2.1/configure/attributes.mdx index 62c4cf91c..bea003d18 100644 --- a/versions/8.2.1/configure/attributes.mdx +++ b/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/versions/8.2.1/contribute/search.mdx b/versions/8.2.1/contribute/search.mdx index 791dd72b9..3e0ee2a6f 100644 --- a/versions/8.2.1/contribute/search.mdx +++ b/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/versions/8.2.1/docs/configurable-attributes.mdx b/versions/8.2.1/docs/configurable-attributes.mdx index 9db8b8ee2..80e08920c 100644 --- a/versions/8.2.1/docs/configurable-attributes.mdx +++ b/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/versions/8.2.1/external/mod-command.mdx b/versions/8.2.1/external/mod-command.mdx index f633234f1..bc18da840 100644 --- a/versions/8.2.1/external/mod-command.mdx +++ b/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/versions/8.2.1/release/rolling.mdx b/versions/8.2.1/release/rolling.mdx index a616bef76..e76532dcf 100644 --- a/versions/8.2.1/release/rolling.mdx +++ b/versions/8.2.1/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/versions/8.3.1/configure/attributes.mdx b/versions/8.3.1/configure/attributes.mdx index cc1a8e45b..9234424c4 100644 --- a/versions/8.3.1/configure/attributes.mdx +++ b/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/versions/8.3.1/contribute/search.mdx b/versions/8.3.1/contribute/search.mdx index 89e394c06..33ee794f8 100644 --- a/versions/8.3.1/contribute/search.mdx +++ b/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/versions/8.3.1/docs/configurable-attributes.mdx b/versions/8.3.1/docs/configurable-attributes.mdx index d7e6c38cc..e61a31cf0 100644 --- a/versions/8.3.1/docs/configurable-attributes.mdx +++ b/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/versions/8.3.1/external/mod-command.mdx b/versions/8.3.1/external/mod-command.mdx index 479bcc401..e33790d24 100644 --- a/versions/8.3.1/external/mod-command.mdx +++ b/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/versions/8.3.1/release/rolling.mdx b/versions/8.3.1/release/rolling.mdx index a9d4df5c3..e8a57ef06 100644 --- a/versions/8.3.1/release/rolling.mdx +++ b/versions/8.3.1/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/versions/8.4.2/configure/attributes.mdx b/versions/8.4.2/configure/attributes.mdx index 4b70c4b2d..c4cc4a8f1 100644 --- a/versions/8.4.2/configure/attributes.mdx +++ b/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/versions/8.4.2/contribute/search.mdx b/versions/8.4.2/contribute/search.mdx index 89e394c06..33ee794f8 100644 --- a/versions/8.4.2/contribute/search.mdx +++ b/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/versions/8.4.2/docs/configurable-attributes.mdx b/versions/8.4.2/docs/configurable-attributes.mdx index 2f54aeb4d..728dfc9fa 100644 --- a/versions/8.4.2/docs/configurable-attributes.mdx +++ b/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/versions/8.4.2/external/mod-command.mdx b/versions/8.4.2/external/mod-command.mdx index e27755a5e..159a19b83 100644 --- a/versions/8.4.2/external/mod-command.mdx +++ b/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/versions/8.4.2/release/rolling.mdx b/versions/8.4.2/release/rolling.mdx index 059b82768..4aba6ac2a 100644 --- a/versions/8.4.2/release/rolling.mdx +++ b/versions/8.4.2/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/versions/8.5.1/configure/attributes.mdx b/versions/8.5.1/configure/attributes.mdx index 257806467..0ac773dcf 100644 --- a/versions/8.5.1/configure/attributes.mdx +++ b/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/versions/8.5.1/contribute/search.mdx b/versions/8.5.1/contribute/search.mdx index b081e3ad6..40be67207 100644 --- a/versions/8.5.1/contribute/search.mdx +++ b/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/versions/8.5.1/docs/configurable-attributes.mdx b/versions/8.5.1/docs/configurable-attributes.mdx index 84eff4135..37689d4a3 100644 --- a/versions/8.5.1/docs/configurable-attributes.mdx +++ b/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/versions/8.5.1/external/mod-command.mdx b/versions/8.5.1/external/mod-command.mdx index 5ec3e3776..1be533aba 100644 --- a/versions/8.5.1/external/mod-command.mdx +++ b/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/versions/8.5.1/release/rolling.mdx b/versions/8.5.1/release/rolling.mdx index 9c0ad335f..43bdfb06b 100644 --- a/versions/8.5.1/release/rolling.mdx +++ b/versions/8.5.1/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/versions/8.6.0/configure/attributes.mdx b/versions/8.6.0/configure/attributes.mdx index b9fde83c1..dffcfbc30 100644 --- a/versions/8.6.0/configure/attributes.mdx +++ b/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/versions/8.6.0/contribute/search.mdx b/versions/8.6.0/contribute/search.mdx index 21b9cc221..00ac2a000 100644 --- a/versions/8.6.0/contribute/search.mdx +++ b/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/versions/8.6.0/docs/configurable-attributes.mdx b/versions/8.6.0/docs/configurable-attributes.mdx index 2049810ea..fd3834d7a 100644 --- a/versions/8.6.0/docs/configurable-attributes.mdx +++ b/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/versions/8.6.0/external/mod-command.mdx b/versions/8.6.0/external/mod-command.mdx index 861ede54d..ab3dd37dc 100644 --- a/versions/8.6.0/external/mod-command.mdx +++ b/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/versions/8.6.0/release/rolling.mdx b/versions/8.6.0/release/rolling.mdx index 718bbdf4c..4ab04980e 100644 --- a/versions/8.6.0/release/rolling.mdx +++ b/versions/8.6.0/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index - + diff --git a/versions/8.7.0/configure/attributes.mdx b/versions/8.7.0/configure/attributes.mdx index 3df895c43..789c1d9eb 100644 --- a/versions/8.7.0/configure/attributes.mdx +++ b/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/versions/8.7.0/contribute/search.mdx b/versions/8.7.0/contribute/search.mdx index e72d9cf27..60bc67e8a 100644 --- a/versions/8.7.0/contribute/search.mdx +++ b/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/versions/8.7.0/docs/configurable-attributes.mdx b/versions/8.7.0/docs/configurable-attributes.mdx index 4cfd1a35a..0363a963d 100644 --- a/versions/8.7.0/docs/configurable-attributes.mdx +++ b/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/versions/8.7.0/external/mod-command.mdx b/versions/8.7.0/external/mod-command.mdx index 918b56e94..c43c6cd87 100644 --- a/versions/8.7.0/external/mod-command.mdx +++ b/versions/8.7.0/external/mod-command.mdx @@ -219,18 +219,18 @@ use_repo(toolchains, my_jdk="remotejdk17_linux") ```
Command deps =
- - + - diff --git a/versions/8.7.0/release/rolling.mdx b/versions/8.7.0/release/rolling.mdx index 48b26e371..6e53cc6f2 100644 --- a/versions/8.7.0/release/rolling.mdx +++ b/versions/8.7.0/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/versions/9.0.0/configure/attributes.mdx b/versions/9.0.0/configure/attributes.mdx index 8bcd5bc28..2ac9d741e 100644 --- a/versions/9.0.0/configure/attributes.mdx +++ b/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/versions/9.0.0/contribute/search.mdx b/versions/9.0.0/contribute/search.mdx index 9a721b882..50dc41649 100644 --- a/versions/9.0.0/contribute/search.mdx +++ b/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/versions/9.0.0/docs/configurable-attributes.mdx b/versions/9.0.0/docs/configurable-attributes.mdx index ba33ddb0b..9f7f0a6cd 100644 --- a/versions/9.0.0/docs/configurable-attributes.mdx +++ b/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/versions/9.0.0/external/migration_tool.mdx b/versions/9.0.0/external/migration_tool.mdx index 3cdaaf349..195f2b57f 100644 --- a/versions/9.0.0/external/migration_tool.mdx +++ b/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/versions/9.0.0/external/mod-command.mdx b/versions/9.0.0/external/mod-command.mdx
index 6452bd61f..ccd843ab8 100644
--- a/versions/9.0.0/external/mod-command.mdx
+++ b/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/versions/9.0.0/release/rolling.mdx b/versions/9.0.0/release/rolling.mdx index f158f563d..8aaeb7251 100644 --- a/versions/9.0.0/release/rolling.mdx +++ b/versions/9.0.0/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - + diff --git a/versions/9.1.0/configure/attributes.mdx b/versions/9.1.0/configure/attributes.mdx index 61e430a16..2be60baf2 100644 --- a/versions/9.1.0/configure/attributes.mdx +++ b/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/versions/9.1.0/contribute/search.mdx b/versions/9.1.0/contribute/search.mdx index 704c230b4..479bfa877 100644 --- a/versions/9.1.0/contribute/search.mdx +++ b/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/versions/9.1.0/docs/configurable-attributes.mdx b/versions/9.1.0/docs/configurable-attributes.mdx index c1400ecad..1321a961a 100644 --- a/versions/9.1.0/docs/configurable-attributes.mdx +++ b/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/versions/9.1.0/external/migration_tool.mdx b/versions/9.1.0/external/migration_tool.mdx index ed2250c95..0d98e263b 100644 --- a/versions/9.1.0/external/migration_tool.mdx +++ b/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/versions/9.1.0/external/mod-command.mdx b/versions/9.1.0/external/mod-command.mdx
index 244507e20..19722c8d2 100644
--- a/versions/9.1.0/external/mod-command.mdx
+++ b/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/versions/9.1.0/release/rolling.mdx b/versions/9.1.0/release/rolling.mdx index bbadf432f..cd338dfe9 100644 --- a/versions/9.1.0/release/rolling.mdx +++ b/versions/9.1.0/release/rolling.mdx @@ -9,4 +9,4 @@ these releases. ## Index {#index} - +