Skip to content
Snippets Groups Projects
Unverified Commit 3cda8a5a authored by HonkingGoose's avatar HonkingGoose Committed by GitHub
Browse files

docs: improve Bazel documentation (#7754)

parent 16e2b8ae
No related branches found
No related tags found
No related merge requests found
......@@ -7,9 +7,9 @@ description: Bazel dependencies support in Renovate
Renovate supports upgrading dependencies in Bazel `WORKSPACE` files.
## How It Works
## How it works
1. Bazel support is enabled automatically, so you do not have to explicitly configure it to be enabled
1. Bazel support is enabled automatically
2. Renovate will search repositories for any `WORKSPACE` files in the repository
3. Existing dependencies will be extracted from `git_repository` and `http_archive` declarations
4. Renovate will replace any old versions with the latest version available
......@@ -20,9 +20,9 @@ Renovate will update any `git_repository` declaration that contains the followin
1. name
2. remote matching `https://github.com/<owner>/<repo>.git`
3. tag using a valid semver
3. tag using a valid SemVer
Example:
e.g.:
```
git_repository(
......@@ -32,7 +32,7 @@ git_repository(
)
```
New versions will be detected using the list of **tags** for that repository on GitHub.
Renovate uses the list of **tags** on the remote repository (GitHub) to detect a new version.
## http_archive and http_file
......@@ -42,7 +42,7 @@ Renovate will update any `http_archive` or `http_file` declaration that contains
2. url matching `https://github.com/<owner>/<repo>/releases/download/<semver>/<repo>.tar.gz`
3. sha256
Example:
e.g.:
```
http_archive(
......@@ -52,7 +52,7 @@ http_archive(
)
```
New versions will be detected using the list of **releases** for that repository on GitHub.
Renovate uses the list of **releases** that it finds at the `url` to detect a new version.
## Future work
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment