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

Sanitize BEP contents before emitting them #2

Open
wants to merge 125 commits into
base: release-6.3.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
e9a0383
[6.4.0] Support multiple remote execution digest functions (#19042)
brentleyjones Jul 25, 2023
bade2e9
Release 6.4.0 remote (#18959)
werkt Jul 25, 2023
150eaaf
Move BazelFileSystemModule into bazel package (#19043)
brentleyjones Jul 25, 2023
2b76e16
Fix a bug where frozen targets list was mutated while expanding env a…
brentleyjones Jul 25, 2023
b73b075
Mark isolated extension usages as experimental (#19065)
keertk Jul 25, 2023
9a46076
Add the remote_require_cached flag (#19075)
iancha1992 Jul 26, 2023
b561a49
[6.3.1] Advertise CcInfo from cc_import (#19086) (#19088)
iancha1992 Jul 26, 2023
c24329a
Update java_tools version to 12.6 (#19092)
keertk Jul 26, 2023
b7d6313
Set the digest_function field as part of all relevant gRPC requests (…
brentleyjones Jul 27, 2023
ee91869
Merge `use_repo` buildifier fixups into a single command (#19134)
iancha1992 Jul 31, 2023
382dfaf
Ensure that extension unique names followed by `~` are prefix-free (#…
iancha1992 Aug 3, 2023
1bc0f87
[6.4.0] Lockfile updates & fixes (#19153)
SalmaSamy Aug 4, 2023
1b2732f
Switch xcode_autoconf to use 'configure = True' (#19174)
bazel-io Aug 4, 2023
e643c57
[6.4.0] Cherry pick Add a Starlark flag that allows disabling proguar…
ahumesky Aug 7, 2023
90e8ffd
Update CODEOWNERS for 6.4.0 (#19194)
keertk Aug 7, 2023
f6a30b4
Friendlier error message for `bazel_dep`s without `version` (#19196)
bazel-io Aug 7, 2023
5dd60a6
Always check `$config_dependencies` visibility at use (#19197)
iancha1992 Aug 7, 2023
03ba2ba
[6.4.0] Add support for the BLAKE3 digest function (#19191)
brentleyjones Aug 8, 2023
7978458
Enable cc toolchain resolution when cross compiling to windows arm64.…
brentleyjones Aug 8, 2023
12214cf
[6.4.0] Ensure disk cache root exists (#19225)
brentleyjones Aug 11, 2023
a8b2543
[6.4.0] Fix valid json when using jsonproto output in queries with n…
iancha1992 Aug 14, 2023
783a50e
[6.4.0] Add toolchain type for Java bootstrap runtime (#19220)
fmeum Aug 14, 2023
485a26f
Add Starlark implementation for several CcCommon methods. (#19076)
iancha1992 Aug 16, 2023
e34112f
[6.4.0] Rename `cc_test_wrapper` to `cc_test` (#19231)
fmeum Aug 16, 2023
8ac1cc1
[6.4.0] Cherry-pick commits to fix a Windows issue (#19232)
iancha1992 Aug 17, 2023
91bfb53
[6.4.0] Add support for more workspace boundary files to bash complet…
bazel-io Aug 18, 2023
b2054d6
[6.4.0] Use `debugPrint` instead of `str` for `fail` arguments (#19283)
bazel-io Aug 18, 2023
443cbcb
[6.4.0] Include name in `repr` of exported `rule`s (#19229)
bazel-io Aug 22, 2023
6c231ff
[6.4.0] Download `BazelRegistryJson` only once per registry (#19300)
bazel-io Aug 22, 2023
4e18a12
[6.4.0] Make module extension tag's `debugPrint` useful for error mes…
iancha1992 Aug 22, 2023
514245e
[6.4.0] Intern repository mapping entries (#19293)
bazel-io Aug 22, 2023
c58fea1
[6.4.0] Add `additional_linker_inputs` option to `cc_library` rule (#…
iancha1992 Aug 22, 2023
333e83f
[6.4.0] Do not rerun module extensions when only imports or locations…
iancha1992 Aug 22, 2023
dea67d0
[6.4.0] Add profiling for Bzlmod operations (#19313)
iancha1992 Aug 24, 2023
f5b0fd5
[6.4.0] Retry on javax.net.ssl.SSLException ... BAD_DECRYPT (#19346)
coeuvre Aug 29, 2023
83c7ae0
[6.4.0] Fetch `RepoSpecs` in parallel (#19354)
fmeum Aug 29, 2023
cac82a0
[6.4.0] Make `MODULE.bazel.lock` deterministic (#19370)
iancha1992 Aug 31, 2023
038d973
[6.4.0] Ensure lockfile is updated after reset to pre-build state (#1…
iancha1992 Aug 31, 2023
1cd0ab0
[6.4.0] build-runfiles: remove temporary file prior to creating it (#…
bazel-io Aug 31, 2023
556396f
[6.4.0] Always fail on unknown attributes (#19404)
comius Sep 5, 2023
a9f196a
[6.4.0] Ignore Starlark options on commands with `allowResidue = Fals…
bazel-io Sep 6, 2023
d81a8c7
[6.4.0] Separate PackageSpecificationProvider from its target (Packag…
kotlaja Sep 6, 2023
ad813e2
[6.4.0] Expose PackageSpecificationInfo provider as a top level symbo…
kotlaja Sep 6, 2023
4eb2ba6
[6.4.0] Revert "Report remote execution messages as events" (#19415)
iancha1992 Sep 6, 2023
173199c
[6.4] Add --incompatible_disable_objc_library_transition (#19393)
keith Sep 6, 2023
eea0909
[6.4.0] Create .bazelversion to address postsubmit timeout issues (#1…
iancha1992 Sep 6, 2023
c4d5fdb
[6.4.0] Add `contains` method inside `PackageSpecificationProvider` …
kotlaja Sep 7, 2023
4dcc271
[6.4.0] Wrong include path to Clang 16 on Windows (#19430)
bazel-io Sep 7, 2023
3aea7d7
[6.4.0] Simplify release notes by just printing the first line of the…
iancha1992 Sep 7, 2023
2b93256
[6.4.0] Remove PackageGroupConfiguredTarget.isAvailableFor function (…
kotlaja Sep 8, 2023
ba8c5fe
[6.4.0] Remove default -s flag from macOS libtool invocation (#19454)
bazel-io Sep 8, 2023
900ab0c
[6.4.0] Turn off lockfile feature by default (#19462)
iancha1992 Sep 8, 2023
cb187a0
[6.4.0] Take the no-remote-exec tag into account when computing the a…
tjgq Sep 8, 2023
6052b8b
[6.4.0] Add `--incompatible_merge_fixed_and_default_shell_env` (#19319)
fmeum Sep 8, 2023
5a0339f
[6.4.0] Improve error when a label is provided in `config_setting`'s …
bazel-io Sep 11, 2023
56d0a04
[6.4.0] Mark tool inputs in the execution log. (#19483)
tjgq Sep 11, 2023
fb4cc46
[6.4.0] Add visionOS support (#19436)
keith Sep 11, 2023
bc8bb95
[6.4.0] Intern empty `Depset`s (#19443)
fmeum Sep 11, 2023
f465abd
[6.4.0] Do not allow applicable_licenses on platform. (#19426)
comius Sep 12, 2023
0d70b76
[6.4.0] Cherry pick Bzlmod fixes (#19494)
meteorcloudy Sep 12, 2023
75db6b1
[6.4.0] Optimize classpath pre-processing in java_stub_template.txt (…
bazel-io Sep 12, 2023
484b305
[6.4.0] Add output name to CacheNotFoundException (#19452)
coeuvre Sep 12, 2023
842282e
[6.4.0] feat: add option to exit early if analysis cache is discarded…
gregestren Sep 12, 2023
970b9dd
[6.4.0] Cherry pick platform dependent lockfile (#19498)
SalmaSamy Sep 13, 2023
2ebbfeb
[6.4.0] Print Passed and Failed methods in detailed test summary (#19…
thirtyseven Sep 13, 2023
2fe15f5
[6.4.0] Add formatted timestamp entries to volatile workspace status …
buildbreaker2021 Sep 13, 2023
7a86de3
Write an explicit line ending to the lockfile (#19519)
meteorcloudy Sep 14, 2023
be2d487
[6.4.0] Only use `/showIncludes` if supported (#19521)
bazel-io Sep 14, 2023
860cb14
[6.4.0] Also apply `NestedSet` optimizations to `Depset` (#19492)
iancha1992 Sep 14, 2023
448809e
[6.4.0] Add diff_against_dynamic_baseline option to experimental_outp…
fmeum Sep 14, 2023
42c6755
[6.4.0] Update java_tools to v12.7 (#19522)
keertk Sep 15, 2023
49886f3
[6.4.0] Advertise CcInfo from cc_proto_library (#19534)
oquenchil Sep 15, 2023
d17f5e9
[6.4.0] Update unknown Xcode version error message and provide an env…
bazel-io Sep 15, 2023
3142438
[6.4.0] Print dep chain leading to a module that is in error (#19543)
bazel-io Sep 15, 2023
e36ca59
[6.4.0] Show fetch progress for the `mod` command (#19542)
Wyverald Sep 15, 2023
7b72c02
[6.4.0] Revert "Switch xcode_autoconf to use 'configure = True' (#191…
brentleyjones Sep 18, 2023
ec8c12d
[6.4.0] Explain the use of `str(Label(...))` in the docs (#19554)
bazel-io Sep 18, 2023
2f75f30
[6.4.0] Add `--consistent_labels` flag to all query commands (#19567)
Wyverald Sep 19, 2023
654a04d
[6.4.0] Inject builtin modules at the end of the MODULE.bazel file (#…
meteorcloudy Sep 21, 2023
fc43994
[6.4.0] Disable bzlmod_query_test for RBE build (#19585)
iancha1992 Sep 21, 2023
65e5c37
[6.4.0] Clear runfiles environment variables for `bazel run` (#19606)
fmeum Sep 25, 2023
8776b3d
[6.4.0] cc_library: propagate data dependencies via implementation_de…
jlaxson Sep 25, 2023
ca398dc
[6.4.0] Error on potential unsupported `/showIncludes` lines (#19611)
bazel-io Sep 25, 2023
61403d0
[6.4.0] Use case-insensitive comparison for Windows paths in `runfile…
bazel-io Sep 25, 2023
8d04038
[6.4.0] Show test labels in summaries in display form (#19625)
bazel-io Sep 26, 2023
8b52660
[6.4.0] Remove stale extension entries from lockfile (#19683)
bazel-io Oct 2, 2023
c86941f
[6.4.0] Keep leading zero in formatted date (#19694)
bazel-io Oct 2, 2023
48bee94
[6.4.0] Bzlmod lockfile: fix pretty printing for attributes (#19691)
bazel-io Oct 2, 2023
5d165a6
[6.4.0] MODULE.bazel.lock file contains user specific paths (#19698)
bazel-io Oct 2, 2023
dda00c7
[6.4.0] Consider RCs equivalent to release for `bazel_compatibility` …
bazel-io Oct 2, 2023
61d3ea7
[6.4.0] Use `Label` in `@bazel_tools//tools/jdk` macros (#19675)
fmeum Oct 4, 2023
e7d25d7
[6.4.0] Remove stale extension entries from lockfile if module order …
bazel-io Oct 4, 2023
ef72058
[6.4.0] Update rules_java 5.5.1 (#19701)
keertk Oct 5, 2023
b598797
[6.4.0] Fix Java compilation for jdk21 (#19735)
hvadehra Oct 5, 2023
3a48457
[6.4.0] Fix output materialized as symlink when building without the …
tjgq Oct 6, 2023
7e600bd
[6.4.0] Make lockfile's `RepoSpec` attributes more readable (#19748)
meteorcloudy Oct 6, 2023
ddc3e52
Merge rule and aspect validation output groups (#19745)
fmeum Oct 6, 2023
b90ab8b
[6.4.0] Fix handling of non-ASCII characters in archive entry file na…
fmeum Oct 9, 2023
d3d2dd2
Raise an early error on invalid labels in transitions inputs/outputs …
fmeum Oct 9, 2023
131f8df
[6.4.0] Handle synthetic method parameters entries that don't have na…
cushon Oct 9, 2023
0017fb3
[6.4.0] Bazel release process: Fix push justification. (#19768)
bazel-io Oct 10, 2023
924bee9
[6.4.0] Flip --experimental_cc_implementation_deps (#19751)
iancha1992 Oct 10, 2023
ceb4f2d
[6.4.0] Add blake3 NEON instructions on linux arm64 (#19804)
bazel-io Oct 12, 2023
ddeea51
[6.4.0] Fix crash when `environ` contains duplicate entries (#19827)
bazel-io Oct 16, 2023
90f08c4
[6.4.0] Bump c++ standard to c++14 per default (#19794)
thii Oct 16, 2023
1799886
[6.4.0] Collect debug info context from implementation deps (#19836)
iancha1992 Oct 16, 2023
48892ae
[6.4.0] Fix unconditional Skyframe invalidation with --lockfile_mode=…
fmeum Oct 17, 2023
50b61e3
Release 6.4.0 (2023-10-19)
a-googler Oct 19, 2023
9433840
[6.5.0] Fix tree file materialized as symlink to another file when bu…
tjgq Dec 7, 2023
5fccef1
[6.5.0] Don't pass --add-opens= to javac (#20472)
hvadehra Dec 11, 2023
f1aed7e
[6.5.0] Flip --incompatible_visibility_private_attributes_at_definiti…
mai93 Dec 13, 2023
17d05dc
[6.5.0] Fix extraction of tar archives containing sparse files. (#20531)
Wyverald Dec 14, 2023
a184954
[6.5.0] RemoteSpawnRunner: record inbetween phases in timing profile …
iancha1992 Dec 15, 2023
f3a800e
[6.5.0] Add profiling to `remoteActionBuildingSemaphore.acquire()` (#…
bazel-io Dec 15, 2023
db848f9
[6.5.0] The label API shakeup & docs cleanup (#20590)
Wyverald Dec 18, 2023
a10d84e
[6.5.0] Disable rewriter test (#20758)
iancha1992 Jan 5, 2024
682a3d7
[6.5.0] Disable PyTest.testSmoke on macOS (#20729)
bazel-io Jan 8, 2024
fe9754f
[6.5.0] Upgrade abseil-cpp to fix build on macos_arm64 (#20785)
meteorcloudy Jan 8, 2024
35efa96
[6.5.0] Ignore read-only errors when updating the `mtime` of the `ins…
bazel-io Jan 9, 2024
efbff0a
[6.5.0] Restart at most once when prepopulating repository rule envir…
bazel-io Jan 9, 2024
8dd0998
[6.5.0] Fix bootstrapped Bazel binary (#20804)
meteorcloudy Jan 9, 2024
0cc7601
[6.5.0] Add flag `experimental_throttle_remote_action_building` (#20861)
keertk Jan 12, 2024
29bbe31
Fix versioned shared libraries for macOS toolchain (#20847)
oquenchil Jan 12, 2024
d2daa9b
[6.5.0] Proto toolchainisation cherrypicks (#20925)
comius Jan 18, 2024
d6e7962
Sanitize BEP contents before emitting them
jmmv Oct 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .bazelci/build_bazel_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ platforms:
- "--host_copt=-w"
- "-c"
- "opt"
- "--cpu=x64_arm64_windows"
- "--config=windows_arm64"
build_targets:
- "//src:bazel.exe"
- "//src:bazel_nojdk.exe"
2 changes: 2 additions & 0 deletions .bazelci/postsubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ tasks:
- "-//src/test/shell/bazel:bazel_determinism_test"
# https://github.com/bazelbuild/bazel/issues/17457
- "-//src/test/shell/bazel:jdeps_test"
- "-//scripts/docs:rewriter_test"
include_json_profile:
- build
- test
Expand Down Expand Up @@ -344,6 +345,7 @@ tasks:
- "-//src/test/py/bazel:bazel_overrides_test"
- "-//src/test/py/bazel:bazel_repo_mapping_test"
- "-//src/test/py/bazel:bazel_yanked_versions_test"
- "-//src/test/py/bazel:bzlmod_query_test"
- "-//src/test/shell/bazel:verify_workspace"
include_json_profile:
- build
Expand Down
3 changes: 3 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ tasks:
- "-//src/test/shell/bazel:bazel_determinism_test"
# https://github.com/bazelbuild/bazel/issues/17457
- "-//src/test/shell/bazel:jdeps_test"
- "-//scripts/docs:rewriter_test"

windows:
shards: 4
batch_commands:
Expand Down Expand Up @@ -334,6 +336,7 @@ tasks:
- "-//src/test/py/bazel:bazel_overrides_test"
- "-//src/test/py/bazel:bazel_repo_mapping_test"
- "-//src/test/py/bazel:bazel_yanked_versions_test"
- "-//src/test/py/bazel:bzlmod_query_test"
- "-//src/test/shell/bazel:verify_workspace"
kythe_ubuntu2004:
shell_commands:
Expand Down
14 changes: 14 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,27 @@ build:remote --config=ubuntu1804_java11

build:macos --macos_minimum_os=10.11

build:windows_arm64 --platforms=//:windows_arm64
build:windows_arm64 --extra_toolchains=@local_config_cc//:cc-toolchain-arm64_windows

# Enable Bzlmod
build:bzlmod --experimental_enable_bzlmod

# Enable modern C++ features
build:linux --cxxopt=-std=c++17
build:linux --host_cxxopt=-std=c++17
build:macos --cxxopt=-std=c++17
build:macos --host_cxxopt=-std=c++17
build:windows --cxxopt=/std:c++17
build:windows --host_cxxopt=/std:c++17

# Enable Java 11 language features (https://github.com/bazelbuild/bazel/issues/14592)
build --java_language_version=11
build --tool_java_language_version=11

# Manually enable cc toolchain resolution before it is flipped. https://github.com/bazelbuild/bazel/issues/7260
build --incompatible_enable_cc_toolchain_resolution

# User-specific .bazelrc
try-import %workspace%/user.bazelrc

Expand Down
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.2.1
14 changes: 13 additions & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ filegroup(
"//third_party:srcs",
"//src/main/starlark/tests/builtins_bzl:srcs",
"//src/main/java/com/google/devtools/build/docgen/release:srcs",
] + glob([".bazelci/*"]) + [".bazelrc"],
] + glob([".bazelci/*"]) + [
".bazelrc",
".bazelversion",
],
applicable_licenses = ["@io_bazel//:license"],
visibility = ["//src/test/shell/bazel:__pkg__"],
)
Expand Down Expand Up @@ -93,6 +96,7 @@ genrule(
pkg_tar(
name = "bootstrap-jars",
srcs = [
"@blake3",
"@com_google_protobuf//:protobuf_java",
"@com_google_protobuf//:protobuf_java_util",
"@com_google_protobuf//:protobuf_javalite",
Expand Down Expand Up @@ -219,6 +223,14 @@ platform(
parents = ["@local_config_platform//:host"],
)

platform(
name = "windows_arm64",
constraint_values = [
"@platforms//os:windows",
"@platforms//cpu:arm64",
],
)

REMOTE_PLATFORMS = ("rbe_ubuntu1804_java11",)

[
Expand Down
Loading