Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the documentation for bazel fetch --configure #23665

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions site/en/extending/repo.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ changes:
There are two parameters of `repository_rule` that control when the repositories
are re-fetched:

* If the `configure` flag is set, the repository is only re-fetched on `bazel
fetch` when the` --configure` parameter is passed to it (if the attribute is
unset, this command will not cause a re-fetch)
* If the `configure` flag is set, the repository is re-fetched on `bazel
fetch --force --configure` (non-`configure` repositories are not
re-fetched).
* If the `local` flag is set, in addition to the above cases, the repo is also
re-fetched when the Bazel server restarts.

Expand All @@ -142,7 +142,7 @@ unconditionally by calling `bazel fetch --force --all`.
Moreover, some repo rules inspect the local machine and might become outdated if
the local machine was upgraded. Here you can ask Bazel to only refetch those
external repos where the [`repository_rule`](/rules/lib/globals#repository_rule)
definition has the `configure` attribute set, use `bazel fetch --all
definition has the `configure` attribute set, use `bazel fetch --force
--configure`.

## Examples
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

"""Semantics for Bazel Xcode rules"""

unavailable_xcode_message = "'bazel fetch --configure' (Bzlmod) or 'bazel sync --configure' (WORKSPACE)"
unavailable_xcode_message = "'bazel fetch --force --configure' (Bzlmod) or 'bazel sync --configure' (WORKSPACE)"
Loading