You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if this is a question about how to build / test / query / deploy using Bazel, or a discussion starter, send it to bazel-discuss@googlegroups.com
if this is a bug or feature request, fill the form below as best as you can.
Description of the problem / feature request:
bazel query would not use the external repository cahche when we use the incompatible_allow_tags_propagation flag at the .bazelrc.
Not add incompatible_allow_tags_propagation at .bazelrc.
The build time is short when we had already built a target, bazel build and bazel query all used cached exteranl repos placed at workspace, very perfect.
Add incompatible_allow_tags_propagation at .bazelrc.
Use bazel query after bazel build time is very long, and bazel would download external repos again, it is terrible.
Use bazel build after bazel query, bazel would download external repos again,
As you can see, add incompatible_allow_tags_propagation flag seems not incompatioble with bael 3.0, but we we need this flag for tags progapation.
More serious proble when incompatible_allow_tags_propagation at .bazelrc.
When we edit a BUILD file, the bazel would query automaticaly at the backend, and the the bazel query would download all external repo again, it is a long time to wait. We almost can not work normally.
Feature requests: what underlying problem are you trying to solve with this feature?
When we add incompatible_allow_tags_propagation at the .bazelrc, bazel query would use the repository cache, but not download them again from the network. And when we edit a build file, the backend bazel query process not hang on a long time.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Remove the flag incompatible_allow_tags_propagation from .bzelrc.
What operating system are you running Bazel on?
Ubutu 18.04 LTS
What's the output of bazel info release?
release 3.0.0.
If bazel info release returns "development version" or "(@non-git)", tell us how you built Bazel.
No.
What's the output of git remote get-url origin ; git rev-parse master ; git rev-parse HEAD ?
This is a consequence of a3a2215. Life typically improves if Starlark semantic options are placed in the .bazelrc common section rather than, e.g., build.
Description of the problem / feature request:
bazel query
would not use the external repository cahche when we use theincompatible_allow_tags_propagation
flag at the.bazelrc
.Not add
incompatible_allow_tags_propagation
at.bazelrc
.The build time is short when we had already built a target,
bazel build
andbazel query
all used cached exteranl repos placed at workspace, very perfect.Add
incompatible_allow_tags_propagation
at.bazelrc
.Use
bazel query
afterbazel build
time is very long, and bazel would download external repos again, it is terrible.Use
bazel build
afterbazel query
, bazel would download external repos again,As you can see, add
incompatible_allow_tags_propagation
flag seems not incompatioble with bael 3.0, but we we need this flag for tags progapation.More serious proble when
incompatible_allow_tags_propagation
at.bazelrc
.When we edit a BUILD file, the bazel would query automaticaly at the backend, and the the bazel query would download all external repo again, it is a long time to wait. We almost can not work normally.
Feature requests: what underlying problem are you trying to solve with this feature?
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Remove the flag
incompatible_allow_tags_propagation
from.bzelrc
.What operating system are you running Bazel on?
What's the output of
bazel info release
?If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?Have you found anything relevant by searching the web?
Any other information, logs, or outputs that you want to share?
The text was updated successfully, but these errors were encountered: