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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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:
-
+
Command
deps =
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`.
-
-
+
## 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`
-
+
+
+ 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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
filepath:
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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:
+
+
+ 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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
filepath:
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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:
+
+
+ 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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
filepath:
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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:
+
+
+ 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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
filepath:
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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:
+
+
+ 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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
filepath:
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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:
+
+
+ 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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
filepath:
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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:
+
+
+ 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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
filepath:
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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:
+
+
+ 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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
filepath:
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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:
+
+
+ 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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
filepath:
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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:
+
+
+ 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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
filepath:
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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/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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
filepath:
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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:
-
+
Command
deps =
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`.
-
-
+
## 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`
-
+
+
+ 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:
-
+
Command
deps =
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.
-
Filter
-
Other options
-
Description
-
Example
+
Filter
+
Other options
+
Description
+
Example
-
lang:
-
language:
-
Perform an exact match by file language.
-
lang:java test
+
lang:
+
language:
+
Perform an exact match by file language.
+
lang:java test
-
file:
-
filepath:
+
file:
+
filepath:
path:
f:
-
-
+
+
-
case:yes
-
-
Make the search case sensitive. By default, searches are not case-sensitive.
-
case:yes Hello World
+
case:yes
+
+
Make the search case sensitive. By default, searches are not case-sensitive.
+
case:yes Hello World
-
class:
-
-
Search for a class name.
-
class:MainClass
+
class:
+
+
Search for a class name.
+
class:MainClass
-
function:
-
func:
-
Search for a function name.
-
function:print
+
function:
+
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:
-
+
Command
deps =
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`.
-
-
+
## 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`
-