instance_id
stringlengths
17
39
repo
stringclasses
8 values
issue_id
stringlengths
14
34
pr_id
stringlengths
14
34
linking_methods
listlengths
1
3
base_commit
stringlengths
40
40
merge_commit
stringlengths
0
40
hints_text
listlengths
0
106
resolved_comments
listlengths
0
119
created_at
timestamp[ns, tz=UTC]
labeled_as
listlengths
0
7
problem_title
stringlengths
7
174
problem_statement
stringlengths
0
55.4k
gold_files
listlengths
0
10
gold_files_postpatch
listlengths
1
10
test_files
listlengths
0
60
gold_patch
stringlengths
220
5.83M
test_patch
stringlengths
386
194k
split_random
stringclasses
3 values
split_time
stringclasses
3 values
issue_start_time
timestamp[ns]
issue_created_at
timestamp[ns, tz=UTC]
issue_by_user
stringlengths
3
21
split_repo
stringclasses
3 values
bazelbuild/bazel/17085_19900
bazelbuild/bazel
bazelbuild/bazel/17085
bazelbuild/bazel/19900
[ "keyword_pr_to_issue" ]
9e8ae1aaac2409824aab7c7204858d12fabb60a1
2cb3159aed5b73eb13a866d8fe63953d388cd30b
[ "Definitely not an expert on this, so take any of the following with a grain of salt. \n\nNote that there are two relevant Java toolchain types: the one for the JDK used for compilation (@bazel_tools//tools/jdk:toolchain_type) and the one for the JDK/JRE used as the runtime for executing a java_binary (@bazel_tools...
[]
2023-10-19T17:36:30Z
[ "type: bug", "P2", "team-Rules-Java", "next_month" ]
Bazel 6 Remote JDK Toolchains Incorrect Configuration
### Description of the bug: Upgrading to Bazel 6.0.0, I get some toolchain resolution and build failures around java_library/java_binary rules. My environment is cross-compile heavy and has remote executors on a number of platforms (linux, darwin both x86 and arm64, windows) and bazel itself is invoked on any of tho...
[ ".bazelrc", "BUILD", "MODULE.bazel", "MODULE.bazel.lock", "distdir_deps.bzl", "src/BUILD", "src/MODULE.tools", "tools/jdk/local_java_repository.bzl", "tools/jdk/remote_java_repository.bzl" ]
[ ".bazelrc", "BUILD", "MODULE.bazel", "MODULE.bazel.lock", "distdir_deps.bzl", "src/BUILD", "src/MODULE.tools", "tools/jdk/local_java_repository.bzl", "tools/jdk/remote_java_repository.bzl" ]
[ "src/test/java/com/google/devtools/build/android/dexer/BUILD", "src/test/py/bazel/test_base.py", "src/test/shell/bazel/bazel_java17_test.sh", "src/test/shell/bazel/bazel_java_test_defaults.sh", "src/test/shell/bazel/bazel_with_jdk_test.sh", "src/test/shell/integration/bazel_java_test.sh", "src/test/shel...
diff --git a/.bazelrc b/.bazelrc index 9fbb5ece42fe72..d6be9f065df2f0 100644 --- a/.bazelrc +++ b/.bazelrc @@ -14,6 +14,9 @@ build:remote_shared --tool_java_runtime_version=rbe_jdk build:remote_shared --noexperimental_check_desugar_deps # Configuration to build and test Bazel on RBE on Ubuntu 18.04 with Java 11 +# ...
diff --git a/src/test/java/com/google/devtools/build/android/dexer/BUILD b/src/test/java/com/google/devtools/build/android/dexer/BUILD index 9a29e00b6e149f..ac14ee2489ec0d 100644 --- a/src/test/java/com/google/devtools/build/android/dexer/BUILD +++ b/src/test/java/com/google/devtools/build/android/dexer/BUILD @@ -28,7 ...
train
test
2023-10-19T20:44:55
2022-12-29T06:21:31Z
jlaxson
test
bazelbuild/bazel/20000_20018
bazelbuild/bazel
bazelbuild/bazel/20000
bazelbuild/bazel/20018
[ "keyword_pr_to_issue" ]
1ccd9ccd3f99ccdc7f718dafb82182e1dd82ba13
843ac0093f72e1c4f34412ddd8e454322521b997
[ "@bazel-io flag", "CC @meteorcloudy @Wyverald ", "I think I have a fix for this, will submit it soon.", "@bazel-io fork 7.0.0", "Congrats on winning the 20k issue/pr number! 🎉 😄", "A fix for this issue has been included in [Bazel 7.0.0 RC5](https://releases.bazel.build/7.0.0/rc5/index.html). Please test...
[]
2023-11-01T19:59:01Z
[ "type: bug", "team-Rules-Java", "untriaged" ]
[7.0.0rc2 regression] Can't load from `@bazel_tools//tools/jdk` `.bzl` files from module extension
### Description of the bug: When a module extension used with `use_extension` transitively loads from a `.bzl` file in `@bazel_tools//tools/jdk`, the load fails since `@bazel_tools` forwards to `@rules_java`, but [uses an empty repo mapping for `load`s](https://github.com/bazelbuild/bazel/blob/835512a65e97f77101af541...
[ "src/main/java/com/google/devtools/build/lib/skyframe/BzlLoadFunction.java" ]
[ "src/main/java/com/google/devtools/build/lib/skyframe/BzlLoadFunction.java" ]
[ "src/test/py/bazel/bzlmod/bazel_module_test.py" ]
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/BzlLoadFunction.java b/src/main/java/com/google/devtools/build/lib/skyframe/BzlLoadFunction.java index a1b882aab2100f..6b285c7375edb9 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/BzlLoadFunction.java +++ b/src/main/java/com/google/de...
diff --git a/src/test/py/bazel/bzlmod/bazel_module_test.py b/src/test/py/bazel/bzlmod/bazel_module_test.py index 42cef63678125d..bbb66e13121ad0 100644 --- a/src/test/py/bazel/bzlmod/bazel_module_test.py +++ b/src/test/py/bazel/bzlmod/bazel_module_test.py @@ -755,6 +755,36 @@ def testLocationNonRegistry(self): _, _...
train
test
2023-11-01T19:08:34
2023-10-31T11:47:07Z
fmeum
test
bazelbuild/bazel/19952_20021
bazelbuild/bazel
bazelbuild/bazel/19952
bazelbuild/bazel/20021
[ "keyword_pr_to_issue" ]
13ea6b4e1da341863d5af4588cc0961aedac1276
8f44ab78be47eed67ba02f2a6034c496c855b229
[ "@SalmaSamy @meteorcloudy ", "I'm going to preemptively mark this as a release blocker. 3x slowdown is unacceptable", "@bazel-io fork 7.0.0", "@purkhusid Could you share the output of `bazel info` after each of these builds?", "With `lockfile_mode=off` (25s runtime):\r\n```\r\nbazel-bin: /workspaces/bazel_o...
[]
2023-11-02T04:40:59Z
[ "type: bug", "P1", "team-ExternalDeps", "area-Bzlmod" ]
Analysis performance regression when lockfile is enabled
### Description of the bug: While migrating our repo to bzlmod we encountered an 3x slowdown in analysis when using bzlmod. Looking further into it it seems like it's caused by the newly introduced lockfile because the performance returns back to normal when `--lockfile_mode=off` is set. I can unfortunately ...
[ "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/BazelModuleResolutionEvent.java", "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/ModuleExtensionResolutionEvent.java", "src/main/java/com/google/devtools/build/lib/events/Reportable.java" ]
[ "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/BazelModuleResolutionEvent.java", "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/ModuleExtensionResolutionEvent.java", "src/main/java/com/google/devtools/build/lib/events/Reportable.java" ]
[]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/BazelModuleResolutionEvent.java b/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/BazelModuleResolutionEvent.java index b2e0f6f3a5b40f..cd9c1e6d5bcddf 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/BazelModuleResolutio...
null
test
test
2023-11-01T22:14:29
2023-10-26T09:06:40Z
purkhusid
test
bazelbuild/bazel/19937_20022
bazelbuild/bazel
bazelbuild/bazel/19937
bazelbuild/bazel/20022
[ "keyword_pr_to_issue" ]
8f44ab78be47eed67ba02f2a6034c496c855b229
f71be9c7ade3081e95b2bd8319fbf7c459bfe997
[ "I also think that this should be solved in 7.0 since this will make migrations to bzlmod more painful.", "Exposing the repo mapping on `FilesToRunProvider` seems very low risk to me, but only allows you to get the repo mapping for existing executable targets, not arbitrary collections of runfiles. When packaging...
[]
2023-11-02T04:53:08Z
[ "type: feature request", "untriaged", "team-Rules-API" ]
Allow access or generation of repo mapping files in Starlark
### Description of the feature request: There is currently no way to access the repo mapping file in Starlark. This causes problems when you need to make an binary that uses a runfiles libraries runnable outside of Bazel e.g. in an container or if you just want to package the binary in some way. To make the bin...
[ "src/main/java/com/google/devtools/build/lib/analysis/FilesToRunProvider.java", "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/FilesToRunProviderApi.java" ]
[ "src/main/java/com/google/devtools/build/lib/analysis/FilesToRunProvider.java", "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/FilesToRunProviderApi.java" ]
[ "src/test/java/com/google/devtools/build/lib/analysis/RunfilesRepoMappingManifestTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/FilesToRunProvider.java b/src/main/java/com/google/devtools/build/lib/analysis/FilesToRunProvider.java index ee5a12ae32a568..f07c201aede21a 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/FilesToRunProvider.java +++ b/src/main/java/com/...
diff --git a/src/test/java/com/google/devtools/build/lib/analysis/RunfilesRepoMappingManifestTest.java b/src/test/java/com/google/devtools/build/lib/analysis/RunfilesRepoMappingManifestTest.java index e7949ebee49215..21cd1832c3ba50 100644 --- a/src/test/java/com/google/devtools/build/lib/analysis/RunfilesRepoMappingMan...
val
test
2023-11-02T11:12:04
2023-10-25T09:38:38Z
purkhusid
test
bazelbuild/bazel/20081_20134
bazelbuild/bazel
bazelbuild/bazel/20081
bazelbuild/bazel/20134
[ "keyword_pr_to_issue" ]
06352cb0a4d21df26d975ca595f2c7a7a6df9137
86fe599f7fc67d09c2f9ab4ef0c177a0fb8445f7
[ "Which commands besides `build` (and its logical descendents, like `test` and `cquery`) do you think need support for `--flag_alias`?", "> Which commands besides `build` (and its logical descendents, like `test` and `cquery`) do you think need support for `--flag_alias`?\r\n\r\nFor our use case, none and I'm not ...
[]
2023-11-10T05:50:42Z
[ "type: feature request", "P2", "team-Configurability" ]
`common` does not work with `flag_alias`
### Description of the bug: Using the new `common` in a .bazelrc with `flag_alias` returns the following error: ```sh ERROR: /Users/<user>/Development/cash-ios/.bazelrc: "common --flag_alias=build_config=//:build_config" disallowed. --flag_alias only supports the "build" command. ``` ### Which category does t...
[ "src/main/java/com/google/devtools/build/lib/runtime/BlazeOptionHandler.java" ]
[ "src/main/java/com/google/devtools/build/lib/runtime/BlazeOptionHandler.java" ]
[ "src/test/shell/integration/starlark_configurations_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeOptionHandler.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeOptionHandler.java index 4756e023ff7387..9c862cb7019863 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeOptionHandler.java +++ b/src/main/java/com/goo...
diff --git a/src/test/shell/integration/starlark_configurations_test.sh b/src/test/shell/integration/starlark_configurations_test.sh index b5ad195218098a..3cad6b08857c01 100755 --- a/src/test/shell/integration/starlark_configurations_test.sh +++ b/src/test/shell/integration/starlark_configurations_test.sh @@ -640,6 +64...
train
test
2023-11-10T15:06:10
2023-11-07T16:48:34Z
luispadron
test
bazelbuild/bazel/19915_20136
bazelbuild/bazel
bazelbuild/bazel/19915
bazelbuild/bazel/20136
[ "keyword_pr_to_issue" ]
92beb02436315896e4cb69362f00c78ff1471555
fe85936f7d38c4a279eec78eee7371b37f800000
[ "@lberki I created this issue to get downstream coverage. Assuming CI is green, would you support flipping this for 7.0.0?", "Flipping this flag SGTM. It looks like the incompatible changes pipeline didn't find any incompatibilities." ]
[]
2023-11-10T09:50:42Z
[ "type: process", "incompatible-change", "team-Local-Exec", "migration-ready", "breaking-change-7.0" ]
incompatible_sandbox_hermetic_tmp
Historically, on Linux, Bazel mounted the host machine's `/tmp` directory into each sandbox as `/tmp`. Since each sandbox maintains its own PID namespace, this [causes problems](https://github.com/bazelbuild/bazel/issues/3236) with actions that create files in `/tmp` using only the PID as a distinguishing element of th...
[ "src/main/java/com/google/devtools/build/lib/sandbox/SandboxOptions.java" ]
[ "src/main/java/com/google/devtools/build/lib/sandbox/SandboxOptions.java" ]
[ "src/test/java/com/google/devtools/build/lib/buildtool/EditDuringBuildTest.java", "src/test/shell/bazel/bazel_sandboxing_networking_test.sh", "src/test/shell/integration/execution_strategies_test.sh", "src/test/shell/integration/sandboxing_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/sandbox/SandboxOptions.java b/src/main/java/com/google/devtools/build/lib/sandbox/SandboxOptions.java index 768c07511fd795..8833e8615d53a3 100644 --- a/src/main/java/com/google/devtools/build/lib/sandbox/SandboxOptions.java +++ b/src/main/java/com/google/devtools...
diff --git a/src/test/java/com/google/devtools/build/lib/buildtool/EditDuringBuildTest.java b/src/test/java/com/google/devtools/build/lib/buildtool/EditDuringBuildTest.java index e7b1dc8a677bbc..b5d194d86c2db4 100644 --- a/src/test/java/com/google/devtools/build/lib/buildtool/EditDuringBuildTest.java +++ b/src/test/jav...
val
test
2023-11-10T21:29:12
2023-10-21T11:03:20Z
fmeum
test
bazelbuild/bazel/20116_20141
bazelbuild/bazel
bazelbuild/bazel/20116
bazelbuild/bazel/20141
[ "keyword_pr_to_issue" ]
86fe599f7fc67d09c2f9ab4ef0c177a0fb8445f7
bb43e248f03b60151405fa484774555709bf1138
[ "This reproduces with bazel version set to `7.0.0rc2`", "cc @fmeum ", "You are passing a dict from strings to tuples to `sdk`, but that's not a supported attribute type. Instead, you should pass a dict from strings to lists. But yes, Bazel shouldn't crash in this case.", "I see, so we should also probably adj...
[]
2023-11-10T17:04:53Z
[ "type: bug", "team-ExternalDeps", "untriaged", "area-Bzlmod" ]
[bzlmod] bazel mod graph fails with tuples in MODULE.bazel
### Description of the bug: I run `bazel mod graph` and I get this failure: ``` checking cached actions FATAL: bazel crashed due to an internal error. Printing stack trace: java.lang.IllegalArgumentException: Unsupported type: class net.starlark.java.eval.Tuple at com.google.devtools.build.lib.bazel.b...
[ "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/AttributeValuesAdapter.java" ]
[ "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/AttributeValuesAdapter.java" ]
[ "src/test/java/com/google/devtools/build/lib/bazel/bzlmod/AttributeValuesAdapterTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/AttributeValuesAdapter.java b/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/AttributeValuesAdapter.java index 248d1060975d91..85fdd2a767eb2c 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/AttributeValuesAdapter.java ...
diff --git a/src/test/java/com/google/devtools/build/lib/bazel/bzlmod/AttributeValuesAdapterTest.java b/src/test/java/com/google/devtools/build/lib/bazel/bzlmod/AttributeValuesAdapterTest.java index 45fcbd7d322ea6..b5c0cda5ae66bb 100644 --- a/src/test/java/com/google/devtools/build/lib/bazel/bzlmod/AttributeValuesAdapt...
test
test
2023-11-10T15:43:22
2023-11-09T04:51:32Z
tyler-french
test
bazelbuild/bazel/19749_20147
bazelbuild/bazel
bazelbuild/bazel/19749
bazelbuild/bazel/20147
[ "keyword_pr_to_issue" ]
fe85936f7d38c4a279eec78eee7371b37f800000
a6f8923d6f0ddf37cd101f348779dd93335fca6e
[ "I think of this a bit different than @fmeum (in the closed PR).\r\n\r\nImo for WORKSPACE downloads, the download cache deduplication should only matter “much” across source code revisions(git commits) and not within the same revision. In practice, you would want to group most duplication within a single http_archi...
[]
2023-11-10T19:59:16Z
[ "type: bug", "P2", "team-ExternalDeps" ]
unflip --repository_cache_urls_as_default_canonical_id
### Description of the bug: Looks like https://github.com/bazelbuild/bazel/pull/19549 flipped `--repository_cache_urls_as_default_canonical_id` flag on by default which hurts `rctx.download` performance and breaks rules_oci's layer deduping mechanism completely. Cross-ref: https://github.com/bazel-contrib/rules...
[ "MODULE.bazel.lock", "scripts/bootstrap/bootstrap.sh", "src/main/java/com/google/devtools/build/lib/bazel/BazelRepositoryModule.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/RepositoryOptions.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/DownloadManag...
[ "MODULE.bazel.lock", "scripts/bootstrap/bootstrap.sh", "src/main/java/com/google/devtools/build/lib/bazel/BazelRepositoryModule.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/RepositoryOptions.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/DownloadManag...
[ "src/test/java/com/google/devtools/build/lib/blackbox/bazel/DefaultToolsSetup.java", "src/test/py/bazel/bzlmod/bazel_fetch_test.py", "src/test/py/bazel/test_base.py", "src/test/shell/bazel/bazel_repository_cache_test.sh", "src/test/shell/testenv.sh.tmpl", "src/test/tools/bzlmod/MODULE.bazel.lock" ]
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index d9e52f66ae9f1a..766eaed0864425 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -2158,7 +2158,7 @@ "moduleExtensions": { "//:extensions.bzl%bazel_android_deps": { "general": { - "bzlTransitiveDigest": "U0PdF0Y6pi1ibjV47I9znaKyMppoEO...
diff --git a/src/test/java/com/google/devtools/build/lib/blackbox/bazel/DefaultToolsSetup.java b/src/test/java/com/google/devtools/build/lib/blackbox/bazel/DefaultToolsSetup.java index 916175736adce7..48394f478222fa 100644 --- a/src/test/java/com/google/devtools/build/lib/blackbox/bazel/DefaultToolsSetup.java +++ b/src...
val
test
2023-11-10T22:35:55
2023-10-06T17:14:01Z
thesayyn
test
bazelbuild/bazel/17803_20177
bazelbuild/bazel
bazelbuild/bazel/17803
bazelbuild/bazel/20177
[ "keyword_pr_to_issue" ]
e3ab08195131b4b2db012ec7430a053f3c581213
df881be41074d042683d84c295b14b7119892c38
[ "It looks like this might be related to https://github.com/bazelbuild/bazel/issues/17123 and https://github.com/bazelbuild/bazel/issues/17124\r\n\r\nI think this is more urgent than P2, since a mismatching/incorrect value is printed when the integrity is wrong.", "this has been helping us locally:\r\n\r\n**in `~/...
[]
2023-11-13T15:50:20Z
[ "type: bug", "P2", "team-ExternalDeps", "bad error messaging", "area-Bzlmod" ]
bzlmod integrity error messages are inaccurate and confusing
### Description of the bug: It is extremely difficult to try to figure out how to add an `integrity` value to a Bzlmod override, and the logs are generally completely incorrect for suggestions. I add an archive override: ``` archive_override( module_name = "gazelle", patches = [ "//patches:...
[ "MODULE.bazel.lock", "tools/build_defs/repo/http.bzl" ]
[ "MODULE.bazel.lock", "tools/build_defs/repo/http.bzl" ]
[ "src/test/shell/bazel/bazel_repository_cache_test.sh", "src/test/shell/bazel/workspace_resolved_test.sh", "src/test/tools/bzlmod/MODULE.bazel.lock" ]
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 766eaed0864425..d96714c88e0c36 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -2158,7 +2158,7 @@ "moduleExtensions": { "//:extensions.bzl%bazel_android_deps": { "general": { - "bzlTransitiveDigest": "JIUppb9cYpap/pfU76BpY/F/Qd6Qld...
diff --git a/src/test/shell/bazel/bazel_repository_cache_test.sh b/src/test/shell/bazel/bazel_repository_cache_test.sh index 4836db5b09ebef..c6c2c38394bc4d 100755 --- a/src/test/shell/bazel/bazel_repository_cache_test.sh +++ b/src/test/shell/bazel/bazel_repository_cache_test.sh @@ -124,6 +124,7 @@ EOF zip -0 -ry "...
test
test
2023-11-13T18:05:09
2023-03-16T15:37:50Z
tyler-french
test
bazelbuild/bazel/19829_20215
bazelbuild/bazel
bazelbuild/bazel/19829
bazelbuild/bazel/20215
[ "keyword_pr_to_issue" ]
466d58cb0a0f453af7ba4bb2a4e1e5d2ed60c3ac
5ad64b2570134560969b23963427f016538b4eaa
[ "Is this a blocker for flipping the flag? If one of the android rules would fail with it?", "I've marked it as a blocker for Bazel 7 release (not for starting the release, but for finishing it), but we need someone from the rules_android team to investigate because the code is pretty confusing.", "@bazel-io for...
[]
2023-11-15T18:05:46Z
[ "type: bug", "P1", "team-Android" ]
`android_local_test` isn't compatible with Android Platforms
Forked from #18262. The `android_local_test` rule is a strange beast which wants to do two things: it wants to [build an APK](https://cs.opensource.google/bazel/bazel/+/master:src/main/java/com/google/devtools/build/lib/rules/android/AndroidLocalTestBase.java;drc=196515539edb352f10835f38aeea4d7efa832643;l=99), using...
[ "tools/android/android_sdk_repository_template.bzl" ]
[ "tools/android/android_sdk_repository_template.bzl" ]
[ "src/test/shell/bazel/android/android_helper.sh", "src/test/shell/bazel/android/android_local_test_integration_test.sh" ]
diff --git a/tools/android/android_sdk_repository_template.bzl b/tools/android/android_sdk_repository_template.bzl index 0da0416429b214..04c073000c784c 100644 --- a/tools/android/android_sdk_repository_template.bzl +++ b/tools/android/android_sdk_repository_template.bzl @@ -199,9 +199,6 @@ def create_android_sdk_rules(...
diff --git a/src/test/shell/bazel/android/android_helper.sh b/src/test/shell/bazel/android/android_helper.sh index a8b942d506dd58..2cb7864a4c2867 100755 --- a/src/test/shell/bazel/android/android_helper.sh +++ b/src/test/shell/bazel/android/android_helper.sh @@ -115,7 +115,7 @@ function resolve_android_toolchains() { ...
val
test
2023-11-15T17:55:03
2023-10-16T15:02:15Z
katre
test
bazelbuild/bazel/19920_20228
bazelbuild/bazel
bazelbuild/bazel/19920
bazelbuild/bazel/20228
[ "keyword_pr_to_issue" ]
6eb3a12d303df00e236528cff48e8cf3e7656197
8c4b1c908e5b520126a2480b0855c0c1e58d1ae0
[ "Could you check whether this is fixed with `USE_BAZEL_VERSION=d15ea929e2382b7354cb900b89fc22480b60ff4d`? Could be the same root cause as https://github.com/bazelbuild/bazel/issues/19822.", "No, unfortunately USE_BAZEL_VERSION=d15ea929e2382b7354cb900b89fc22480b60ff4d does not fix it, exactly the same error messag...
[]
2023-11-16T15:48:24Z
[ "type: bug", "team-Rules-CPP", "untriaged" ]
7.0.0rc2 regression from 6.4.0 (new throw_linked_but_not_exported_errors)
### Description of the bug: I have a number of header-file-only libraries, and link these into a number of our shared libraries: Since upgrading from bazel 6.4.0 to bazel 7.0.0rc2, I am getting this error: ``` ERROR: D:/units/cb_bazel/src/path/to/BUILD.bazel:3:21: in cc_shared_library rule //src/path/to/z:libz...
[ "src/main/starlark/builtins_bzl/common/cc/cc_shared_library.bzl", "src/main/starlark/builtins_bzl/common/cc/semantics.bzl" ]
[ "src/main/starlark/builtins_bzl/common/cc/cc_shared_library.bzl", "src/main/starlark/builtins_bzl/common/cc/semantics.bzl" ]
[ "src/main/starlark/tests/builtins_bzl/cc/cc_shared_library/test_cc_shared_library/BUILD.builtin_test" ]
diff --git a/src/main/starlark/builtins_bzl/common/cc/cc_shared_library.bzl b/src/main/starlark/builtins_bzl/common/cc/cc_shared_library.bzl index 7faa8086d49d5a..a70dea701550b3 100644 --- a/src/main/starlark/builtins_bzl/common/cc/cc_shared_library.bzl +++ b/src/main/starlark/builtins_bzl/common/cc/cc_shared_library.b...
diff --git a/src/main/starlark/tests/builtins_bzl/cc/cc_shared_library/test_cc_shared_library/BUILD.builtin_test b/src/main/starlark/tests/builtins_bzl/cc/cc_shared_library/test_cc_shared_library/BUILD.builtin_test index c60473a3c432e3..dd99fbbfd35b77 100644 --- a/src/main/starlark/tests/builtins_bzl/cc/cc_shared_libra...
train
test
2023-11-16T20:17:09
2023-10-23T14:43:06Z
peakschris
test
bazelbuild/bazel/20276_20287
bazelbuild/bazel
bazelbuild/bazel/20276
bazelbuild/bazel/20287
[ "keyword_pr_to_issue" ]
e29d928269ca6387a03ebd3b562ee0e9ca541b05
c241246c590c5cd62807ccc721dd4bd78f7cd63a
[ "The issue seems not to be present in 77eacce3f56ce6b5b466337c123a5cdfd671f2ee .", "Bisection says that the culprit is unfortunately 51bddee96bc357d8131efba606420227c7a8ebc5 , an Abseil version bump. I'm pretty certain: after this change, I got 2/20 restarts, before, 0/50 .", "Interesting,\r\n\r\n> This issue d...
[]
2023-11-22T09:56:14Z
[ "type: bug", "P1", "untriaged", "team-Core" ]
Bazel @HEAD frequently kills the server process
### Description of the bug: When running Bazel in a loop, it occasionally kills the server for no good reason, on about every second invocation, with the error message `Killed non-responsive server process (pid=<number>)` ### Which category does this issue belong to? _No response_ ### What's the simplest, easie...
[ "MODULE.bazel", "MODULE.bazel.lock" ]
[ "MODULE.bazel", "MODULE.bazel.lock" ]
[]
diff --git a/MODULE.bazel b/MODULE.bazel index a4fbb21e997f84..03f1dce5d811cf 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -53,7 +53,7 @@ local_path_override( # The following Bazel modules are not direct dependencies for building Bazel, # but are required for visibility from DIST_ARCHIVE_REPOS in repositories.bzl ...
null
test
test
2023-11-21T22:32:53
2023-11-21T09:52:21Z
lberki
test
bazelbuild/bazel/20371_20412
bazelbuild/bazel
bazelbuild/bazel/20371
bazelbuild/bazel/20412
[ "keyword_pr_to_issue" ]
6b2b8709820b71b52595b3c7da2ada226eafb869
1b214d2c13d4f8841c459e80ff455021b997fddb
[ "`/DBAZEL_CURRENT_REPOSITORY=\"\"` actually isn't the escaped form, the value of this preprocessor variable is really meant to be an empty string *literal*, not the empty string.\r\n\r\nThis class in Bazel is responsible for the escaping and mentions double quotes as special characters that `gcc` and `clang` requir...
[]
2023-12-01T20:45:35Z
[ "type: bug", "team-Rules-CPP", "untriaged" ]
BAZEL_CURRENT_REPOSITORY double escaped when using param files
### Description of the bug: When using --features=compiler_param_file to compile a C file, the string added to the param file is "double escaped" so that the result is `/DBAZEL_CURRENT_REPOSITORY=\"\"` instead of `/DBAZEL_CURRENT_REPOSITORY=""` This does not appear to cause an issue in the clang/gcc compilatio...
[ "src/main/starlark/builtins_bzl/common/cc/cc_binary.bzl", "src/main/starlark/builtins_bzl/common/cc/cc_helper.bzl", "src/main/starlark/builtins_bzl/common/cc/cc_library.bzl", "tools/cpp/runfiles/runfiles_src.h" ]
[ "src/main/starlark/builtins_bzl/common/cc/cc_binary.bzl", "src/main/starlark/builtins_bzl/common/cc/cc_helper.bzl", "src/main/starlark/builtins_bzl/common/cc/cc_library.bzl", "tools/cpp/runfiles/runfiles_src.h" ]
[ "src/test/shell/bazel/cc_integration_test.sh" ]
diff --git a/src/main/starlark/builtins_bzl/common/cc/cc_binary.bzl b/src/main/starlark/builtins_bzl/common/cc/cc_binary.bzl index ea967bc0976a14..39479fe3a3ff3a 100644 --- a/src/main/starlark/builtins_bzl/common/cc/cc_binary.bzl +++ b/src/main/starlark/builtins_bzl/common/cc/cc_binary.bzl @@ -634,7 +634,7 @@ def cc_bi...
diff --git a/src/test/shell/bazel/cc_integration_test.sh b/src/test/shell/bazel/cc_integration_test.sh index 72a3ae6025e384..2512dc300c3bb5 100755 --- a/src/test/shell/bazel/cc_integration_test.sh +++ b/src/test/shell/bazel/cc_integration_test.sh @@ -1519,19 +1519,26 @@ cc_library( name = "library", srcs = ["libr...
test
test
2023-11-30T21:51:41
2023-11-29T19:48:39Z
lwelch
test
bazelbuild/bazel/20354_20430
bazelbuild/bazel
bazelbuild/bazel/20354
bazelbuild/bazel/20430
[ "keyword_pr_to_issue" ]
e35c29fe4670c779e8b96133450959eddf2dae5e
d2dbad3fbb55fd1a932298ea5b6b5660b6084a4c
[ "cc @meteorcloudy ", "One possible solution I see is to change the order of registration to the following in order of decreasing precedence:\r\n1. Toolchains registered in the root module's MODULE.bazel file\r\n2. Toolchains registered in the WORKSPACE file\r\n3. Toolchains registered in dependencies' MODULE.baze...
[]
2023-12-04T21:49:19Z
[ "type: bug", "P2", "team-ExternalDeps", "area-Bzlmod" ]
Unexpected interaction between toolchain resolution and bzlmod
### Description of the bug: When bzlmod is enabled (as it is the case in Bazel 7.0.0), toolchain registered by default can unexpectedly shadow toolchains declared in the `WORKSPACE` file. This makes the oucome of toolchain resolution dependent on whether bzlmod is enabled, even if the `MODULE.bazel` file of the ma...
[ "site/en/external/migration.md", "src/main/java/com/google/devtools/build/lib/packages/Package.java", "src/main/java/com/google/devtools/build/lib/packages/WorkspaceFactory.java", "src/main/java/com/google/devtools/build/lib/packages/WorkspaceFactoryHelper.java", "src/main/java/com/google/devtools/build/lib...
[ "site/en/external/migration.md", "src/main/java/com/google/devtools/build/lib/packages/Package.java", "src/main/java/com/google/devtools/build/lib/packages/WorkspaceFactory.java", "src/main/java/com/google/devtools/build/lib/packages/WorkspaceFactoryHelper.java", "src/main/java/com/google/devtools/build/lib...
[ "src/test/java/com/google/devtools/build/lib/analysis/mock/BazelAnalysisMock.java", "src/test/java/com/google/devtools/build/lib/packages/util/LoadingMock.java", "src/test/java/com/google/devtools/build/lib/repository/ExternalPackageHelperTest.java", "src/test/java/com/google/devtools/build/lib/rules/platform...
diff --git a/site/en/external/migration.md b/site/en/external/migration.md index efd1cd1bc51bd9..c4eb0c4050dbab 100644 --- a/site/en/external/migration.md +++ b/site/en/external/migration.md @@ -453,6 +453,19 @@ toolchain. register_toolchains("@local_config_sh//:local_sh_toolchain") ``` +The toolchains and ...
diff --git a/src/test/java/com/google/devtools/build/lib/analysis/mock/BazelAnalysisMock.java b/src/test/java/com/google/devtools/build/lib/analysis/mock/BazelAnalysisMock.java index bdcf861e3571d3..ba0fbd957955c4 100644 --- a/src/test/java/com/google/devtools/build/lib/analysis/mock/BazelAnalysisMock.java +++ b/src/te...
train
test
2023-12-04T19:44:30
2023-11-29T09:47:07Z
lberki
test
bazelbuild/bazel/13463_20649
bazelbuild/bazel
bazelbuild/bazel/13463
bazelbuild/bazel/20649
[ "keyword_pr_to_issue" ]
4362d97fee91009a5be31510c537e292d90af8cb
3194d85f2e33c6e25c440350249ce91588bbb2b4
[ "Interesting observation thanks. I'll dig in some to find the root cause and report back...", "Some breakpoint debugging shows me this is what fails:\r\n\r\nhttps://github.com/bazelbuild/bazel/blob/09c621e4cf5b968f4c6cdf905ab142d5961f9ddc/src/main/java/com/google/devtools/build/lib/rules/config/ConfigSetting.java...
[]
2023-12-21T21:41:35Z
[ "type: bug", "P3", "team-Configurability", "not stale" ]
bool_flag in config_setting via alias seems broken
### Description of the problem / feature request: When referencing a `bool_flag` in a `config_setting` via an `alias` indirection, the flag value set on the command line seems to be ignored. NOTE: it isn't necessarily only broken for `bool_flags`, but that's just a simple example that illustrate the issue. I suspec...
[ "src/main/java/com/google/devtools/build/lib/rules/config/ConfigSetting.java" ]
[ "src/main/java/com/google/devtools/build/lib/rules/config/ConfigSetting.java" ]
[ "src/test/java/com/google/devtools/build/lib/rules/LabelBuildSettingTest.java", "src/test/java/com/google/devtools/build/lib/rules/config/ConfigSettingTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/rules/config/ConfigSetting.java b/src/main/java/com/google/devtools/build/lib/rules/config/ConfigSetting.java index cc06b86450274f..cb70244ed28eea 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/config/ConfigSetting.java +++ b/src/main/java/com/goo...
diff --git a/src/test/java/com/google/devtools/build/lib/rules/LabelBuildSettingTest.java b/src/test/java/com/google/devtools/build/lib/rules/LabelBuildSettingTest.java index 5500ab253823fc..013cc9a02580d3 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/LabelBuildSettingTest.java +++ b/src/test/java/com/...
test
test
2024-01-03T22:37:04
2021-05-11T02:37:47Z
barbibulle
test
bazelbuild/bazel/20515_20718
bazelbuild/bazel
bazelbuild/bazel/20515
bazelbuild/bazel/20718
[ "keyword_pr_to_issue" ]
e86f9b524db43b74adf7a83e520a4f41a5abadef
99dcdb007ee7a9a47df57744439e5e7a1fcaa923
[ "Thanks for the highly detailed report! I will look into this tomorrow.\n\nCc @lberki ", "Woah, that was a very detailed report, thanks for investing the time and energy into it :) It helped me to zero in on the problem:\r\n\r\n\r\nI can reproduce this. It's due to this snippet:\r\n\r\nhttps://github.com/bazelbui...
[]
2024-01-02T23:46:23Z
[ "type: bug", "team-Local-Exec" ]
Paths to Param Files in Command Lines Refer to Host Execroot Paths (instead of sandbox execroot paths) With `--incompatible_sandbox_hermetic_tmp=true`
## Issue Building Bazel at HEAD with Bazel 7.0.0 (with `--incompatible_sandbox_hermetic_tmp=true`, as is the [default in Bazel 7](https://github.com/bazelbuild/bazel/pull/19943)) and an output base on `/tmp` yields the following error about a `.params` file not being found: ```console ❯ bazel-7.0.0-linux-x86_64 --...
[ "src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java", "src/main/java/com/google/devtools/build/lib/sandbox/BUILD", "src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java", "src/main/java/com/google/devtools/build/lib/sandbox/DockerSandboxedSpawnRunner.java...
[ "src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java", "src/main/java/com/google/devtools/build/lib/sandbox/BUILD", "src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java", "src/main/java/com/google/devtools/build/lib/sandbox/DockerSandboxedSpawnRunner.java...
[ "src/test/java/com/google/devtools/build/lib/sandbox/BUILD", "src/test/java/com/google/devtools/build/lib/sandbox/SandboxHelpersTest.java", "src/test/java/com/google/devtools/build/lib/skyframe/ActionOutputMetadataStoreTest.java", "src/test/shell/bazel/bazel_sandboxing_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java b/src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java index 1afcd70e2b533b..be99bbd147220b 100644 --- a/src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java +++ b/src/main/java/com/google...
diff --git a/src/test/java/com/google/devtools/build/lib/sandbox/BUILD b/src/test/java/com/google/devtools/build/lib/sandbox/BUILD index 74873ef72d3311..671997db568c43 100644 --- a/src/test/java/com/google/devtools/build/lib/sandbox/BUILD +++ b/src/test/java/com/google/devtools/build/lib/sandbox/BUILD @@ -59,12 +59,14 ...
val
test
2024-01-03T22:05:59
2023-12-12T23:12:52Z
rrbutani
test
bazelbuild/bazel/20527_20749
bazelbuild/bazel
bazelbuild/bazel/20527
bazelbuild/bazel/20749
[ "keyword_pr_to_issue" ]
b5fa4929be04f01e27b03fb320452064a846d304
47de7f0450ca30a9ff0e30f6c6fba4f9dc8ff4a8
[ "CC @lberki \r\n\r\nA simple workaround would be to just disable the hermetic `/tmp` in this case, similar to what we do for tmpfs paths. What do you think of this?\r\n\r\n```java\r\ndiff --git a/src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java b/src/main/java/com/google/devtools/b...
[]
2024-01-04T23:17:36Z
[ "type: bug", "team-Local-Exec" ]
Bazel 7: `--sandbox_add_mount_pair` under `/tmp` fails
### Description of the bug: With Bazel 7, but neither Bazel 6.4.0 nor `--noincompatible_sandbox_hermetic_tmp`, builds with `--sandbox_add_mount_pair` referencing a path under `/tmp` fail since `/tmp` has been remounted before the manually specified mount pair is applied. ### Which category does this issue belon...
[ "src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java" ]
[ "src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java" ]
[ "src/test/shell/bazel/bazel_sandboxing_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java b/src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java index 5e5e0a825d9cbf..8c333be0553f73 100644 --- a/src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java +++ b/...
diff --git a/src/test/shell/bazel/bazel_sandboxing_test.sh b/src/test/shell/bazel/bazel_sandboxing_test.sh index 86fa7ad1807cd4..ec7655ac36d53b 100755 --- a/src/test/shell/bazel/bazel_sandboxing_test.sh +++ b/src/test/shell/bazel/bazel_sandboxing_test.sh @@ -316,21 +316,84 @@ function test_add_mount_pair_tmp_source() {...
test
test
2024-01-05T01:21:06
2023-12-13T17:26:37Z
fmeum
test
bazelbuild/bazel/20515_20766
bazelbuild/bazel
bazelbuild/bazel/20515
bazelbuild/bazel/20766
[ "keyword_pr_to_issue" ]
6f07e40bf3b6afea4024da1dc8265ef56f3ab5f4
806556d214a8735575444966948e6ab3d8b4159d
[ "Thanks for the highly detailed report! I will look into this tomorrow.\n\nCc @lberki ", "Woah, that was a very detailed report, thanks for investing the time and energy into it :) It helped me to zero in on the problem:\r\n\r\n\r\nI can reproduce this. It's due to this snippet:\r\n\r\nhttps://github.com/bazelbui...
[]
2024-01-05T23:54:40Z
[ "type: bug", "team-Local-Exec" ]
Paths to Param Files in Command Lines Refer to Host Execroot Paths (instead of sandbox execroot paths) With `--incompatible_sandbox_hermetic_tmp=true`
## Issue Building Bazel at HEAD with Bazel 7.0.0 (with `--incompatible_sandbox_hermetic_tmp=true`, as is the [default in Bazel 7](https://github.com/bazelbuild/bazel/pull/19943)) and an output base on `/tmp` yields the following error about a `.params` file not being found: ```console ❯ bazel-7.0.0-linux-x86_64 --...
[ "src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java", "src/main/java/com/google/devtools/build/lib/sandbox/BUILD", "src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java", "src/main/java/com/google/devtools/build/lib/sandbox/DockerSandboxedSpawnRunner.java...
[ "src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java", "src/main/java/com/google/devtools/build/lib/sandbox/BUILD", "src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java", "src/main/java/com/google/devtools/build/lib/sandbox/DockerSandboxedSpawnRunner.java...
[ "src/test/java/com/google/devtools/build/lib/sandbox/BUILD", "src/test/java/com/google/devtools/build/lib/sandbox/SandboxHelpersTest.java", "src/test/java/com/google/devtools/build/lib/skyframe/ActionOutputMetadataStoreTest.java", "src/test/shell/bazel/bazel_sandboxing_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java b/src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java index 1afcd70e2b533b..be99bbd147220b 100644 --- a/src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java +++ b/src/main/java/com/google...
diff --git a/src/test/java/com/google/devtools/build/lib/sandbox/BUILD b/src/test/java/com/google/devtools/build/lib/sandbox/BUILD index 74873ef72d3311..671997db568c43 100644 --- a/src/test/java/com/google/devtools/build/lib/sandbox/BUILD +++ b/src/test/java/com/google/devtools/build/lib/sandbox/BUILD @@ -59,12 +59,14 ...
train
test
2024-01-05T18:59:07
2023-12-12T23:12:52Z
rrbutani
test
bazelbuild/bazel/20527_20772
bazelbuild/bazel
bazelbuild/bazel/20527
bazelbuild/bazel/20772
[ "keyword_pr_to_issue" ]
eb517905bac62fd1d98b371e4828f4fb9450d4c5
cc4881e07e723da1b8a230161f53f259067cff91
[ "CC @lberki \r\n\r\nA simple workaround would be to just disable the hermetic `/tmp` in this case, similar to what we do for tmpfs paths. What do you think of this?\r\n\r\n```java\r\ndiff --git a/src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java b/src/main/java/com/google/devtools/b...
[]
2024-01-06T00:02:52Z
[ "type: bug", "team-Local-Exec" ]
Bazel 7: `--sandbox_add_mount_pair` under `/tmp` fails
### Description of the bug: With Bazel 7, but neither Bazel 6.4.0 nor `--noincompatible_sandbox_hermetic_tmp`, builds with `--sandbox_add_mount_pair` referencing a path under `/tmp` fail since `/tmp` has been remounted before the manually specified mount pair is applied. ### Which category does this issue belon...
[ "src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java" ]
[ "src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java" ]
[ "src/test/shell/bazel/bazel_sandboxing_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java b/src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java index ac9c5ae72fcc13..da68a8c50c03b8 100644 --- a/src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java +++ b/...
diff --git a/src/test/shell/bazel/bazel_sandboxing_test.sh b/src/test/shell/bazel/bazel_sandboxing_test.sh index 86fa7ad1807cd4..ec7655ac36d53b 100755 --- a/src/test/shell/bazel/bazel_sandboxing_test.sh +++ b/src/test/shell/bazel/bazel_sandboxing_test.sh @@ -316,21 +316,84 @@ function test_add_mount_pair_tmp_source() {...
val
test
2024-01-11T19:09:19
2023-12-13T17:26:37Z
fmeum
test
bazelbuild/bazel/20722_20840
bazelbuild/bazel
bazelbuild/bazel/20722
bazelbuild/bazel/20840
[ "keyword_pr_to_issue" ]
cac8d12cb3df6edb7f2a8c362011b64d87b99681
ce993c49aeb16b9d64f76fd408ef0b5fa2e8bf63
[ "@bazel-io fork 7.0.1", "@Wyverald @meteorcloudy This, combined with https://github.com/bazelbuild/bazel/commit/f4be0b2e7b5539502661033bcf6f47722aaa7e47#diff-ef4da5cc2da76cded220009a0dcc95373700d704629a1a2e9ebe84a9be076854, actually breaks `jvm_maven_import_external` and `http_jar` when `rules_java` is updated, o...
[]
2024-01-10T15:22:22Z
[ "type: bug", "P2", "team-ExternalDeps" ]
Repository rules aren't refetched when their repo mappings change
### Description of the bug: This is similar to https://github.com/bazelbuild/bazel/issues/20721, but 1) about repository rules rather than module extensions and 2) not a regression in 7.0.0. A repository rule isn't refetched when its repo mapping changes, which can result in `Label(...)` calls made in the implemen...
[ "MODULE.bazel.lock", "tools/build_defs/repo/http.bzl", "tools/build_defs/repo/jvm.bzl" ]
[ "MODULE.bazel.lock", "tools/build_defs/repo/http.bzl", "tools/build_defs/repo/jvm.bzl" ]
[ "src/test/tools/bzlmod/MODULE.bazel.lock" ]
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 3646c7e15bfa9c..bb33d6df320b03 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -2158,7 +2158,7 @@ "moduleExtensions": { "//:extensions.bzl%bazel_android_deps": { "general": { - "bzlTransitiveDigest": "PjK+f/kxkhda9tRFlKVdGfNszPoXs7...
diff --git a/src/test/tools/bzlmod/MODULE.bazel.lock b/src/test/tools/bzlmod/MODULE.bazel.lock index 80fcbbd46be616..86ee343f5e44ff 100644 --- a/src/test/tools/bzlmod/MODULE.bazel.lock +++ b/src/test/tools/bzlmod/MODULE.bazel.lock @@ -641,12 +641,13 @@ "name": "apple_support~1.5.0~apple_cc_configure_exte...
train
test
2024-01-10T14:14:32
2024-01-03T11:20:24Z
fmeum
test
bazelbuild/bazel/19674_20856
bazelbuild/bazel
bazelbuild/bazel/19674
bazelbuild/bazel/20856
[ "keyword_pr_to_issue" ]
eb517905bac62fd1d98b371e4828f4fb9450d4c5
1c00f90318b9aa58ce8dd997d9735954c035b864
[ "This is how Kleaf works around the issue right now (by defining multiple repositories):\r\n\r\nhttps://cs.android.com/android/kernel/superproject/+/common-android-mainline:build/kernel/kleaf/download_repo.bzl;l=356;drc=93375eb99ad216911bca8366cd8b70dd3d00def8\r\n\r\nThis feature request blocks DDKv2 development ([...
[]
2024-01-11T19:10:31Z
[ "type: feature request", "P2", "team-ExternalDeps", "team-Core", "help wanted" ]
Request API in repository_ctx to download multiple files simultaneously
### Description of the feature request: tl;dr: Request an API that is similar to repository_ctx.download, but download multiple files simultaneously. ### Which category does this issue belong to? Core, External Dependency ### What underlying problem are you trying to solve with this feature? Example to repr...
[ "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/BUILD", "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/DownloadManager.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/HttpDownloader.java", "src/main/java/com/google/devtools/bui...
[ "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/BUILD", "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/DownloadManager.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/HttpDownloader.java", "src/main/java/com/google/devtools/bui...
[ "src/test/shell/bazel/external_integration_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/BUILD b/src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/BUILD index 69cee4b2f4a084..f3ed273ba387a1 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/BUILD +++ b/src/main/java/c...
diff --git a/src/test/shell/bazel/external_integration_test.sh b/src/test/shell/bazel/external_integration_test.sh index 83223138173ed7..e378a7074ccc4b 100755 --- a/src/test/shell/bazel/external_integration_test.sh +++ b/src/test/shell/bazel/external_integration_test.sh @@ -49,6 +49,9 @@ EOF tear_down() { shutdow...
train
test
2024-01-11T19:09:19
2023-09-28T22:45:34Z
jacky8hyf
test
bazelbuild/bazel/20834_20901
bazelbuild/bazel
bazelbuild/bazel/20834
bazelbuild/bazel/20901
[ "keyword_pr_to_issue" ]
39b99542922154ef6521ae31d3d299e1e4720c95
a42bea763370d482a7a192f51e9c83e94340ef9b
[ "@bazel-io fork 7.0.1", "@fmeum Are you looking into a fix? This seems to be the only blocker for 7.0.1", "@meteorcloudy Yes, the speculative fix is https://github.com/bazelbuild/bazel/pull/20833. Unfortunately the reporter is unable to test this and it's also very challenging to cover in integration tests.", ...
[]
2024-01-15T14:13:20Z
[ "type: bug", "team-Rules-CPP", "untriaged" ]
After upgrading to bazel 7.0.0 gcc fails with: --push-state: unknown option
### Description of the bug: After upgrading to bazel 7.0.0 the builds in our internal CIs that have an old gcc compiler are failing with: ``` (08:11:06) ERROR: /home/build/.cache/native_bazel_output_base/external/io_grpc_grpc_java/compiler/BUILD.bazel:5:10: Linking external/io_grpc_grpc_java/compiler/grpc_java_p...
[ "MODULE.bazel.lock", "tools/cpp/unix_cc_configure.bzl" ]
[ "MODULE.bazel.lock", "tools/cpp/unix_cc_configure.bzl" ]
[ "src/test/tools/bzlmod/MODULE.bazel.lock" ]
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index bb33d6df320b03..fc9d8b7e034b70 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -2179,7 +2179,7 @@ "general": { "bzlTransitiveDigest": "rjB9TSLGt3ZwbECWtF/HMgfqMsfEnDLK6fGIe65ZyfE=", "accumulatedFileDigests": { - "@@//sr...
diff --git a/src/test/tools/bzlmod/MODULE.bazel.lock b/src/test/tools/bzlmod/MODULE.bazel.lock index 86ee343f5e44ff..aa7908c026fe7d 100644 --- a/src/test/tools/bzlmod/MODULE.bazel.lock +++ b/src/test/tools/bzlmod/MODULE.bazel.lock @@ -642,7 +642,13 @@ } } }, - "recordedRepoMappin...
val
test
2024-01-15T17:03:07
2024-01-10T10:17:50Z
rsalvador
test
bazelbuild/bazel/13709_20915
bazelbuild/bazel
bazelbuild/bazel/13709
bazelbuild/bazel/20915
[ "keyword_pr_to_issue" ]
debe29beea0bd254fa137d76920b17b170461448
1821a88927d27f64cd4d9cd719d2899383e2f066
[ "It doesn't out of the box, but it can be made to with a bit of boiler-plate:\r\n\r\n```starlark\r\nload(\r\n \"@bazel_tools//tools/build_defs/repo:utils.bzl\",\r\n \"read_netrc\",\r\n \"use_netrc\",\r\n)\r\nload(\"@bazel_skylib//lib:versions.bzl\", \"versions\")\r\n\r\ndef _use_netrc(netrc, urls, patterns...
[]
2024-01-17T01:13:02Z
[ "type: bug", "P2", "team-ExternalDeps" ]
repository_ctx.download doesn't use netrc
### Description of the problem / feature request: It seems that `repository_ctx.download(url)` doesn't handle netrc auth (while `http_archive`/`http_file` can use it, also wget can fetch same url). Rule in question is `jvm_maven_import_external` https://github.com/bazelbuild/bazel/blob/master/tools/build_defs/repo/...
[ "MODULE.bazel.lock", "tools/build_defs/repo/http.bzl", "tools/build_defs/repo/jvm.bzl", "tools/build_defs/repo/utils.bzl" ]
[ "MODULE.bazel.lock", "tools/build_defs/repo/http.bzl", "tools/build_defs/repo/jvm.bzl", "tools/build_defs/repo/utils.bzl" ]
[ "src/test/tools/bzlmod/MODULE.bazel.lock" ]
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index ea3bea3221fa12..514a2dc2f37123 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -2159,7 +2159,7 @@ "moduleExtensions": { "//:extensions.bzl%bazel_android_deps": { "general": { - "bzlTransitiveDigest": "PjK+f/kxkhda9tRFlKVdGfNszPoXs7...
diff --git a/src/test/tools/bzlmod/MODULE.bazel.lock b/src/test/tools/bzlmod/MODULE.bazel.lock index 80fcbbd46be616..709394de9f7ee9 100644 --- a/src/test/tools/bzlmod/MODULE.bazel.lock +++ b/src/test/tools/bzlmod/MODULE.bazel.lock @@ -646,7 +646,7 @@ }, "@@bazel_tools//tools/android:android_extensions.bzl%rem...
test
test
2024-01-16T17:32:13
2021-07-19T09:37:38Z
dmivankov
test
bazelbuild/bazel/20722_20917
bazelbuild/bazel
bazelbuild/bazel/20722
bazelbuild/bazel/20917
[ "keyword_pr_to_issue" ]
86a5f6b66dac4001c88fa00f938e0b482aede4a7
572f5eab573765ed2bdc86887a933c07f5f049d9
[ "@bazel-io fork 7.0.1", "@Wyverald @meteorcloudy This, combined with https://github.com/bazelbuild/bazel/commit/f4be0b2e7b5539502661033bcf6f47722aaa7e47#diff-ef4da5cc2da76cded220009a0dcc95373700d704629a1a2e9ebe84a9be076854, actually breaks `jvm_maven_import_external` and `http_jar` when `rules_java` is updated, o...
[]
2024-01-17T03:36:34Z
[ "type: bug", "P2", "team-ExternalDeps" ]
Repository rules aren't refetched when their repo mappings change
### Description of the bug: This is similar to https://github.com/bazelbuild/bazel/issues/20721, but 1) about repository rules rather than module extensions and 2) not a regression in 7.0.0. A repository rule isn't refetched when its repo mapping changes, which can result in `Label(...)` calls made in the implemen...
[ "MODULE.bazel.lock", "tools/build_defs/repo/http.bzl", "tools/build_defs/repo/jvm.bzl" ]
[ "MODULE.bazel.lock", "tools/build_defs/repo/http.bzl", "tools/build_defs/repo/jvm.bzl" ]
[ "src/test/tools/bzlmod/MODULE.bazel.lock" ]
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 0af79c54f807e9..985f3b8cb8a5aa 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -2159,7 +2159,7 @@ "moduleExtensions": { "//:extensions.bzl%bazel_android_deps": { "general": { - "bzlTransitiveDigest": "QhQuQNBvy9io+azl8gYOlszhd84Xlt...
diff --git a/src/test/tools/bzlmod/MODULE.bazel.lock b/src/test/tools/bzlmod/MODULE.bazel.lock index 94ab8ba71d5969..6887b750690452 100644 --- a/src/test/tools/bzlmod/MODULE.bazel.lock +++ b/src/test/tools/bzlmod/MODULE.bazel.lock @@ -989,7 +989,7 @@ }, "@@bazel_tools//tools/android:android_extensions.bzl%rem...
val
test
2024-01-17T15:48:42
2024-01-03T11:20:24Z
fmeum
test
bazelbuild/bazel/17829_20979
bazelbuild/bazel
bazelbuild/bazel/17829
bazelbuild/bazel/20979
[ "keyword_pr_to_issue" ]
269c70bb63bce060ff2daac7dee1ff5e124eab58
8edf5e5f67ced417dca578bd9635acf415d21cce
[ "cc @Wyverald ", "Note, we'll need to add a workaround in rules_oci for now, however it uses a requires using another tool during the repository rule, making it require a fake toolchain resolution and also the download it makes is not cached anywhere.", "@meteorcloudy Do you see any potential issues with allowi...
[]
2024-01-22T21:14:09Z
[ "type: feature request", "P3", "team-ExternalDeps" ]
Allow arbitrary headers to sent with Bazel Downloader
### Description of the feature request: Currently, bazel sets some headers when sending an HTTP request to fetch artifacts over the internet. While this works well for most cases, it doesn't work at all when the remote server requires some HTTP headers to be set to special values. For instance, currently bazel se...
[ "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/DelegatingDownloader.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/DownloadManager.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/Downloader.java", "src/main/java/com/goo...
[ "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/DelegatingDownloader.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/DownloadManager.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/Downloader.java", "src/main/java/com/goo...
[ "src/test/java/com/google/devtools/build/lib/bazel/repository/downloader/HttpDownloaderTest.java", "src/test/java/com/google/devtools/build/lib/remote/downloader/GrpcRemoteDownloaderTest.java", "src/test/shell/bazel/remote_helpers.sh", "src/test/shell/bazel/starlark_repository_test.sh", "src/test/shell/baze...
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/DelegatingDownloader.java b/src/main/java/com/google/devtools/build/lib/bazel/repository/downloader/DelegatingDownloader.java index 249cc22c7c0d19..3b06fec38ce2ee 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/repositor...
diff --git a/src/test/java/com/google/devtools/build/lib/bazel/repository/downloader/HttpDownloaderTest.java b/src/test/java/com/google/devtools/build/lib/bazel/repository/downloader/HttpDownloaderTest.java index 2451af6027aabf..0e59d412abb975 100644 --- a/src/test/java/com/google/devtools/build/lib/bazel/repository/do...
test
test
2024-01-19T17:35:40
2023-03-20T17:41:12Z
thesayyn
test
bazelbuild/bazel/20834_20990
bazelbuild/bazel
bazelbuild/bazel/20834
bazelbuild/bazel/20990
[ "keyword_pr_to_issue" ]
269c70bb63bce060ff2daac7dee1ff5e124eab58
0aa0f602091a1d66bd18984aca66d87ff8867831
[ "@bazel-io fork 7.0.1", "@fmeum Are you looking into a fix? This seems to be the only blocker for 7.0.1", "@meteorcloudy Yes, the speculative fix is https://github.com/bazelbuild/bazel/pull/20833. Unfortunately the reporter is unable to test this and it's also very challenging to cover in integration tests.", ...
[]
2024-01-22T23:08:06Z
[ "type: bug", "team-Rules-CPP", "untriaged" ]
After upgrading to bazel 7.0.0 gcc fails with: --push-state: unknown option
### Description of the bug: After upgrading to bazel 7.0.0 the builds in our internal CIs that have an old gcc compiler are failing with: ``` (08:11:06) ERROR: /home/build/.cache/native_bazel_output_base/external/io_grpc_grpc_java/compiler/BUILD.bazel:5:10: Linking external/io_grpc_grpc_java/compiler/grpc_java_p...
[ "MODULE.bazel.lock", "tools/cpp/unix_cc_configure.bzl" ]
[ "MODULE.bazel.lock", "tools/cpp/unix_cc_configure.bzl" ]
[ "src/test/tools/bzlmod/MODULE.bazel.lock" ]
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 985f3b8cb8a5aa..badb20420084f0 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -2180,7 +2180,7 @@ "general": { "bzlTransitiveDigest": "OaXuahb8Ga1zYeFJL4rrJjYmP9XovLouv9Tp+aqzEX0=", "accumulatedFileDigests": { - "@@//sr...
diff --git a/src/test/tools/bzlmod/MODULE.bazel.lock b/src/test/tools/bzlmod/MODULE.bazel.lock index 6887b750690452..b7493f2c371bf4 100644 --- a/src/test/tools/bzlmod/MODULE.bazel.lock +++ b/src/test/tools/bzlmod/MODULE.bazel.lock @@ -1016,7 +1016,7 @@ }, "@@bazel_tools//tools/cpp:cc_configure.bzl%cc_configur...
train
test
2024-01-19T17:35:40
2024-01-10T10:17:50Z
rsalvador
test
bazelbuild/bazel/20631_21023
bazelbuild/bazel
bazelbuild/bazel/20631
bazelbuild/bazel/21023
[ "keyword_pr_to_issue" ]
c6c7693bbcc8558074281eabf5ef40128a216c57
5202a05d182f2881972791af19a8d236c01d57ad
[ "I started working on this in the past in https://github.com/bazelbuild/bazel/pull/18990, but noticed a problems with my implementation: All repositories generated by a module extension share the same repository mapping containing all these repos. If stored naively, this results in memory usage that is quadratic in...
[]
2024-01-25T05:41:52Z
[ "type: feature request", "P1", "team-ExternalDeps" ]
Support querying repo mappings
### Description of the feature request: Add a way of querying for repo mappings, for usage in external tools (such as language servers). The repo mapping is necessary for these tools to resolve labels to files on disk, since the files live under the canonical repo name. ### Which category does this issue belong to? ...
[ "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/modcommand/ModOptions.java", "src/main/java/com/google/devtools/build/lib/bazel/commands/BUILD", "src/main/java/com/google/devtools/build/lib/bazel/commands/ModCommand.java", "src/main/java/com/google/devtools/build/lib/bazel/commands/mod.txt" ]
[ "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/modcommand/ModOptions.java", "src/main/java/com/google/devtools/build/lib/bazel/commands/BUILD", "src/main/java/com/google/devtools/build/lib/bazel/commands/ModCommand.java", "src/main/java/com/google/devtools/build/lib/bazel/commands/mod.txt" ]
[ "src/test/py/bazel/bzlmod/mod_command_test.py" ]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/modcommand/ModOptions.java b/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/modcommand/ModOptions.java index ab45297ae423fc..bac6b42d6b9c48 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/modcommand/ModOptions.java +++...
diff --git a/src/test/py/bazel/bzlmod/mod_command_test.py b/src/test/py/bazel/bzlmod/mod_command_test.py index d17264ed2f7923..74172b0c765e7d 100644 --- a/src/test/py/bazel/bzlmod/mod_command_test.py +++ b/src/test/py/bazel/bzlmod/mod_command_test.py @@ -14,6 +14,7 @@ # limitations under the License. """Tests the mod...
train
test
2024-01-26T00:31:44
2023-12-20T23:59:38Z
cameron-martin
test
bazelbuild/bazel/17794_21224
bazelbuild/bazel
bazelbuild/bazel/17794
bazelbuild/bazel/21224
[ "keyword_pr_to_issue" ]
89f23acb86c4fa540d1d5d04f0c32305a6b75f7c
8632aaf71ac5480e66ce36658050651eb2f1450b
[ "I simply didn't consider this case when I submitted https://github.com/bazelbuild/bazel/commit/ef3f05852b3bf542903f091184da96b96354a13d. Happy to (pre-)review a PR.", "A fix for this issue has been included in [Bazel 7.1.0 RC1](https://releases.bazel.build/7.1.0/rc1/index.html). Please test out the release candi...
[ "This should not be changed." ]
2024-02-06T20:06:17Z
[ "type: bug", "P3", "team-Rules-CPP" ]
@bazel_tools//tools/cpp:compiler:gcc detection does not handle `gcc-10`
### Description of the bug: Bazel's detection of GCC only works if the compiler executable name is exactly "gcc": https://github.com/bazelbuild/bazel/blob/f06d00b8060b3b50f5dbc4a03b957c269ef62670/tools/cpp/unix_cc_configure.bzl#L273 Consequently, it fails to detect common variations like `gcc-10` as GCC. ### W...
[ "MODULE.bazel.lock", "tools/cpp/unix_cc_configure.bzl" ]
[ "MODULE.bazel.lock", "tools/cpp/unix_cc_configure.bzl" ]
[ "src/test/tools/bzlmod/MODULE.bazel.lock" ]
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 00927dd2728418..b290989d4724ac 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -2293,7 +2293,7 @@ "general": { "bzlTransitiveDigest": "TaEUQXsOyJBUS1hp5pqPajfzBJlceug58PemF8nCEa8=", "accumulatedFileDigests": { - "@@//sr...
diff --git a/src/test/tools/bzlmod/MODULE.bazel.lock b/src/test/tools/bzlmod/MODULE.bazel.lock index 7b3d08135fdfed..58783496a694af 100644 --- a/src/test/tools/bzlmod/MODULE.bazel.lock +++ b/src/test/tools/bzlmod/MODULE.bazel.lock @@ -1002,7 +1002,7 @@ }, "@@bazel_tools//tools/cpp:cc_configure.bzl%cc_configur...
train
test
2024-02-06T17:35:39
2023-03-15T21:44:13Z
jbms
test
bazelbuild/bazel/14_48
bazelbuild/bazel
bazelbuild/bazel/14
bazelbuild/bazel/48
[ "timestamp(timedelta=66336.0, similarity=0.8547909199217864)" ]
03bad4619075aa77876698c55827aa54e7426ea9
5e28c4e2882a98e5afb0b7b3c1c33c1001699909
[ "Thanks, should all be fixed.\n" ]
[]
2015-03-25T05:57:33Z
[]
typos in readme
A emphasis on automated testing -> An emphasis on automated testing "Find more background about Bazel in our FAQ" -- needs a period after FAQ. "The test environment is described the test encyclopedia." -- described _in_ the test encyclopedia?
[ "README.md" ]
[ "README.md" ]
[]
diff --git a/README.md b/README.md index a84d7b1b67a686..4bec7211edf027 100644 --- a/README.md +++ b/README.md @@ -25,17 +25,17 @@ Find more background about Bazel in our [FAQ](docs/FAQ.md) ## Getting Started - * How to [install Bazel](//bazel.io/docs/install.html) - * How to [get started using Bazel](//bazel.io...
null
train
train
2015-03-24T18:17:20
2015-03-24T15:53:43Z
jason-sachs
test
bazelbuild/bazel/142_143
bazelbuild/bazel
bazelbuild/bazel/142
bazelbuild/bazel/143
[ "timestamp(timedelta=407.0, similarity=0.9395480498605061)" ]
ee85e55ca03e945f7babb9a1c619a6a7bbfc1d51
39f5fa31ea918628dc315c6a1bfa51d8c60d1018
[ "Nice catch. Can you submit your patch with a github pull request?\n", "OK, I sent a pull request. I haven't done that before, so let me know if anything is fishy.\n", "https://github.com/google/bazel/commit/e93638335955ff8d7e948f2d385319e458ee0ca4\n" ]
[]
2015-04-19T18:29:45Z
[]
./compile.sh fails with macports
Following the instructions at http://bazel.io/docs/install.html for a Mac using macports, I get: <pre> $ ./compile.sh cp: /include/archive.h: No such file or directory cp: /include/archive_entry.h: No such file or directory </pre> This seems to fix the problem: <pre> $ git diff ./compile.sh diff --git a/compile.s...
[ "compile.sh" ]
[ "compile.sh" ]
[]
diff --git a/compile.sh b/compile.sh index c4ff9bf3944aa0..3a9231ac06b55e 100755 --- a/compile.sh +++ b/compile.sh @@ -99,7 +99,8 @@ EOF elif [[ -e $macports_header ]]; then # For use with Macports. - archive_dir=$(dirname $(dirname $macports_header)) rm -f fromhost/*.[ah] + archive_dir=...
null
train
train
2015-04-19T11:29:46
2015-04-19T02:23:12Z
allenporter
test
bazelbuild/bazel/308_3571
bazelbuild/bazel
bazelbuild/bazel/308
bazelbuild/bazel/3571
[ "timestamp(timedelta=87.0, similarity=0.8616929189821002)" ]
c69dbf8ed4893066d0474f87c0a8ddae00e4ee58
15821573093277590de0debda4f2aa2363c33866
[ "As mentioned on https://groups.google.com/d/msg/bazel-discuss/25X8NKHv4H8/pS2so6AjJAAJ, downloading the javadoc jar would also be nice.\n", "+1\n", "+1\n", "+1\n", "+1\n", "+1\n", "Why is this P4 priority issue? Quoting Gerrit Code Review priority descriptions: [1], that apparently common for all Googl...
[]
2017-08-16T14:07:04Z
[ "type: feature request" ]
maven_jar should also pull source jars
most maven jars have a parallel -src.jar available. This is very useful in an IDE as eclipse lets you tie a src-jar to a precompiled-jar. In mvn that is usually: mvn eclipse:eclipse -DdownloadSources=true I would suggest that this should be the default option in bazel, or at least configurable in the maven_jar(..., ...
[ "src/main/java/com/google/devtools/build/lib/bazel/repository/DecompressorDescriptor.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/FileDecompressor.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/JarDecompressor.java", "src/main/java/com/google/devtools/build/lib/ba...
[ "src/main/java/com/google/devtools/build/lib/bazel/repository/DecompressorDescriptor.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/FileDecompressor.java", "src/main/java/com/google/devtools/build/lib/bazel/repository/JarDecompressor.java", "src/main/java/com/google/devtools/build/lib/ba...
[ "src/test/java/com/google/devtools/build/lib/rules/repository/JarDecompressorTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/repository/DecompressorDescriptor.java b/src/main/java/com/google/devtools/build/lib/bazel/repository/DecompressorDescriptor.java index 40c7b7c297c506..b1d02132cd8f1c 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/repository/DecompressorDesc...
diff --git a/src/test/java/com/google/devtools/build/lib/rules/repository/JarDecompressorTest.java b/src/test/java/com/google/devtools/build/lib/rules/repository/JarDecompressorTest.java index 37cfa8daa33f41..f3bafaeb8e79ef 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/repository/JarDecompressorTest.ja...
train
train
2017-08-16T11:06:42
2015-07-15T11:41:27Z
pmbethe09
test
bazelbuild/bazel/457_459
bazelbuild/bazel
bazelbuild/bazel/457
bazelbuild/bazel/459
[ "timestamp(timedelta=158.0, similarity=0.918334548218563)" ]
71973e629ef11bdc619a3c9b10809fa1482995e8
a79cd42972b46d0d70a0fe3ab6bd57ad728b90e6
[ "I'm sorry to dig up this issue from the history but I'm trying to introduce [jvm_flags](https://bazel.build/versions/master/docs/be/java.html#java_binary.jvm_flags) to rules_scala and I could use a bit of understanding about the motivation of this issue.\r\nThis change added the ability to configure the `scalac` o...
[]
2015-09-16T15:39:35Z
[]
Add support for scalac and jvm_flags in scala.bzl
It would be nice to be able to pass these through, as one can for `java_library` and `java_binary`.
[ "tools/build_defs/scala/scala.bzl" ]
[ "tools/build_defs/scala/scala.bzl" ]
[]
diff --git a/tools/build_defs/scala/scala.bzl b/tools/build_defs/scala/scala.bzl index 222573db8f68da..9618592f688ee2 100644 --- a/tools/build_defs/scala/scala.bzl +++ b/tools/build_defs/scala/scala.bzl @@ -25,13 +25,15 @@ def _compile(ctx, jars): cmd = """ set -e mkdir -p {out}_tmp -{scalac} -classpath "{jars}" $...
null
val
train
2015-09-16T17:16:40
2015-09-16T03:47:26Z
JackSullivan
test
bazelbuild/bazel/503_657
bazelbuild/bazel
bazelbuild/bazel/503
bazelbuild/bazel/657
[ "timestamp(timedelta=2377.0, similarity=0.8508197549457626)" ]
fbd8333bbe73c03242d69815d6dceee333662f90
58839864110aafe363028f0ebdad458e0672e148
[ "you could create a scala_test that expands into java_test that imports the jar generated by scala_binary?\n", "Added this issue as b/25141720.\n" ]
[ "are these needed? It would be nice to default to discovering all the suites in the jar and running them. That seems like the preferred way to go. If you don't want to run a suite, it should be in its own target, and just not test that target.\n\nOr at least, that's my view.\n", "I think it is better to download ...
2015-11-29T15:15:41Z
[ "type: feature request", "P3" ]
Executing scala tests
Any existing workaround to use `java_test` for executing scala tests (similar to https://github.com/bazelbuild/bazel/issues/443), or is there a different approach to substitute the lack of `scala_test` for now? Scala test classes usually use `org.junit.runner.RunWith` and a custom `JUnitRunner` to execute (like this o...
[ "WORKSPACE", "tools/build_defs/scala/README.md", "tools/build_defs/scala/scala.bzl" ]
[ "WORKSPACE", "tools/build_defs/scala/README.md", "tools/build_defs/scala/scala.bzl" ]
[ "tools/build_defs/scala/test/BUILD", "tools/build_defs/scala/test/HelloLib.scala", "tools/build_defs/scala/test/HelloLibTest.scala" ]
diff --git a/WORKSPACE b/WORKSPACE index ebe5700f2f086a..1cb41a8e00ac6c 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -52,3 +52,11 @@ new_http_archive( url = "http://downloads.typesafe.com/scala/2.11.7/scala-2.11.7.tgz", build_file = "tools/build_defs/scala/scala.BUILD", ) + +# only used for the scala test rule ...
diff --git a/tools/build_defs/scala/test/BUILD b/tools/build_defs/scala/test/BUILD index 9c2e71db8637dc..f516a10c21ea11 100644 --- a/tools/build_defs/scala/test/BUILD +++ b/tools/build_defs/scala/test/BUILD @@ -1,4 +1,4 @@ -load("/tools/build_defs/scala/scala", "scala_binary", "scala_library") +load("/tools/build_defs/...
train
train
2016-01-29T16:36:41
2015-10-12T14:42:37Z
orrsella
test
bazelbuild/bazel/579_6923
bazelbuild/bazel
bazelbuild/bazel/579
bazelbuild/bazel/6923
[ "timestamp(timedelta=1.0, similarity=0.8929275300915026)" ]
0ecb86d80e878d5b68c4344092a68a878f54194f
cfd112f8bc51dfba29fcbf5ced20b0c091b57922
[ "To sort of reiterate a comment I made on bazel-discuss (possibly redundant, as I'm not sure what \"add versioning\" means), it would be helpful if:\r\n\r\n- The docs prominently display the Bazel version to which they apply.\r\n- Docs for multiple versions, including `master` are readily available (e.g. see Python...
[ "What are these hashes?\r\nHow do we update them?", "why do we need `exit` at the end?\r\n\r\nIf it's because of the trap, can you instead put the `mv` here?\r\nOr put the `sed` only when the condition is true?", "Add comment that it must be in sync with the config file?", "good idea. fixed.", "added instru...
2018-12-14T00:43:02Z
[ "type: documentation (cleanup)", "P2", "team-Bazel" ]
Versioning for Bazel docs
The docs on bazel.io are synced with `master`, and updates are pushed when new commits are pushed to `master`. As a result, the docs are often ahead of the latest release. We should also add versioning for the Bazel docs for releases. This is also something that @damienmg brought up in a separate thread offline. The...
[ "WORKSPACE", "site/BUILD", "site/_config.yml", "site/_layouts/documentation.html", "site/_sass/sidebar.scss", "site/jekyll-tree.sh" ]
[ "WORKSPACE", "scripts/docs/doc_versions.bzl", "scripts/docs/generate_versioned_docs.sh", "site/BUILD", "site/_config.yml", "site/_layouts/documentation.html", "site/_sass/sidebar.scss", "site/jekyll-tree.sh" ]
[]
diff --git a/WORKSPACE b/WORKSPACE index ef6fb686911873..907c1bb7de423b 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -278,3 +278,11 @@ distdir_tar( "jdk10-server-release-1804.tar.xz" : ["https://mirror.bazel.build/openjdk.linaro.org/releases/jdk10-server-release-1804.tar.xz"], }, ) + +load("//scripts/docs:doc_v...
null
train
train
2018-12-14T00:00:34
2015-11-09T09:40:18Z
davidzchen
test
bazelbuild/bazel/748_755
bazelbuild/bazel
bazelbuild/bazel/748
bazelbuild/bazel/755
[ "timestamp(timedelta=35552.0, similarity=0.8496915557676555)" ]
27bdc238e5855a25e54f1e7300beebb2f17bcab7
1ba03979389df1ee158886fa88375eee0a92310b
[ "Quick update on the situation: After cold starting Bazel multiple times (due to rebooting the OS) it seems the problem has disappeared entirely. However, let me leave the bug open for now.\n", "Hit ctrl-\\ while bazel is \"stuck\" and you'll get a thread dump.\nPosting that here may help us diagnose the problem....
[ "Why this change? The include path is relative to the root of the workspace.\n", "Have you tested this? The `:hello-world` target is in the `//examples/cpp` package. There is no `:hello-world` target in the root BUILD file.\n\nIf you want to build `:hello-world` from inside the `examples/cpp` directory, then the ...
2016-01-06T08:56:37Z
[]
Bazel getting stuck while building
I've been having trouble building things with Bazel lately. The issue manifests itself with Bazel appearing to be stuck (with no CPU load) at essentially random build steps (including the loading and analysis phase). This happens both when I attempt to build targets from my own repository, as well as in the bootstrap ...
[ "examples/cpp/README.md", "examples/cpp/hello-lib.cc", "examples/cpp/hello-world.cc" ]
[ "examples/cpp/README.md", "examples/cpp/hello-lib.cc", "examples/cpp/hello-world.cc" ]
[]
diff --git a/examples/cpp/README.md b/examples/cpp/README.md index fba714321c6797..6191d9d919a55a 100644 --- a/examples/cpp/README.md +++ b/examples/cpp/README.md @@ -2,3 +2,9 @@ C++ Examples ============ These examples demonstrate building C++ binaries, libraries, and tests. + +To starting build , change to this d...
null
train
train
2016-01-04T13:59:10
2016-01-02T13:54:12Z
mnett
test
bazelbuild/bazel/1087_1120
bazelbuild/bazel
bazelbuild/bazel/1087
bazelbuild/bazel/1120
[ "timestamp(timedelta=109140.0, similarity=0.8482036932530586)" ]
62d1e72bac93d1cb240630c1ff9777b994712216
1ffae44c9a0394eedbdb9318799c502def1df00b
[ "Thanks for the report! We recently moved all of these rules to their own repos (e.g., https://github.com/bazelbuild/rule_appengine), and I think we're still updating how their documentation is generated.\n" ]
[]
2016-04-05T20:28:14Z
[ "type: documentation (cleanup)" ]
Missing docs pages / broken links
I was reading through the Docs on http://bazel.io/docs/install.html and there are some broken links on the Skylark Rules section of the side menu. These links return 404: - Java AppEngine - http://bazel.io/docs/be/appengine.html - C# - http://bazel.io/docs/be/dotnet.html - D - http://bazel.io/docs/be/d.html - Groovy -...
[ "src/main/java/com/google/devtools/build/docgen/templates/be/be-nav.vm" ]
[ "src/main/java/com/google/devtools/build/docgen/templates/be/be-nav.vm" ]
[]
diff --git a/src/main/java/com/google/devtools/build/docgen/templates/be/be-nav.vm b/src/main/java/com/google/devtools/build/docgen/templates/be/be-nav.vm index 0aa490835df6be..671b5a691deefe 100644 --- a/src/main/java/com/google/devtools/build/docgen/templates/be/be-nav.vm +++ b/src/main/java/com/google/devtools/build...
null
test
train
2016-04-05T16:09:15
2016-03-25T15:34:46Z
aj-michael
test
bazelbuild/bazel/1332_4368
bazelbuild/bazel
bazelbuild/bazel/1332
bazelbuild/bazel/4368
[ "timestamp(timedelta=112365.0, similarity=0.8625023770678207)" ]
192583d5fbf49f43bc7646e5750647362dfaecfe
0d145eaea90edb0b74d73fa80b7450b1a6fd7bb7
[ "@aehlig this is done, right?", "It was addressed in https://github.com/bazelbuild/bazel/pull/4368 in the skylark rules only (not the built-in)." ]
[ "I know you didn't start it, but I would have preferred email adresses in the rfc2606-reserved domains for fictional characters. (This also applies to other parts of that change.)\r\n ", "I shall enter a new PR to fix those (since it will be a big diff but mostly noise). Thanks!" ]
2017-12-30T01:45:31Z
[ "type: feature request", "P4" ]
new_git_repository doesn't have a strip_prefix option
[ "tools/build_defs/repo/git.bzl" ]
[ "tools/build_defs/repo/git.bzl" ]
[ "src/test/shell/bazel/skylark_git_repository_test.sh", "src/test/shell/bazel/testdata/pluto.git_log", "src/test/shell/bazel/testdata/refetch.git_log" ]
diff --git a/tools/build_defs/repo/git.bzl b/tools/build_defs/repo/git.bzl index 2375b21f71f886..0f735528d6d2d5 100644 --- a/tools/build_defs/repo/git.bzl +++ b/tools/build_defs/repo/git.bzl @@ -15,7 +15,8 @@ def _clone_or_update(ctx): if (ctx.attr.verbose): - print('git.bzl: Cloning or updating repository %s'...
diff --git a/src/test/shell/bazel/skylark_git_repository_test.sh b/src/test/shell/bazel/skylark_git_repository_test.sh index 1c7231f8efe2a0..2e683bf5dd2279 100755 --- a/src/test/shell/bazel/skylark_git_repository_test.sh +++ b/src/test/shell/bazel/skylark_git_repository_test.sh @@ -58,7 +58,16 @@ function set_up() { #...
train
train
2017-12-28T22:31:01
2016-06-02T19:23:29Z
kchodorow
test
bazelbuild/bazel/1345_1354
bazelbuild/bazel
bazelbuild/bazel/1345
bazelbuild/bazel/1354
[ "timestamp(timedelta=444.0, similarity=0.8789615018699354)" ]
aeee3b8e4cccc95fa7932fe45abbc6279bfb72d0
fc8a89e316e190282b4fbc43175f70d421d26aed
[ "The default value of `use_testrunner` is 1 and default behavior is to use `BazelTestRunner`, if a user needs to use this property, he would set `use_testrunner = 0` to use `GoogleTestRunner`.\n\nMaybe we should make it more clear. ;)\n", "Sorry, what I said above was totally wrong. The GoogleTestRunner doesn't e...
[]
2016-06-08T09:11:36Z
[ "type: documentation (cleanup)", "P3" ]
Documentation- java_test use_testrunner mistake
Hi, I think the documentation of the java_test use_testrunner property is mistaken. It talks about `com.google.testing.junit.runner.GoogleTestRunner` while I think that was superseded by `BazelTestRunner` which is also mentioned which adds to the confusion. I think the first mention should also change to `BazelTestRunn...
[ "src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java" ]
[ "src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java" ]
[]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java index cf195562209cf9..fc40911439b36f 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses...
null
test
train
2016-06-08T10:51:46
2016-06-07T12:39:47Z
ittaiz
test
bazelbuild/bazel/1523_1524
bazelbuild/bazel
bazelbuild/bazel/1523
bazelbuild/bazel/1524
[ "timestamp(timedelta=2132.0, similarity=0.8414718166154534)" ]
9bde9d09a83cdca2dc884d322ab50f7542c062cf
70e6b5556f2223e736b54a8271548daf6efb6afe
[ "Isn't this fixed already?", "Andreas's fix is still pending: https://github.com/bazelbuild/bazel/pull/1524", "Is merged.", "Thank you!" ]
[]
2016-07-14T11:22:08Z
[ "type: feature request" ]
Skylark operator list * int missing
Currently it is not supported to write `[foo] * 5`. Message is: ``` unsupported operand type(s) for *: 'list' and 'int'. ```
[ "src/main/java/com/google/devtools/build/lib/syntax/BinaryOperatorExpression.java", "src/main/java/com/google/devtools/build/lib/syntax/SkylarkList.java" ]
[ "src/main/java/com/google/devtools/build/lib/syntax/BinaryOperatorExpression.java", "src/main/java/com/google/devtools/build/lib/syntax/SkylarkList.java" ]
[ "src/test/java/com/google/devtools/build/lib/syntax/EvaluationTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/BinaryOperatorExpression.java b/src/main/java/com/google/devtools/build/lib/syntax/BinaryOperatorExpression.java index ed0e55f569ac0f..973260fefb1f8f 100644 --- a/src/main/java/com/google/devtools/build/lib/syntax/BinaryOperatorExpression.java +++ b/src/ma...
diff --git a/src/test/java/com/google/devtools/build/lib/syntax/EvaluationTest.java b/src/test/java/com/google/devtools/build/lib/syntax/EvaluationTest.java index 9bdaa150e7b39c..21a4cc2d3bb06a 100644 --- a/src/test/java/com/google/devtools/build/lib/syntax/EvaluationTest.java +++ b/src/test/java/com/google/devtools/bu...
train
train
2016-12-09T16:53:09
2016-07-14T10:14:18Z
abergmeier-dsfishlabs
test
bazelbuild/bazel/1644_1645
bazelbuild/bazel
bazelbuild/bazel/1644
bazelbuild/bazel/1645
[ "timestamp(timedelta=0.0, similarity=0.9419610559888507)" ]
fd843fe97e5e088ec422e5a294d71040e80b4cbd
c260b9c15570b061f84f2efee79b7a0f6be87ac6
[]
[ "replace to www.bazel.io?\n" ]
2016-08-15T08:51:11Z
[ "type: documentation (cleanup)", "P2" ]
http://bazel.io should redirect to https://bazel.io
https://bazel.io is now live, but http://bazel.io does not redirect to the https site.
[ ".gitignore", "site/_includes/head.html" ]
[ ".gitignore", "site/_includes/head.html" ]
[]
diff --git a/.gitignore b/.gitignore index e6d98586835c48..d5396a246de715 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,5 @@ /bazel-testlogs /bazel.iml /output/ +/.sass-cache/ +/production/ diff --git a/site/_includes/head.html b/site/_includes/head.html index 57bad5c9ee0246..7bd812a48032ec 100644 --- a/site...
null
test
train
2016-08-22T18:42:12
2016-08-15T07:59:10Z
davidzchen
test
bazelbuild/bazel/1673_3991
bazelbuild/bazel
bazelbuild/bazel/1673
bazelbuild/bazel/3991
[ "timestamp(timedelta=0.0, similarity=0.8777530327961319)" ]
b87a41f3a69873b40b4211b348a497afca9ef316
446c08773c5e7691a60b6f3d13b11e67a91266c0
[]
[]
2017-10-30T21:12:21Z
[]
prelude ignored in remote repos
see: https://github.com/johnynek/bazel-deps/issues/13 this tool (johnynek/bazel-deps) puts the scala rules in the prelude: https://github.com/johnynek/bazel-deps/blob/master/tools/build_rules/prelude_bazel but another repo that does not do this and uses the above as an external repo gets: ``` $ bazel run @com_github...
[ "src/main/java/com/google/devtools/build/lib/skyframe/PackageFunction.java" ]
[ "src/main/java/com/google/devtools/build/lib/skyframe/PackageFunction.java" ]
[ "src/test/shell/integration/BUILD", "src/test/shell/integration/prelude_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/PackageFunction.java b/src/main/java/com/google/devtools/build/lib/skyframe/PackageFunction.java index f873feac503b83..7ecd70606981f7 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/PackageFunction.java +++ b/src/main/java/com/google/de...
diff --git a/src/test/shell/integration/BUILD b/src/test/shell/integration/BUILD index 1d9b55d76c1bd3..0547a794fd1fe8 100644 --- a/src/test/shell/integration/BUILD +++ b/src/test/shell/integration/BUILD @@ -302,6 +302,13 @@ cc_binary( malloc = "//base:system_malloc", ) +sh_test( + name = "prelude_test", + ...
train
train
2017-11-29T16:49:19
2016-08-22T18:20:57Z
johnynek
test
bazelbuild/bazel/2032_2046
bazelbuild/bazel
bazelbuild/bazel/2032
bazelbuild/bazel/2046
[ "timestamp(timedelta=0.0, similarity=0.8691097587201603)" ]
fa407e52920a9c187befc94cc13014c19dd6219d
e24e84a6184933bf54f308f9a8c5e1ac0842cbf1
[ "@petemounce @laszlocsomor \n", "Woah woah woah, regex find and replace in powershell? What have I let myself in for. Are different drives really necessary? :p\n\nYeah, sure. I'll get that done.\n", "Help us Obi-Wan, you're the only PS expert! :)\n", "Done.\n" ]
[ "I think you don't need to match $2 if you're outputting it unaltered.\n", "That's true. I like this pattern more since it's more explicit, but I don't feel strongly.\n", "ok\n" ]
2016-11-05T19:23:06Z
[ "P3", "platform: windows" ]
Windows, chocolatey: support drive letters other than C: in chocolatey package.
At least in `chocolateyinstall.ps1`, line 53, and maybe other places
[ "scripts/packages/chocolatey/tools/chocolateyinstall.ps1" ]
[ "scripts/packages/chocolatey/tools/chocolateyinstall.ps1" ]
[]
diff --git a/scripts/packages/chocolatey/tools/chocolateyinstall.ps1 b/scripts/packages/chocolatey/tools/chocolateyinstall.ps1 index 9afd433d8ef29e..fbd3cc32b0c653 100644 --- a/scripts/packages/chocolatey/tools/chocolateyinstall.ps1 +++ b/scripts/packages/chocolatey/tools/chocolateyinstall.ps1 @@ -2,13 +2,14 @@ $ErrorA...
null
train
train
2016-11-04T17:06:07
2016-11-03T11:00:00Z
dslomov
test
bazelbuild/bazel/2054_4852
bazelbuild/bazel
bazelbuild/bazel/2054
bazelbuild/bazel/4852
[ "timestamp(timedelta=0.0, similarity=0.852035181509092)" ]
e2df6e2ade9279dc2a1adfbcaaf16116f201ad07
6a179ab88fe6c4388ad4397d3ccbca07ca5ab80d
[ "this (in combination with #1752) sounds valuable since it lowers the entry costs of an organization. People can check out and best practices are laid out in the shared bazelrc ", "+1" ]
[ "Please add an `OS.getCurrent()` check around this `if`, and only replace \"~\" on Linux/macOS.", "here too", "(`OS` in the same Java package)", "AFAIK, `user.home` should be resolved just fine on Windows and recent JDK versions: [1]. On Windows, on Java 8, we have:\r\n\r\n```java\r\npublic class Test {\r\n ...
2018-03-14T21:36:07Z
[ "type: feature request", "P3", "category: misc > misc" ]
Allow options to use ~ or $HOME
It would be nice for users to be able to specify user-specific paths. We'd probably have to add support for both client & server path parsing. See https://github.com/bazelbuild/bazel/issues/1752#issuecomment-258642717 for context.
[ "src/main/java/com/google/devtools/build/lib/util/OptionsUtils.java" ]
[ "src/main/java/com/google/devtools/build/lib/util/OptionsUtils.java" ]
[ "src/test/java/com/google/devtools/build/lib/util/OptionsUtilsTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/util/OptionsUtils.java b/src/main/java/com/google/devtools/build/lib/util/OptionsUtils.java index c94863ed86d01a..029d08c8c10ba9 100644 --- a/src/main/java/com/google/devtools/build/lib/util/OptionsUtils.java +++ b/src/main/java/com/google/devtools/build/lib/util...
diff --git a/src/test/java/com/google/devtools/build/lib/util/OptionsUtilsTest.java b/src/test/java/com/google/devtools/build/lib/util/OptionsUtilsTest.java index ddf8dadda93f9e..2d7d2f75f93ff8 100644 --- a/src/test/java/com/google/devtools/build/lib/util/OptionsUtilsTest.java +++ b/src/test/java/com/google/devtools/bu...
val
train
2018-03-19T22:32:41
2016-11-07T19:50:00Z
kchodorow
test
bazelbuild/bazel/2121_6801
bazelbuild/bazel
bazelbuild/bazel/2121
bazelbuild/bazel/6801
[ "timestamp(timedelta=166854.0, similarity=0.8431258311203514)" ]
d0cdf9fef159fa502830718e4cdcd385aed8569e
77c4c92395fe507f284cf42da3a2722e1c6c9f50
[ "Hi Shahms,\r\n\r\nThank you for the report, I'll try to improve the clang support in cc_configure.bzl when I'll have spare cycles. If in the meantime you feel like it, feel free to tackle it yourself, cc_configure.bzl is not too complicated. If not, no worries, I will get to it eventually :)\r\nCheers", "Piggyba...
[]
2018-11-29T11:25:49Z
[ "type: feature request", "P3", "team-Rules-CPP" ]
cc_configure rules do not work with Clang on Linux
### Description of the problem / feature request / question: The cc_autoconf repository rule does not work with Clang on Linux, but rather spits out a number of warnings: clang: warning: -Wl,-z,-relro,-z,now: 'linker' input unused and the error: clang: error: unsupported option '-pass-exit-codes' I suspect the...
[ "tools/cpp/windows_cc_configure.bzl" ]
[ "tools/cpp/windows_cc_configure.bzl" ]
[]
diff --git a/tools/cpp/windows_cc_configure.bzl b/tools/cpp/windows_cc_configure.bzl index 54a3a8c4b4b5a3..2c0952769adbb0 100644 --- a/tools/cpp/windows_cc_configure.bzl +++ b/tools/cpp/windows_cc_configure.bzl @@ -341,6 +341,14 @@ def _use_clang_cl(repository_ctx): """Returns True if USE_CLANG_CL is set to 1.""" ...
null
test
train
2018-11-29T11:35:13
2016-11-22T17:44:17Z
shahms
test
bazelbuild/bazel/2398_2410
bazelbuild/bazel
bazelbuild/bazel/2398
bazelbuild/bazel/2410
[ "timestamp(timedelta=0.0, similarity=0.8828373293694733)" ]
ce7c4deda60a307bba5f0c9421738e2a375cf44e
3292ada3de88b32c2fc9c23a6420ee5ac5d6dc6b
[]
[]
2017-01-24T16:24:17Z
[ "type: documentation (cleanup)" ]
Users page is duplicated between website and wiki
https://github.com/bazelbuild/bazel/wiki/Bazel-Users is a fork of https://bazel.build/users.html Which means there are 2 places where we show a list of Bazel users. [There can be only one](https://www.youtube.com/watch?v=sqcLjcSloXs). Based on advice from the Chromium team, we agreed that a wiki reduces the frict...
[ "site/_layouts/contribute.html", "site/index.html", "site/users.md" ]
[ "site/_layouts/contribute.html", "site/index.html" ]
[]
diff --git a/site/_layouts/contribute.html b/site/_layouts/contribute.html index 8dea8901a40be1..46d7519e04b0df 100644 --- a/site/_layouts/contribute.html +++ b/site/_layouts/contribute.html @@ -25,7 +25,7 @@ <h1>Contribute!</h1> <nav class="sidebar collapse" id="sidebar-nav"> <ul class="sidebar...
null
train
train
2017-01-24T17:20:54
2017-01-23T13:49:02Z
steren
test
bazelbuild/bazel/2438_2439
bazelbuild/bazel
bazelbuild/bazel/2438
bazelbuild/bazel/2439
[ "timestamp(timedelta=0.0, similarity=0.912943864111191)" ]
930fa9b24cb7b1e516f92a200d9087fd3ba561e5
bed2d816360879ae40dfce93a7bb5771dcdf9a99
[]
[ "s/install/installed/\r\n\r\nAlso, `bazel version` instead of `$ bazel` (don't include the $ for inline snippets).", "s/install/installed/\r\n\r\nAlso, `bazel version` instead of `$ bazel` (don't include the $ for inline snippets).", "This seems like useful info to have.", "fixed", "fixed\r\n", "fixed" ]
2017-01-27T09:56:37Z
[ "type: documentation (cleanup)", "P2" ]
Homebrew install steps are missing Java install
I followed https://bazel.build/versions/master/docs/install.html#mac-os-x and when I type `brew install bazel` I am told that Java 1.8+ is required. Following Java install steps at https://bazel.build/versions/master/docs/install.html#1-install-jdk-8-2 works
[ "site/versions/master/docs/install.md" ]
[ "site/versions/master/docs/install.md" ]
[]
diff --git a/site/versions/master/docs/install.md b/site/versions/master/docs/install.md index 0a6f9e5b0cbfaf..a7faca3cc6c56a 100644 --- a/site/versions/master/docs/install.md +++ b/site/versions/master/docs/install.md @@ -136,25 +136,31 @@ You can also add this command to your `~/.bashrc` file. Install Bazel on Mac...
null
train
train
2017-01-27T00:05:39
2017-01-27T09:48:03Z
steren
test
bazelbuild/bazel/2571_3316
bazelbuild/bazel
bazelbuild/bazel/2571
bazelbuild/bazel/3316
[ "timestamp(timedelta=0.0, similarity=0.9664825861331298)" ]
259c9e8014ad960985c0ed99db2a879cdd2ac301
4adeaf9053686cbcd924d4d9298a4751f36f4cc3
[ "@philwo can you take a look at this?", "I would like to take this issue up.. ", "@philwo, @iirina any progress on this yet?", "@aljabrr I don't think anyone of us is working on it. Please feel free to send a patch via Gerrit. :)\r\n\r\nThe help string for that option is here:\r\n\r\nhttps://github.com/bazelb...
[ "Not only for tests, I would change this to:\r\n\r\n'standalone' means run all of them locally without any kind of sandboxing", "This is also wrong by now, it should read:\r\n\r\n'sandboxed' means to run them in a sandboxed environment with limited privileges (details depend on platform support)", "Thanks for t...
2017-07-03T09:57:10Z
[ "type: feature request", "type: documentation (cleanup)", "P4", "category: sandboxing", "good first issue" ]
Document --spawn_strategy=standalone for test
### Description of the problem / feature request / question: `--spawn_strategy=standalone` actually disables sandboxing for tests. This is IMO not clear since the option is documented under _BuildOptions_. Make it clear that it also applies for testing.
[ "src/main/java/com/google/devtools/build/lib/bazel/rules/BazelStrategyModule.java" ]
[ "src/main/java/com/google/devtools/build/lib/bazel/rules/BazelStrategyModule.java" ]
[]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelStrategyModule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelStrategyModule.java index 512b5c0f3b1c8f..cc72ec77ed19db 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelStrategyModule.java +++ b/src/ma...
null
train
train
2017-07-03T09:06:52
2017-02-22T16:50:06Z
abergmeier-dsfishlabs
test
bazelbuild/bazel/2958_2959
bazelbuild/bazel
bazelbuild/bazel/2958
bazelbuild/bazel/2959
[ "timestamp(timedelta=1.0, similarity=0.9331296354628537)" ]
8e006399c42830855da11898db6707ac9f759762
460ee6fab073865bd36d55daf8073dd5d6bbaaba
[ "You mean that having a ~/.bazelrc is no longer mandatory so the installer\nshouldn't try to create one?\nOn Sat, 6 May 2017 at 10:29 Philipp Wollermann <notifications@github.com>\nwrote:\n\n> The Bazel installer currently moves ~/.bazelrc to ~/.bazelrc.bak and\n> creates an empty file instead, which is rather anno...
[]
2017-05-06T07:35:54Z
[ "P2" ]
Bazel installer should not overwrite ~/.bazelrc
The Bazel installer currently moves ~/.bazelrc to ~/.bazelrc.bak and creates an empty file instead, which is rather annoying. We should change the installer to not touch the file.
[ "scripts/packages/template_bin.sh" ]
[ "scripts/packages/template_bin.sh" ]
[]
diff --git a/scripts/packages/template_bin.sh b/scripts/packages/template_bin.sh index c35b2463d64388..906a3871d3bcea 100755 --- a/scripts/packages/template_bin.sh +++ b/scripts/packages/template_bin.sh @@ -41,25 +41,20 @@ usage() { echo " --prefix=/some/path set the prefix path (default=/usr/local)." >&2 echo "...
null
train
train
2017-05-05T23:20:14
2017-05-06T07:29:40Z
philwo
test
bazelbuild/bazel/2988_5905
bazelbuild/bazel
bazelbuild/bazel/2988
bazelbuild/bazel/5905
[ "timestamp(timedelta=0.0, similarity=0.8717960914532032)" ]
2d3adfb93c023f9752f00d4bf3440ee9869f64f2
421dfcaa179644d84966ec0bd88a05bd30c0da35
[ "any updates on this?", "No updates yet -- we'll be chatting about this over the next few business days to prioritize.", "Is there a hint so that we could fix it and perhaps submit a PR ?", "We're not likely to get to this ourselves; we deemed this low priority internally.\r\nIf you'd like to go ahead and cre...
[]
2018-08-16T00:36:58Z
[ "under investigation", "category: rules > ObjC / iOS / J2ObjC" ]
Feature Request: Objc Library Module Name
I'd like the ability to control the module name created by the objc_library rule. For more details refer to https://github.com/bazelbuild/rules_apple/issues/51.
[ "src/main/java/com/google/devtools/build/lib/rules/cpp/CppModuleMapAction.java", "src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java", "src/main/java/com/google/devtools/build/lib/rules/objc/IntermediateArtifacts.java", "src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRu...
[ "src/main/java/com/google/devtools/build/lib/rules/cpp/CppModuleMapAction.java", "src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java", "src/main/java/com/google/devtools/build/lib/rules/objc/IntermediateArtifacts.java", "src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRu...
[ "src/test/java/com/google/devtools/build/lib/rules/objc/ObjcLibraryTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppModuleMapAction.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppModuleMapAction.java index 602089b691fb3f..37cc3ee659013d 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppModuleMapAction.java +++ b/src/main/java/c...
diff --git a/src/test/java/com/google/devtools/build/lib/rules/objc/ObjcLibraryTest.java b/src/test/java/com/google/devtools/build/lib/rules/objc/ObjcLibraryTest.java index 16aee317cbf29a..a4a45892fca126 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/objc/ObjcLibraryTest.java +++ b/src/test/java/com/goo...
train
train
2018-08-22T17:58:03
2017-05-11T08:14:43Z
lswith
test
bazelbuild/bazel/3000_3002
bazelbuild/bazel
bazelbuild/bazel/3000
bazelbuild/bazel/3002
[ "timestamp(timedelta=0.0, similarity=0.894002445849351)" ]
b44c9f7dd969a1f61eb45627100d0f78943e3d31
97e42376d065bec2fb3eb9afa640de0af1ad6810
[ "I'm actually not sure why it doesn't pick this up automatically, but it seems to only be looking for crosstools in `@local_config_cc`, which doesn't contain a ppc crosstool (?). You have to give the `--crosstool_top=//tools/cpp:default-toolchain` argument to make it look at //tools/cpp, which _does_ contain a ppc...
[ "nit: add missing space after the comma." ]
2017-05-12T17:03:11Z
[ "type: bug", "P2", "platform: other" ]
Compile Bazel on Power8
Hi! I am trying to compile Bazel from source on a Power 8 machine. Here's the error I get when launching "bash compile.sh" 🍃 Building Bazel from scratch....... 🍃 Building Bazel with Bazel. ERROR: No toolchain found for cpu 'ppc'. Valid cpus are: [ piii, armeabi-v7a, x64_windows_msvc, x64_wind...
[ "tools/cpp/CROSSTOOL", "tools/cpp/cc_configure.bzl" ]
[ "tools/cpp/CROSSTOOL", "tools/cpp/cc_configure.bzl" ]
[]
diff --git a/tools/cpp/CROSSTOOL b/tools/cpp/CROSSTOOL index bb22006090ab08..d70a6dcb604908 100644 --- a/tools/cpp/CROSSTOOL +++ b/tools/cpp/CROSSTOOL @@ -44,6 +44,11 @@ default_toolchain { toolchain_identifier: "local_linux" } +default_toolchain { + cpu: "ppc64" + toolchain_identifier: "local_linux" +} + defa...
null
train
train
2017-05-12T17:14:15
2017-05-12T14:16:31Z
davideleoni90
test
bazelbuild/bazel/3102_3697
bazelbuild/bazel
bazelbuild/bazel/3102
bazelbuild/bazel/3697
[ "timestamp(timedelta=0.0, similarity=0.9105872551600119)" ]
312578105fdf73ce56eed1de06ab2950cfbea0f5
dbf57a8530e3fd5845ffcfab2c648307848127b0
[ "Thanks for the bug report! Unfortunately we have no capacity to fix it now, so I'm marking it P4 to indicate that we need external help to fix it. Would you be interested in fixing it?" ]
[ "Why not use Locale.US here. That seems to more clearly document the purpose. Also, might want to add a comment on why we provide a locale here.", "Maybe the test should reset the locale before it returns?" ]
2017-09-07T11:07:30Z
[ "type: feature request", "P4", "category: misc > misc", "good first issue" ]
HtmlChart is uncolored
### Description of the problem / feature request / question: Legend and Chart are completely white. ![bildschirmfoto 2017-06-02 um 11 51 27](https://cloud.githubusercontent.com/assets/28805183/26720825/e64d9e32-4789-11e7-929a-f32b1a79a39c.png) ### Environment info * Operating System: MacOSX * Bazel version...
[ "src/main/java/com/google/devtools/build/lib/profiler/chart/HtmlChartVisitor.java" ]
[ "src/main/java/com/google/devtools/build/lib/profiler/chart/HtmlChartVisitor.java" ]
[ "src/test/java/com/google/devtools/build/lib/profiler/ProfilerChartTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/profiler/chart/HtmlChartVisitor.java b/src/main/java/com/google/devtools/build/lib/profiler/chart/HtmlChartVisitor.java index 4649326b312772..170334df66dc35 100644 --- a/src/main/java/com/google/devtools/build/lib/profiler/chart/HtmlChartVisitor.java +++ b/src/ma...
diff --git a/src/test/java/com/google/devtools/build/lib/profiler/ProfilerChartTest.java b/src/test/java/com/google/devtools/build/lib/profiler/ProfilerChartTest.java index 0551881064fdea..b8f94567fb14a7 100644 --- a/src/test/java/com/google/devtools/build/lib/profiler/ProfilerChartTest.java +++ b/src/test/java/com/goo...
test
train
2017-09-07T11:51:25
2017-06-02T10:07:21Z
ahippler
test
bazelbuild/bazel/3131_3140
bazelbuild/bazel
bazelbuild/bazel/3131
bazelbuild/bazel/3140
[ "timestamp(timedelta=0.0, similarity=0.8405917286274984)" ]
8242c502d04332291487a19907c5ee3d7566acfd
4ceb2c0abf3db9135ebb2cdb4cc2ebfc8cf56a01
[ "You're right, that's a holdover from the internal docs, and should be removed. Would you like to send a patch to remove it?" ]
[]
2017-06-07T18:24:25Z
[ "type: documentation (cleanup)", "P2" ]
Docs describe nonexistent --local_genrule_timeout_seconds option
### Description of the problem / feature request / question: https://bazel.build/versions/master/docs/bazel-user-manual.html describes an option called `--local_genrule_timeout_seconds`, but I can't find any such option, or anything similar. Should this be removed from the docs?
[ "site/docs/bazel-user-manual.html" ]
[ "site/docs/bazel-user-manual.html" ]
[]
diff --git a/site/docs/bazel-user-manual.html b/site/docs/bazel-user-manual.html index f38f29f60e3f19..f16498cf2041f7 100644 --- a/site/docs/bazel-user-manual.html +++ b/site/docs/bazel-user-manual.html @@ -1824,9 +1824,6 @@ <h4 id='flag--genrule_strategy'><code class='flag'>--genrule_strategy <var>strat </ul> -<h...
null
val
train
2017-06-07T17:36:15
2017-06-06T16:08:27Z
mmorearty
test
bazelbuild/bazel/3193_3591
bazelbuild/bazel
bazelbuild/bazel/3193
bazelbuild/bazel/3591
[ "timestamp(timedelta=2790.0, similarity=0.8870933720382193)" ]
cfccdf1f6e93125d894ff40e0ccecaf20cc20ef5
4330769049823b08d6a40ab48efa70538d46bf46
[ "SHA1 is a bit outdated now, as is MD5. We should probably add support for - at least - SHA256.", "A good option might be `blake2`, which is secure and fast in software.", "SHA256 isn't exactly slow either and recent CPUs might even already have native instructions: https://en.wikipedia.org/wiki/Intel_SHA_exten...
[ "You probably meant SHA256 here", "Fixed!" ]
2017-08-21T12:27:21Z
[ "type: feature request", "P2" ]
Switch Bazel to a more secure hash by default (SHA256?)
Switch Bazel to a more secure hash by default (SHA256?).
[ "src/main/java/com/google/devtools/build/lib/remote/README.md", "src/main/java/com/google/devtools/build/lib/vfs/FileSystem.java", "src/tools/remote_worker/BUILD", "src/tools/remote_worker/README.md" ]
[ "src/main/java/com/google/devtools/build/lib/remote/README.md", "src/main/java/com/google/devtools/build/lib/vfs/FileSystem.java", "src/tools/remote_worker/BUILD", "src/tools/remote_worker/README.md" ]
[ "src/test/shell/bazel/remote_execution_sandboxing_test.sh", "src/test/shell/bazel/remote_execution_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/remote/README.md b/src/main/java/com/google/devtools/build/lib/remote/README.md index e8487ec8b16db5..398ef89cb632f7 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/README.md +++ b/src/main/java/com/google/devtools/build/lib/remote/README.md @@ -2...
diff --git a/src/test/shell/bazel/remote_execution_sandboxing_test.sh b/src/test/shell/bazel/remote_execution_sandboxing_test.sh index 38c1c2c04fdce4..0b1522381c3f1d 100755 --- a/src/test/shell/bazel/remote_execution_sandboxing_test.sh +++ b/src/test/shell/bazel/remote_execution_sandboxing_test.sh @@ -83,7 +83,7 @@ fun...
train
train
2017-10-16T17:49:14
2017-06-14T14:39:10Z
ulfjack
test
bazelbuild/bazel/3256_4971
bazelbuild/bazel
bazelbuild/bazel/3256
bazelbuild/bazel/4971
[ "timestamp(timedelta=0.0, similarity=0.9268525109128359)" ]
ece8c4ede0b6d3ba9cb41a54233fd4343d14e0e7
183bfda296333e7a4806f52185029ec48d0c7767
[ "```\r\n$ bazel analyze-profile profile\r\njava.lang.NullPointerException\r\n\tat com.google.devtools.build.lib.runtime.commands.ProfileCommand.exec(ProfileCommand.java:251)\r\n\tat com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.execExclusively(BlazeCommandDispatcher.java:552)\r\n\tat com.google.devto...
[ "There's no need to call new String() here. Just pass in \"<workspace>\"." ]
2018-04-06T13:05:53Z
[ "type: bug", "P1", "category: misc > misc" ]
Bazel analyze-profile crashes outside of a workspace
I think that's a recent regression.
[ "src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java" ]
[ "src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java" ]
[]
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java b/src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java index f39f0054b35774..b9f2fd7eb35813 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java +++ b/src/ma...
null
train
train
2018-04-06T14:29:44
2017-06-23T11:17:18Z
ulfjack
test
bazelbuild/bazel/3285_3677
bazelbuild/bazel
bazelbuild/bazel/3285
bazelbuild/bazel/3677
[ "timestamp(timedelta=0.0, similarity=0.8864842583364211)" ]
663df9d96f10a2dd0fa8a85b4aac39cd2cc368fb
5b6b98fba2edf21231fc02fa52dc75021374f594
[ "+1!\nOn Wed, 28 Jun 2017 at 18:21 Kristina <notifications@github.com> wrote:\n\n> Right now we print something like:\n>\n> ** Please add the following dependencies:\n> //:C to //:A\n>\n> Now that buildozer is open sourced, it would be nice to give people a\n> one-liner to run.\n>\n> —\n> You are receiving this ...
[]
2017-09-04T07:38:33Z
[ "type: feature request", "P3" ]
Print buildozer command for "add the following deps" message
Right now we print something like: ``` ** Please add the following dependencies: //:C to //:A ``` Now that buildozer is open sourced, it would be nice to give people a one-liner to run.
[ "src/java_tools/buildjar/java/com/google/devtools/build/buildjar/javac/plugins/dependency/DependencyModule.java" ]
[ "src/java_tools/buildjar/java/com/google/devtools/build/buildjar/javac/plugins/dependency/DependencyModule.java" ]
[]
diff --git a/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/javac/plugins/dependency/DependencyModule.java b/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/javac/plugins/dependency/DependencyModule.java index 7d2ddb46b768c3..7167756fb9563f 100644 --- a/src/java_tools/buildjar/java/com/...
null
train
train
2017-09-01T20:08:38
2017-06-28T15:21:23Z
kchodorow
test
bazelbuild/bazel/3303_6967
bazelbuild/bazel
bazelbuild/bazel/3303
bazelbuild/bazel/6967
[ "timestamp(timedelta=169720.0, similarity=0.8471509188515058)" ]
d0e6e06be3adbf625b065b787db2053e630be5f1
86b8204af1ecfb84994e34f97e40cc9715c2c510
[ "The install docs are now versioned, and I also don't see hardcoded Bazel version numbers in the installation instructions anymore.\r\n\r\nhttps://docs.bazel.build/versions/0.20.0/install-windows.html\r\nhttps://docs.bazel.build/versions/0.20.0/install-ubuntu.html" ]
[]
2018-12-19T16:53:27Z
[ "type: feature request", "type: documentation (cleanup)" ]
Use a variable for latest Bazel version number in docs
Our install docs are often displaying the latest version number to download: http://docs.bazel.build/versions/master/install-ubuntu.html Today, this is hardcoded in the text. We should introduce a variable that is defined in one place and that we update when performing the release. https://github.com/bazelbuild/ba...
[ "scripts/docs/doc_versions.bzl", "site/_config.yml" ]
[ "scripts/docs/doc_versions.bzl", "site/_config.yml" ]
[]
diff --git a/scripts/docs/doc_versions.bzl b/scripts/docs/doc_versions.bzl index 4e4b76a5ffc52e..09f2c80aacfdd9 100644 --- a/scripts/docs/doc_versions.bzl +++ b/scripts/docs/doc_versions.bzl @@ -22,6 +22,10 @@ """This module contains the versions and hashes of Bazel's documentation tarballs.""" DOC_VERSIONS = [ + ...
null
val
train
2018-12-19T17:29:59
2017-06-30T14:09:44Z
steren
test
bazelbuild/bazel/3432_6130
bazelbuild/bazel
bazelbuild/bazel/3432
bazelbuild/bazel/6130
[ "timestamp(timedelta=0.0, similarity=0.8480277078258937)" ]
5bf57be6ec4b63daa1956f38ea232a434eaf71cc
7d9fdb4f8525e68fb239fa7f04dc63180a3f2041
[ "I remember @ianthehat asked for this." ]
[ "What's the use case for defaults? Are they required for a constraint_setting or are they optional?\r\n\r\nFor example, if have `constraint_setting(name = \"macos_version\", default_constraint_value = \":osx10_11_6\")` and we build for platform `\"osx10_11_6\"`, does that risk pulling in toolchains that don't even ...
2018-09-11T17:13:23Z
[ "type: feature request", "P2" ]
Constraints should have defaults
constraint_setting() and constraint_value() should be allowed to select a default value to be used if none is specified in the platform.
[ "src/main/java/com/google/devtools/build/lib/analysis/platform/ConstraintCollection.java" ]
[ "src/main/java/com/google/devtools/build/lib/analysis/platform/ConstraintCollection.java" ]
[ "src/test/java/com/google/devtools/build/lib/rules/platform/ConstraintCollectionApiTest.java", "src/test/java/com/google/devtools/build/lib/rules/platform/PlatformInfoApiTest.java", "src/test/shell/bazel/toolchain_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/platform/ConstraintCollection.java b/src/main/java/com/google/devtools/build/lib/analysis/platform/ConstraintCollection.java index af9ac5701fef34..8f8629a1663a04 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/platform/ConstraintCollect...
diff --git a/src/test/java/com/google/devtools/build/lib/rules/platform/ConstraintCollectionApiTest.java b/src/test/java/com/google/devtools/build/lib/rules/platform/ConstraintCollectionApiTest.java index 5cb360d0fef9da..7a18c28dc99062 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/platform/ConstraintCo...
test
train
2018-09-11T17:40:38
2017-07-21T16:08:51Z
katre
test
bazelbuild/bazel/3502_6954
bazelbuild/bazel
bazelbuild/bazel/3502
bazelbuild/bazel/6954
[ "timestamp(timedelta=1.0, similarity=0.9352260033689938)" ]
0fbbb253b643b301205ee46fc015227b2fc7b6e7
df39c0b3f10db674253ce74f9c2e413ef3e97e47
[]
[]
2018-12-18T01:44:22Z
[ "type: documentation (cleanup)", "P2", "team-Bazel" ]
Link to individual flags in command line reference
We need be able to link to individual flags in the command line reference (https://docs.bazel.build/versions/master/command-line-reference.html) from elsewhere in the doc. To keep info consistent and fresh, flags should only be documented in one place, and this doc should be generated from the code's in-line doc (wh...
[ "site/_sass/style.scss", "src/main/java/com/google/devtools/common/options/OptionsUsage.java" ]
[ "site/_sass/style.scss", "src/main/java/com/google/devtools/common/options/OptionsUsage.java" ]
[ "src/test/java/com/google/devtools/common/options/OptionsUsageTest.java" ]
diff --git a/site/_sass/style.scss b/site/_sass/style.scss index d2feac91d18882..6bbb8b755534d3 100644 --- a/site/_sass/style.scss +++ b/site/_sass/style.scss @@ -172,3 +172,10 @@ $md-shadow-3: rgba(0, 0, 0, .12); box-sizing: content-box !important; } } + +// Used for the Command-line Reference flag anchors. L...
diff --git a/src/test/java/com/google/devtools/common/options/OptionsUsageTest.java b/src/test/java/com/google/devtools/common/options/OptionsUsageTest.java index 6f3550649bbe09..2520f80b31fc60 100644 --- a/src/test/java/com/google/devtools/common/options/OptionsUsageTest.java +++ b/src/test/java/com/google/devtools/co...
train
train
2018-12-18T02:42:35
2017-08-03T18:49:24Z
michelleirvine
test
bazelbuild/bazel/3526_3725
bazelbuild/bazel
bazelbuild/bazel/3526
bazelbuild/bazel/3725
[ "timestamp(timedelta=0.0, similarity=0.9092550907745788)" ]
117da7a947b4f497dffd6859b9769d7c8765443d
fbc41e363c741d584f85a1cbed1c55e04b6a7488
[]
[]
2017-09-11T23:29:16Z
[ "type: feature request", "P3" ]
Remove warning for multiple copts in same string
### Description of the problem / feature request / question: Consider the BUILD file below: ``` cc_binary( name = "foo", srcs = ["foo.cc"], copts = ["-framework IOKit"], linkopts = ["-framework IOKit"], ) ``` When building this binary, Bazel emits a warning: ``` WARNING: /Users/jayco...
[ "src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java" ]
[ "src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java" ]
[ "src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java index 47aa40a0ecd578..0f439d39b99940 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java +++ b/src/main/java/com/google/devtools/build/lib/r...
diff --git a/src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java b/src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java index 2ff18b43797a28..5f2a3fddeb8ce3 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java +++ b/src/test/java/com/google/devtools...
train
train
2017-09-11T13:08:53
2017-08-08T21:07:47Z
jayconrod
test
bazelbuild/bazel/3590_7207
bazelbuild/bazel
bazelbuild/bazel/3590
bazelbuild/bazel/7207
[ "timestamp(timedelta=1.0, similarity=0.8960968417948798)" ]
a89c7ef616b2a9fe18afadd99690691d00b7326f
cb5696420a9bdb880b938f09e79cbaaec54c0bf9
[ "PR: https://github.com/bazelbuild/bazel/pull/7207" ]
[]
2019-01-22T00:35:03Z
[ "type: feature request", "P2" ]
Please add `repository_ctx.extract()` function
The existing `repository_ctx.download_and_extract()` will, as it says on the tin, download an archive and then extract it to the local filesystem. There's also a function `repository_ctx.download()`, which lets the user handle the extraction part themselves. This request is for a function `repository_ctx.extract()`,...
[ "src/main/java/com/google/devtools/build/lib/bazel/debug/WorkspaceRuleEvent.java", "src/main/java/com/google/devtools/build/lib/bazel/debug/workspace_log.proto", "src/main/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkRepositoryContext.java", "src/main/java/com/google/devtools/build/lib/s...
[ "src/main/java/com/google/devtools/build/lib/bazel/debug/WorkspaceRuleEvent.java", "src/main/java/com/google/devtools/build/lib/bazel/debug/workspace_log.proto", "src/main/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkRepositoryContext.java", "src/main/java/com/google/devtools/build/lib/s...
[ "src/test/shell/bazel/bazel_workspaces_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/debug/WorkspaceRuleEvent.java b/src/main/java/com/google/devtools/build/lib/bazel/debug/WorkspaceRuleEvent.java index ae2115374f5ab0..6f62d31a6a61cb 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/debug/WorkspaceRuleEvent.java +++ b/src/main/...
diff --git a/src/test/shell/bazel/bazel_workspaces_test.sh b/src/test/shell/bazel/bazel_workspaces_test.sh index 00b698eb48792d..8d21cfa74880a2 100755 --- a/src/test/shell/bazel/bazel_workspaces_test.sh +++ b/src/test/shell/bazel/bazel_workspaces_test.sh @@ -214,6 +214,40 @@ function test_download_multiple() { ensur...
train
train
2019-01-21T18:30:09
2017-08-20T23:10:05Z
jmillikin
test
bazelbuild/bazel/3599_3671
bazelbuild/bazel
bazelbuild/bazel/3599
bazelbuild/bazel/3671
[ "timestamp(timedelta=66037.0, similarity=1.0)" ]
c67dceca77a93646961fc4bb863826e344fda5e0
a5abafceafc81c311ad96fd685a3dc9047fc10a5
[ "`bazel info release` suffices for this, recommend it be closed.", "@werkt Sure, but it doesn't solve the problem that it's non-intuitive to people who are so used to the GNU convention of -v and --version, which in my experience is by far the most common way of allowing people to query version information in oth...
[]
2017-09-03T11:05:16Z
[ "type: feature request", "P4", "good first issue", "team-OSS" ]
Add -v, --version flag
Working out that `bazel version` is the right command is (for me at least) quite slow. It would be better to support the more common `-v` and `--version` flags. ``` > bazel -v Unknown startup option: '-v'. For more info, run 'bazel help startup_options'. > bazel --version Unknown startup option: '--version'. ...
[ "src/main/cpp/blaze_util.cc", "src/main/cpp/option_processor.cc", "src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java" ]
[ "src/main/cpp/blaze_util.cc", "src/main/cpp/option_processor.cc", "src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java" ]
[ "src/test/cpp/option_processor_test.cc" ]
diff --git a/src/main/cpp/blaze_util.cc b/src/main/cpp/blaze_util.cc index fd742e2392eac9..e365ad6adc38cb 100644 --- a/src/main/cpp/blaze_util.cc +++ b/src/main/cpp/blaze_util.cc @@ -125,7 +125,8 @@ bool SearchNullaryOption(const vector<string>& args, bool IsArg(const string& arg) { return blaze_util::starts_with...
diff --git a/src/test/cpp/option_processor_test.cc b/src/test/cpp/option_processor_test.cc index b1a59efd618134..e4530744a3d0f4 100644 --- a/src/test/cpp/option_processor_test.cc +++ b/src/test/cpp/option_processor_test.cc @@ -490,6 +490,14 @@ TEST_F(OptionProcessorTest, SplitCommandLineWithBlazeVersion) { Successfu...
train
train
2019-01-17T20:26:01
2017-08-23T09:11:09Z
drigz
test
bazelbuild/bazel/3648_3887
bazelbuild/bazel
bazelbuild/bazel/3648
bazelbuild/bazel/3887
[ "timestamp(timedelta=0.0, similarity=0.9011354485736779)" ]
f581da7375d8548ffaac61ead74cdc3519eeb5b2
5f00e01a6903e655d1ed91f43243095dc7423e23
[ "Yes, I am sure it can, will looking into this." ]
[ "We don't need --cpu=x64_windows_msvc anymore, please remove this." ]
2017-10-11T02:11:54Z
[ "type: bug", "P3", "platform: windows" ]
Action_config for 'assemble' missing from Windows crosstool
Reported on [bazel-discuss](https://groups.google.com/d/msgid/bazel-discuss/f0bcc3e2-2e19-4d30-86ab-4eb37a923e1b%40googlegroups.com). Yun, can cl.exe compile assembly?
[ "tools/cpp/CROSSTOOL.tpl", "tools/cpp/unix_cc_configure.bzl", "tools/cpp/windows_cc_configure.bzl" ]
[ "tools/cpp/CROSSTOOL.tpl", "tools/cpp/unix_cc_configure.bzl", "tools/cpp/windows_cc_configure.bzl" ]
[ "src/test/py/bazel/bazel_windows_test.py" ]
diff --git a/tools/cpp/CROSSTOOL.tpl b/tools/cpp/CROSSTOOL.tpl index af58b7ad182f2e..6b585fcaf49e41 100644 --- a/tools/cpp/CROSSTOOL.tpl +++ b/tools/cpp/CROSSTOOL.tpl @@ -132,6 +132,10 @@ toolchain { name: "ar" path: "%{msvc_lib_path}" } + tool_path { + name: "ml" + path: "%{msvc_ml_path}" + } t...
diff --git a/src/test/py/bazel/bazel_windows_test.py b/src/test/py/bazel/bazel_windows_test.py index 69ac921c56c5ed..931c240284b800 100644 --- a/src/test/py/bazel/bazel_windows_test.py +++ b/src/test/py/bazel/bazel_windows_test.py @@ -68,6 +68,50 @@ def testUseMSVCWrapperScript(self): execution_root, ...
train
train
2017-11-14T02:20:27
2017-08-31T08:44:58Z
hlopko
test
bazelbuild/bazel/3761_4015
bazelbuild/bazel
bazelbuild/bazel/3761
bazelbuild/bazel/4015
[ "timestamp(timedelta=0.0, similarity=0.8991682871191983)" ]
d16012774f97d8a3d0f7732e116dba8ab636a4cb
4e7a3e56ef090ae23eb1115089f558da4bab8dde
[ "Sounds like a good idea! @philwo , @aehlig : WDYT? ", "@jmillikin-stripe Considering that java8-jdk-headless doesn't exist, should we then change the dependency list from:\r\n\r\n> google-jdk | java8-jdk | java8-sdk | oracle-java8-installer\r\n\r\ninto:\r\n\r\n> google-jdk | java8-sdk-headless | oracle-java8-ins...
[]
2017-11-03T03:46:42Z
[ "type: feature request", "P3", "category: misc > misc" ]
Please let the Debian package depend on headless JDK
The official Bazel packages for Debian/Ubuntu depend on `java8-sdk`, which usually resolves to `openjdk-8-jdk`. This is the full JDK including graphical toolkits, and it's fairly bulky when working within a Docker container: ```shell $ apt-get install --no-install-recommends openjdk-8-jdk [...] Need to get 72.8 M...
[ "scripts/packages/debian/control" ]
[ "scripts/packages/debian/control" ]
[]
diff --git a/scripts/packages/debian/control b/scripts/packages/debian/control index 443240e5cafdec..fe428fce2eb50f 100644 --- a/scripts/packages/debian/control +++ b/scripts/packages/debian/control @@ -9,7 +9,7 @@ Package: bazel Section: contrib/devel Priority: optional Architecture: amd64 -Depends: google-jdk | ja...
null
train
train
2017-11-02T19:53:14
2017-09-19T00:55:55Z
jmillikin-stripe
test
bazelbuild/bazel/3766_7309
bazelbuild/bazel
bazelbuild/bazel/3766
bazelbuild/bazel/7309
[ "timestamp(timedelta=1.0, similarity=0.8473022587967347)" ]
e0864d0698bdfb350d3b9700e4e865a1516bf994
c5a9a6c0d8775d15db4a160c1adb155fe785eef8
[ "This sounds related to (though definitely not a duplicate of) #3438", "Has there been any progress on this, or prioritization? It's worse than the issue description when you consider windows compatibility, as \"cat\" isn't an external executable on that platform (it being a powershell alias to Get-Content, whic...
[ "We want 8859-1 as the default? ", "The default is set to UTF-8 in `SkylarkRepositoryContextApi`. I'm using `StandardCharsets.ISO_8859_1` to mean raw bytes, for when the user calls `ctx.read(\"somefile\", encoding=\"\")`.\r\n\r\nMy assumption is that this function will almost always be used to ingest text files ...
2019-01-31T06:14:33Z
[ "type: feature request", "P3", "team-ExternalDeps" ]
Please add a repository_ctx method for reading files by Label
A `repository_ctx` can have Label attributes that point to files in other repositories (useful for tool plumbing), but such attributes are awkward to work with because there's no direct way to read their content. The best workaround I've found is to use symlinks and run `cat` as a subprocess, which certainly deserve...
[ "src/main/java/com/google/devtools/build/lib/bazel/debug/WorkspaceRuleEvent.java", "src/main/java/com/google/devtools/build/lib/bazel/debug/workspace_log.proto", "src/main/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkRepositoryContext.java", "src/main/java/com/google/devtools/build/lib/s...
[ "src/main/java/com/google/devtools/build/lib/bazel/debug/WorkspaceRuleEvent.java", "src/main/java/com/google/devtools/build/lib/bazel/debug/workspace_log.proto", "src/main/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkRepositoryContext.java", "src/main/java/com/google/devtools/build/lib/s...
[ "src/test/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkRepositoryContextTest.java", "src/test/shell/bazel/bazel_workspaces_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/debug/WorkspaceRuleEvent.java b/src/main/java/com/google/devtools/build/lib/bazel/debug/WorkspaceRuleEvent.java index 3b9ec466777766..06759395996e8a 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/debug/WorkspaceRuleEvent.java +++ b/src/main/...
diff --git a/src/test/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkRepositoryContextTest.java b/src/test/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkRepositoryContextTest.java index 37ed659c9cd05f..dfe2512cb5f908 100644 --- a/src/test/java/com/google/devtools/build/lib/bazel...
train
train
2019-03-13T22:40:43
2017-09-20T02:48:27Z
jmillikin
test
bazelbuild/bazel/3872_3873
bazelbuild/bazel
bazelbuild/bazel/3872
bazelbuild/bazel/3873
[ "timestamp(timedelta=0.0, similarity=0.8750544054369024)" ]
ac2cd35438e13504336ced63b6a06581445b66a5
38331b4bcf299df1a81d7af55e16f4cb768b5e29
[]
[ "add \"python_version\": \"3\"", "add \"python_version\": \"2\"", "I recommend removing the non-linux configuration so you get a less noisy result. E.g. freebsd is a breakage at HEAD.", "Added", "Added", "Done", "I'm not sure what indentation it wants here." ]
2017-10-06T21:58:16Z
[ "type: feature request", "P3", "category: misc > testing" ]
CI: bazel-tests should add a Python 3.x configuration
The current [bazel-tests CI job](https://github.com/bazelbuild/bazel/blob/master/scripts/ci/bazel-tests.json) does not run against a Python 3.x interpreter, so issues like #3816 happen. We should add a configuration that does so, via the `--python_path` flag now, and perhaps via the `--python_top` flag later. An al...
[ "scripts/ci/bazel-tests.json" ]
[ "scripts/ci/bazel-tests.json" ]
[]
diff --git a/scripts/ci/bazel-tests.json b/scripts/ci/bazel-tests.json index 62af16f2da8a65..efd8bf1f11dc65 100644 --- a/scripts/ci/bazel-tests.json +++ b/scripts/ci/bazel-tests.json @@ -3,7 +3,17 @@ [ { "configurations": [ - {"node": "linux-x86_64"}, + { + "node": "linu...
null
val
train
2017-12-20T22:39:27
2017-10-06T21:57:47Z
duggelz
test
bazelbuild/bazel/4028_4029
bazelbuild/bazel
bazelbuild/bazel/4028
bazelbuild/bazel/4029
[ "timestamp(timedelta=0.0, similarity=0.8606838243996491)" ]
d3fd691b95562a1cc9e3205f0ec8fe49e8d1f1c3
0edee4fb4786d676d6cc0023f0c9b6e8b75e9cae
[ "Hi John, internal reviewer asked for tests, could you add some to src/test/shell/bazel/apple/bazel_objc_test.sh please?", "Test added, to `cpp_darwin_integration_test.sh` -- this isn't Objective-C, it's just regular C++.\r\n\r\nI'm some trouble running the test (with changes or at HEAD) because Bazel gets into a...
[ "Ah I missed this one, can you pls use ifMac there?", "Can you pls move the fail onto the next line.", "`ifMac` is the opposite of what we want. These lines should only be added on non-MacOS platforms.", "This matches the existing style. Note that I think there might be something wrong with the current test c...
2017-11-06T21:32:53Z
[ "type: bug", "P2" ]
MacOS crosstool configures /usr/bin/strip with invalid flags
This report is against Bazel release 0.7.0. `tools/osx/crosstool/CROSSTOOL.tpl` configures `/usr/bin/strip` with multiple `-R` flags. In the GNU toolchain this flag removes a named section, but Clang (installed by Apple's dev tools) has a different definition of the `-R` flag. ``` -R filename ...
[ "src/main/java/com/google/devtools/build/lib/rules/cpp/CppActionConfigs.java", "tools/osx/crosstool/CROSSTOOL.tpl" ]
[ "src/main/java/com/google/devtools/build/lib/rules/cpp/CppActionConfigs.java", "tools/osx/crosstool/CROSSTOOL.tpl" ]
[ "src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL", "src/test/shell/bazel/cpp_darwin_integration_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppActionConfigs.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppActionConfigs.java index caf3e36efefc7c..b093aec1992af4 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppActionConfigs.java +++ b/src/main/java/com/goo...
diff --git a/src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL b/src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL index f653c9f220f64c..ea448ad9463bed 100644 --- a/src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL +++ b/src/test/java/com/...
test
train
2017-11-15T18:52:35
2017-11-06T21:30:34Z
jmillikin-stripe
test
bazelbuild/bazel/4063_6538
bazelbuild/bazel
bazelbuild/bazel/4063
bazelbuild/bazel/6538
[ "timestamp(timedelta=80465.0, similarity=0.8798468627057965)" ]
4ca2b6d5c4d201009ff21a3abbeddd9d58d4c95b
2c46f6fe93db718f1cdc9aef95a8af7adbbccb86
[ "Is this still an issue that needs to be corrected?\r\n", "If this uses the “zipper” target underneath then yes. There’s also a\nseparate issue about zipper itself.\n\nOn Sat, 11 Aug 2018 at 5:13 Josh Fischer <notifications@github.com> wrote:\n\n> Is this still an issue that needs to be corrected?\n>\n> —\n> You ...
[]
2018-10-27T15:30:10Z
[ "type: bug", "P2", "good first issue" ]
pkg_tar fails when src file name contains the '=' character
### Description of the problem / feature request / question: Cannot build simple `pkg_tar` target when a file contains the `=` character, e.g. if the file is named `a=b`. ### If possible, provide a minimal example to reproduce the problem: ``` mkdir mydir touch mydir/a=b pkg_tar( name = "test-tar", ...
[ "tools/build_defs/pkg/BUILD", "tools/build_defs/pkg/build_tar.py", "tools/build_defs/pkg/build_test.sh", "tools/build_defs/pkg/pkg.bzl" ]
[ "tools/build_defs/pkg/BUILD", "tools/build_defs/pkg/build_tar.py", "tools/build_defs/pkg/build_test.sh", "tools/build_defs/pkg/pkg.bzl" ]
[]
diff --git a/tools/build_defs/pkg/BUILD b/tools/build_defs/pkg/BUILD index 2f4052e713c263..8cfac27f0daffa 100644 --- a/tools/build_defs/pkg/BUILD +++ b/tools/build_defs/pkg/BUILD @@ -96,6 +96,7 @@ genrule( outs = [ "etc/nsswitch.conf", "usr/titi", + "a=b", ], cmd = "for i in $(OU...
null
train
train
2018-10-27T01:41:49
2017-11-09T18:49:07Z
sghiaus
test
bazelbuild/bazel/4097_4265
bazelbuild/bazel
bazelbuild/bazel/4097
bazelbuild/bazel/4265
[ "timestamp(timedelta=0.0, similarity=0.8616565838617605)" ]
21f117ae6599b48719faa55064a745e5ff695865
bbd05c1497f7a2a60ecb8c2aa9ff4db1c84b6a86
[ "I think that #3855 should resolve this issue, but I'll test it to confirm.", "Hey thanks for bringing this to our attention, ccing some people that can help\r\n@jin @dkelmer @ahumesky ", "Thanks @aj-michael - I was able to reproduce @angersson's errors and can confirm that #3855 resolves the first one.\r\n\r\n...
[]
2017-12-11T01:07:58Z
[ "type: feature request" ]
Make android tools scripts Python3-compatible for building android apps
### Description of the problem / feature request / question: Google's TFLite team has discovered that the TF Lite Android demo application cannot build via Bazel with Python 3, because the android tools Bazel uses aren't Python-3 compatible. The first breaking point looks like `third_party/gflags`, but past that the...
[ "tools/android/aar_embedded_jars_extractor.py", "tools/android/aar_native_libs_zip_creator.py", "tools/android/merge_manifests.py", "tools/android/merge_manifests_test.py", "tools/android/resource_extractor.py", "tools/android/stubify_manifest.py", "tools/build_defs/pkg/archive.py", "tools/objc/protob...
[ "tools/android/aar_embedded_jars_extractor.py", "tools/android/aar_native_libs_zip_creator.py", "tools/android/merge_manifests.py", "tools/android/merge_manifests_test.py", "tools/android/resource_extractor.py", "tools/android/stubify_manifest.py", "tools/build_defs/pkg/archive.py", "tools/objc/protob...
[]
diff --git a/tools/android/aar_embedded_jars_extractor.py b/tools/android/aar_embedded_jars_extractor.py index a46dd43b6fa538..393d3f4c5c3732 100644 --- a/tools/android/aar_embedded_jars_extractor.py +++ b/tools/android/aar_embedded_jars_extractor.py @@ -62,7 +62,7 @@ def _Main(input_aar, if not output_dir_orig: ...
null
train
train
2017-12-16T01:16:04
2017-11-15T19:50:45Z
angerson
test
bazelbuild/bazel/4097_4313
bazelbuild/bazel
bazelbuild/bazel/4097
bazelbuild/bazel/4313
[ "timestamp(timedelta=31452.0, similarity=0.9220350633737152)" ]
8a2baea4513f0989be8dc5ea89ca9ddb5b2555eb
791d47313b69adaa003c89d5759815e351362539
[ "I think that #3855 should resolve this issue, but I'll test it to confirm.", "Hey thanks for bringing this to our attention, ccing some people that can help\r\n@jin @dkelmer @ahumesky ", "Thanks @aj-michael - I was able to reproduce @angersson's errors and can confirm that #3855 resolves the first one.\r\n\r\n...
[]
2017-12-16T00:02:30Z
[ "type: feature request" ]
Make android tools scripts Python3-compatible for building android apps
### Description of the problem / feature request / question: Google's TFLite team has discovered that the TF Lite Android demo application cannot build via Bazel with Python 3, because the android tools Bazel uses aren't Python-3 compatible. The first breaking point looks like `third_party/gflags`, but past that the...
[ "tools/android/aar_embedded_jars_extractor.py", "tools/android/aar_embedded_jars_extractor_test.py", "tools/android/aar_native_libs_zip_creator_test.py", "tools/android/aar_resources_extractor.py", "tools/android/aar_resources_extractor_test.py", "tools/android/build_incremental_dexmanifest.py", "tools/...
[ "tools/android/aar_embedded_jars_extractor.py", "tools/android/aar_embedded_jars_extractor_test.py", "tools/android/aar_native_libs_zip_creator_test.py", "tools/android/aar_resources_extractor.py", "tools/android/aar_resources_extractor_test.py", "tools/android/build_incremental_dexmanifest.py", "tools/...
[]
diff --git a/tools/android/aar_embedded_jars_extractor.py b/tools/android/aar_embedded_jars_extractor.py index 393d3f4c5c3732..92a2e5a950eefb 100644 --- a/tools/android/aar_embedded_jars_extractor.py +++ b/tools/android/aar_embedded_jars_extractor.py @@ -45,13 +45,14 @@ def ExtractEmbeddedJars(aar, if not output_dir...
null
train
train
2017-12-18T23:36:01
2017-11-15T19:50:45Z
angerson
test
bazelbuild/bazel/4132_4134
bazelbuild/bazel
bazelbuild/bazel/4132
bazelbuild/bazel/4134
[ "timestamp(timedelta=0.0, similarity=0.865193421544384)" ]
0b30976d6a075577e9a9fc9df37ee4e784bb0ebb
6a890970dd44e562a0670ec84587425d98bf52cf
[]
[]
2017-11-20T22:05:54Z
[]
Improper formatting on aspects.html
https://docs.bazel.build/versions/master/skylark/aspects.html#advanced-example ![aspects](https://user-images.githubusercontent.com/15253456/33038876-eefb4f60-cdea-11e7-93c9-d8dc115cbe09.png)
[ "site/docs/skylark/aspects.md" ]
[ "site/docs/skylark/aspects.md" ]
[]
diff --git a/site/docs/skylark/aspects.md b/site/docs/skylark/aspects.md index 4d32c73a707e83..fa80e5f08d9f58 100644 --- a/site/docs/skylark/aspects.md +++ b/site/docs/skylark/aspects.md @@ -176,6 +176,7 @@ It shows how to use a provider to return values, how to use parameters to pass an argument into an aspect implem...
null
val
train
2017-11-20T22:17:30
2017-11-20T20:04:26Z
tvolkert
test
bazelbuild/bazel/4174_4175
bazelbuild/bazel
bazelbuild/bazel/4174
bazelbuild/bazel/4175
[ "timestamp(timedelta=0.0, similarity=0.9192119149424052)" ]
0b2352de3101e87647d083f6089246079dda0f75
cb03cd3a4771f7adb168e524cb3d65fc16fb4c41
[]
[]
2017-11-28T04:29:40Z
[]
Broken link in tutorial for 'C++ use cases'
The [C++ and Bazel](https://docs.bazel.build/versions/master/bazel-and-cpp.html) page has a bad link to https://docs.bazel.build/versions/master/tutorial/cpp-use-cases.html with text `C++ common use cases` under the `Working with Bazel` section. This link should probably be to https://docs.bazel.build/versions/maste...
[ "site/docs/bazel-and-cpp.md" ]
[ "site/docs/bazel-and-cpp.md" ]
[]
diff --git a/site/docs/bazel-and-cpp.md b/site/docs/bazel-and-cpp.md index 84e9ed75493987..41083c7c4390f9 100644 --- a/site/docs/bazel-and-cpp.md +++ b/site/docs/bazel-and-cpp.md @@ -21,7 +21,7 @@ projects with Bazel. The following resources will help you work with Bazel on C++ projects: * [Tutorial: Building a C+...
null
train
train
2017-11-28T02:39:59
2017-11-28T04:22:40Z
jonstewart
test
bazelbuild/bazel/4176_4236
bazelbuild/bazel
bazelbuild/bazel/4176
bazelbuild/bazel/4236
[ "timestamp(timedelta=0.0, similarity=0.9283720135274562)" ]
52aff7dcac17c73a221487acc147e631c75124cd
af220c8e4be759ac9d7a4e8a420323d2a2ad0c23
[ "Sounds like a nice improvement.\r\n\r\n@akira-baruah do you want to send your fix over as a pull request? :)", "@philwo Thanks - I made PR #4236, but haven't tested it on Windows yet." ]
[]
2017-12-05T18:16:26Z
[ "type: bug", "P3", "category: misc > misc" ]
bazel clean: don't suggest to use --async, if it is not supported on current platform
On Bazel@HEAD, on Windows: ``` $ bazel clean INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes. ``` Now trying to pass `--async`, as suggested: ``` $ bazel clean --async INFO: --async cannot be used on non-Linux platforms, falling bac...
[ "src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java" ]
[ "src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java" ]
[ "src/test/java/com/google/devtools/build/lib/BUILD", "src/test/java/com/google/devtools/build/lib/runtime/commands/CleanCommandTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java b/src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java index dfe0dd3bb1f697..6c6446214cc086 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java +++ b/src/main/jav...
diff --git a/src/test/java/com/google/devtools/build/lib/BUILD b/src/test/java/com/google/devtools/build/lib/BUILD index ba38e5698eb4bf..78d1569b98e80c 100644 --- a/src/test/java/com/google/devtools/build/lib/BUILD +++ b/src/test/java/com/google/devtools/build/lib/BUILD @@ -1029,7 +1029,10 @@ java_test( java_test( ...
train
train
2017-12-12T03:25:36
2017-11-28T06:55:08Z
davido
test
bazelbuild/bazel/4207_7649
bazelbuild/bazel
bazelbuild/bazel/4207
bazelbuild/bazel/7649
[ "timestamp(timedelta=0.0, similarity=1.0000000000000002)" ]
8c5b11af337ac6ef02aa28dd7cd49ef7af2f640f
50b58dfe336c8207ea6806bd970a373814316240
[]
[]
2019-03-06T15:46:12Z
[ "type: feature request", "P2" ]
Support changing the working directory of repository_ctx.execute
### Description of the feature request: I want to be able to direct `repository_ctx.execute` to run in a particular directory. I believe right now it executes under `external/` vs. `external/<repo_name>`, which is where it should be putting files. So unless every tool we invoke supports changing directories, this ...
[ "src/main/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkRepositoryContext.java", "src/main/java/com/google/devtools/build/lib/skylarkbuildapi/repository/SkylarkRepositoryContextApi.java" ]
[ "src/main/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkRepositoryContext.java", "src/main/java/com/google/devtools/build/lib/skylarkbuildapi/repository/SkylarkRepositoryContextApi.java" ]
[ "src/test/java/com/google/devtools/build/lib/blackbox/tests/workspace/RepoWithRuleWritingTextGenerator.java", "src/test/java/com/google/devtools/build/lib/blackbox/tests/workspace/WorkspaceBlackBoxTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkRepositoryContext.java b/src/main/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkRepositoryContext.java index 077f2229be1950..9fdc2ca74cf39f 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/reposit...
diff --git a/src/test/java/com/google/devtools/build/lib/blackbox/tests/workspace/RepoWithRuleWritingTextGenerator.java b/src/test/java/com/google/devtools/build/lib/blackbox/tests/workspace/RepoWithRuleWritingTextGenerator.java index b3560591e00e2a..2ebf4ce697bdc3 100644 --- a/src/test/java/com/google/devtools/build/l...
train
train
2019-03-06T16:23:39
2017-12-01T14:35:38Z
mattmoor
test
bazelbuild/bazel/4222_4705
bazelbuild/bazel
bazelbuild/bazel/4222
bazelbuild/bazel/4705
[ "timestamp(timedelta=1.0, similarity=0.8857976795019705)" ]
66c52e37d83371d93cea712c73f6b7355e0a0d0c
493e72da7672d83f7329eb1b3456931f03cd04df
[ "cc @razvanm", "@brandjon , not sure if anyone owns this area of Bazel; could you maybe take a look?", "I can look in my spare cycles but I won't be able to get to this soon.", "Forwarding to dslomov as requested.", "BazelWorkspaceStatusAction.equals is incorrect - it doesn't check for equality of the clien...
[ "add a non-stable key as well, assert that changing it will not trigger a rebuild", "Please remove the `.sh` ending here and in other `mktemp` calls.\r\nOn macOS `mktemp` requires that the XXXs be at the end of the template, otherwise the command creates a file called literally `wsc-XXXXXXXX.sh`.", "Good point ...
2018-02-26T03:42:49Z
[ "type: bug", "P3", "category: misc > misc" ]
clientEnv is cached for workspace status command
Please provide the following information. The more we know about your system and use case, the more easily and likely we can help. ### Description of the problem / feature request / question: The client environment passed to the BazelWorkspaceStatusModule is cached across runs. https://github.com/bazelbuild/bazel/...
[ "src/main/java/com/google/devtools/build/lib/bazel/BazelWorkspaceStatusModule.java" ]
[ "src/main/java/com/google/devtools/build/lib/bazel/BazelWorkspaceStatusModule.java" ]
[ "src/test/shell/bazel/bazel_workspace_status_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/BazelWorkspaceStatusModule.java b/src/main/java/com/google/devtools/build/lib/bazel/BazelWorkspaceStatusModule.java index 9a74ccc95fa64d..ebd3171ebdf8b8 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/BazelWorkspaceStatusModule.java +++ b/src...
diff --git a/src/test/shell/bazel/bazel_workspace_status_test.sh b/src/test/shell/bazel/bazel_workspace_status_test.sh index 9d589efc08fbc4..508dabb9055b68 100755 --- a/src/test/shell/bazel/bazel_workspace_status_test.sh +++ b/src/test/shell/bazel/bazel_workspace_status_test.sh @@ -48,7 +48,7 @@ EOF function test_work...
test
train
2018-03-06T03:22:55
2017-12-04T13:55:34Z
siddharthab
test
bazelbuild/bazel/4255_6472
bazelbuild/bazel
bazelbuild/bazel/4255
bazelbuild/bazel/6472
[ "timestamp(timedelta=0.0, similarity=0.8619646931969689)" ]
12987e858cca0e517f429fec2340ef69a2b9260a
7376bfc385945473ba57e4a345f9a5ebebd25f3e
[ "I know nothing about zsh.\r\n\r\n@schroederc : I believe you added the zsh completion script to Bazel in commit https://github.com/bazelbuild/bazel/commit/6b2766dd0, so I'm hoping you can help.\r\n@damienmg : you approved Cody's change, you may know about zsh.", "also confused by this sentence", "The `_bazel` ...
[]
2018-10-23T08:13:44Z
[ "type: documentation (cleanup)", "P3", "team-Bazel" ]
Can someone elaborate on the instructions to install zsh completion?
I'm looking at the instructions for how to install zsh completion [here](https://docs.bazel.build/versions/master/install.html#zsh) and am left a little confused about what to do. I'm only a casual user of ZSH, so I think I'm missing something fundamental. ># Getting zsh completion > >Bazel also comes with a zsh c...
[ "site/_layouts/documentation.html", "site/docs/install-os-x.md", "site/docs/install-ubuntu.md" ]
[ "site/_layouts/documentation.html", "site/docs/completion.md", "site/docs/install-os-x.md", "site/docs/install-ubuntu.md" ]
[]
diff --git a/site/_layouts/documentation.html b/site/_layouts/documentation.html index 04b2fd401b1ea1..77410c6b11d506 100644 --- a/site/_layouts/documentation.html +++ b/site/_layouts/documentation.html @@ -47,6 +47,7 @@ <h3>Using Bazel</h3> <li><a href="/versions/{{ site.version }}/install-os-x.htm...
null
test
train
2018-10-22T23:27:46
2017-12-07T20:52:28Z
vmrob
test
bazelbuild/bazel/4378_5385
bazelbuild/bazel
bazelbuild/bazel/4378
bazelbuild/bazel/5385
[ "timestamp(timedelta=0.0, similarity=0.9039208917346069)" ]
348225e4d25b9259489c1ed66eb7eca7612cddcc
273b4dd14a7359d90defd2e257be53b65f5bfefe
[ "We ran into the same problem in all our own windows builder machines. Removing the following two directories fixed the problem: C:\\Users\\builder\\\\_bazel_LOCAL\\ SERVICE/install/dc4fe1b7fd90df4d3976b7aaa4b41899 and cygwin /tmp/_bazel_LOCAL\\ SERVICE/install/dc4fe1b7fd90df4d3976b7aaa4b41899. But it is not addre...
[]
2018-06-13T12:41:38Z
[ "type: bug", "P1", "platform: windows", "category: misc > misc", "breakage" ]
Windows: Error: corrupt installation
I noticed this error in many places, my local machine, [Bazel CI](https://ci.bazel.io/blue/organizations/jenkins/bazel-tests/detail/bazel-tests/1606/pipeline), [Tensorflow CI](http://ci.tensorflow.org/job/tf-master-win-bzl/2189/console), ``` Error: corrupt installation: file 'C:\tmp/_bazel_pcloudy/install/6f94f50e46...
[ "src/main/cpp/util/file_windows.cc" ]
[ "src/main/cpp/util/file_windows.cc" ]
[]
diff --git a/src/main/cpp/util/file_windows.cc b/src/main/cpp/util/file_windows.cc index 537852eb70b310..ee045a3718f510 100644 --- a/src/main/cpp/util/file_windows.cc +++ b/src/main/cpp/util/file_windows.cc @@ -114,16 +114,59 @@ class WindowsFileMtime : public IFileMtime { bool SetToDistantFuture(const string& path)...
null
val
train
2018-06-13T14:10:15
2018-01-02T16:29:36Z
meteorcloudy
test
bazelbuild/bazel/4381_5287
bazelbuild/bazel
bazelbuild/bazel/4381
bazelbuild/bazel/5287
[ "timestamp(timedelta=1.0, similarity=0.9110885140979402)" ]
ab0132928467970d55426dd32580b03508b3b68a
406a104e219f2393aa1d31fa0e1c142aeda06ba1
[ "The android_common jars need to be updated for this to work. I'll take a look.", "Adding some more info to help repro:\r\n\r\n### Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.\r\n\r\nWorking app on master:\r\nhttps://github.com/hasadna/hasadna\r\nTo r...
[]
2018-05-29T02:18:59Z
[ "type: feature request", "P2" ]
Android: support font in XML
### Description of the problem / feature request / question: Bazel does not support newly-added Android feature [Fonts in XML](https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml.html) ### Environment info * Operating System: macOS 10.13.2 * Bazel version (output of `bazel info release...
[]
[ "src/test/shell/bazel/android/testdata/LICENSE.txt" ]
[ "src/test/shell/bazel/android/BUILD", "src/test/shell/bazel/android/resource_processing_integration_test.sh" ]
diff --git a/src/test/shell/bazel/android/testdata/LICENSE.txt b/src/test/shell/bazel/android/testdata/LICENSE.txt new file mode 100755 index 00000000000000..75b52484ea471f --- /dev/null +++ b/src/test/shell/bazel/android/testdata/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + ...
diff --git a/src/test/shell/bazel/android/BUILD b/src/test/shell/bazel/android/BUILD index 06245c74996150..359d746e4af83c 100644 --- a/src/test/shell/bazel/android/BUILD +++ b/src/test/shell/bazel/android/BUILD @@ -117,3 +117,15 @@ sh_test( ], shard_count = 4, ) + +sh_test( + name = "resource_processing_i...
train
train
2018-05-31T19:25:00
2018-01-03T18:17:41Z
vmax
test
bazelbuild/bazel/4511_4512
bazelbuild/bazel
bazelbuild/bazel/4511
bazelbuild/bazel/4512
[ "timestamp(timedelta=0.0, similarity=0.8578533362755757)" ]
344b08c032b5520ba333fae4a4ab9d1d64eec6f8
278c7167b9edd79d4a1ad5c33c03f3cf7cdedabd
[]
[]
2018-01-24T01:45:29Z
[]
Skylint crashes when invoked on a file with a nested function.
### Description of the problem / feature request: > Skylint crashes with an error below when analyzing a .bzl file with a nested function. A file with ``` def yo(): def bar(): pass ``` will cause Skylint crash: ``` Exception in thread "main" java.lang.IllegalStateException at com.google.common.base.P...
[ "scripts/ij.bazelproject", "src/tools/skylark/java/com/google/devtools/skylark/skylint/ControlFlowChecker.java", "src/tools/skylark/javatests/com/google/devtools/skylark/skylint/ControlFlowCheckerTest.java" ]
[ "scripts/ij.bazelproject", "src/tools/skylark/java/com/google/devtools/skylark/skylint/ControlFlowChecker.java", "src/tools/skylark/javatests/com/google/devtools/skylark/skylint/ControlFlowCheckerTest.java" ]
[]
diff --git a/scripts/ij.bazelproject b/scripts/ij.bazelproject index e90868242d2cf0..f13282c5b8ced5 100644 --- a/scripts/ij.bazelproject +++ b/scripts/ij.bazelproject @@ -20,3 +20,4 @@ targets: //src/test/... -//src/test/docker/... //src/tools/remote/... + //src/tools/skylark/... diff --git a/src/tools/skylar...
null
train
train
2018-01-24T00:34:32
2018-01-24T01:40:18Z
ttsugriy
test
bazelbuild/bazel/4561_9976
bazelbuild/bazel
bazelbuild/bazel/4561
bazelbuild/bazel/9976
[ "timestamp(timedelta=1.0, similarity=0.8941857375009304)" ]
75cbf829a51c5e2b24f9d1382667dfdf81d18bda
d267cc4567e55040f5dd0c59e66bfc7ac3c21552
[ "The same error in tensorflow:\r\n```\r\nERROR: C:/users/chebotarev_v/documents/src/tensorflow/tensorflow/contrib/lite/BUILD:62:1: output 'tensorflow/contrib/lite/libcontext.ifso' was not created\r\nERROR: C:/users/chebotarev_v/documents/src/tensorflow/tensorflow/contrib/lite/BUILD:62:1: Couldn't build file tensorf...
[ "Seems name of function is not very good, because def file created by this function is suitable only for `.dll`. Maybe createTrivial**Dll**DefFileAction is better? ", "I think the fact we are creating a DEF file implies it's for a Windows DLL, there's no DEF file for shared library on other platforms, right?", ...
2019-10-09T13:58:03Z
[ "type: feature request", "P2", "platform: windows", "category: misc > misc" ]
Building Windows DLL without exports fails
### Description of the problem / feature request: In order to produce import library for a DLL bazel uses `/IMPLIB` flag of the linker and expect that it will force creating import library in the place specified: https://msdn.microsoft.com/en-us/library/67wc07b9.aspx Unfortunately, this flag is not managing the ...
[ "src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java", "src/main/java/com/google/devtools/build/lib/rules/cpp/CcLibrary.java", "src/main/java/com/google/devtools/build/lib/rules/cpp/CppHelper.java" ]
[ "src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java", "src/main/java/com/google/devtools/build/lib/rules/cpp/CcLibrary.java", "src/main/java/com/google/devtools/build/lib/rules/cpp/CppHelper.java" ]
[ "src/test/py/bazel/bazel_windows_cpp_test.py" ]
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java index f4ffbd86fd8970..660daabd4ab923 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java +++ b/src/main/java/com/google/devtools/build/lib/r...
diff --git a/src/test/py/bazel/bazel_windows_cpp_test.py b/src/test/py/bazel/bazel_windows_cpp_test.py index 4c8e45bace7569..0cca8e5e44e7cf 100644 --- a/src/test/py/bazel/bazel_windows_cpp_test.py +++ b/src/test/py/bazel/bazel_windows_cpp_test.py @@ -138,15 +138,15 @@ def testBuildDynamicLibraryWithUserExportedSymbol(s...
train
train
2019-10-16T12:14:05
2018-02-01T19:36:28Z
excitoon
test
bazelbuild/bazel/4628_5155
bazelbuild/bazel
bazelbuild/bazel/4628
bazelbuild/bazel/5155
[ "timestamp(timedelta=0.0, similarity=0.8425062060806989)" ]
8aa610bb7fce80440a563f91b32783716f51e77d
21909b47cb61b26d6032f479855feac2ffe9fc5e
[ "We should expect that most users will want to specify this flag in a .bazelrc file", "Over to @buchgr who wrote the current notification about streaming target and identifier.", "Hi Dave,\r\n\r\nI am not convinced that a flag is the right way to go about this. I think instead we should extend the BES protocol ...
[]
2018-05-03T20:08:34Z
[ "P1" ]
BEP: Add a config option for results base URL (feature request)
When streaming results to a BEP endpoint, we should notify the user as to where they can view those results. (Currently, the user has to manually construct the URL from the invocation ID reported in Bazel CLI and a base URL of the BEP server.) **Please add a flag:** `--results_url_base` ...this will be used like:...
[ "src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceModule.java", "src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceOptions.java" ]
[ "src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceModule.java", "src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceOptions.java" ]
[]
diff --git a/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceModule.java b/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceModule.java index bc806be07cac74..e59707fac184f1 100644 --- a/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventS...
null
test
train
2018-05-03T21:53:41
2018-02-12T20:33:38Z
davidstanke
test
bazelbuild/bazel/4666_7354
bazelbuild/bazel
bazelbuild/bazel/4666
bazelbuild/bazel/7354
[ "timestamp(timedelta=26195.0, similarity=0.8626952166192586)" ]
0fc8deec015214006a289fa6bd0fd9cd99bbba5b
06c74313012ac1cfeb00d93086517d3d90dae048
[]
[]
2019-02-05T15:28:06Z
[]
remote/bugs: some tests aren't cached remotely
These three tests aren't cached remotely on our CI. ``` //src/test/shell/bazel:bazel_determinism_test //src/test/shell/bazel:bazel_bootstrap_distfile_test //scripts/release:release_test ``` Need to investigate why this is the case. cc: @ulfjack @philwo
[ "src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java" ]
[ "src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java" ]
[]
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java index 4ef09ad268f260..2da0cc1203d446 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java +++ b/src/main/java/com/google/devto...
null
train
train
2019-02-05T16:41:18
2018-02-20T13:23:42Z
buchgr
test
bazelbuild/bazel/4698_7354
bazelbuild/bazel
bazelbuild/bazel/4698
bazelbuild/bazel/7354
[ "timestamp(timedelta=26444.0, similarity=0.8479604725701331)" ]
0fc8deec015214006a289fa6bd0fd9cd99bbba5b
06c74313012ac1cfeb00d93086517d3d90dae048
[]
[]
2019-02-05T15:28:06Z
[]
remote/documentation: mention remote caching on CircleCI in the documentation
https://github.com/notnoopci/bazel-remote-proxy
[ "src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java" ]
[ "src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java" ]
[]
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java index 4ef09ad268f260..2da0cc1203d446 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java +++ b/src/main/java/com/google/devto...
null
val
train
2019-02-05T16:41:18
2018-02-23T23:39:30Z
buchgr
test
bazelbuild/bazel/4742_5371
bazelbuild/bazel
bazelbuild/bazel/4742
bazelbuild/bazel/5371
[ "timestamp(timedelta=0.0, similarity=0.9448327089095196)" ]
b689036a6b203a1eb9bbd22738a1c7fbe949243f
8163b8ede6c87ea2ac1391edb3d454eec32652d8
[ "NDK17 is was released. I haven't tested with bazel 0.14rc, but I don't see this being in the changelog.", "I haven't had free cycles to work on this yet. Bumping to P1 for re-prioritization. ", "That's great thank you!", "@steeve WIP: https://github.com/bazelbuild/bazel/pull/5371", "When calling `./configu...
[ "This will \"pass\" on CI because the test is disabled. The CI has r15, not r17." ]
2018-06-11T22:36:37Z
[ "type: feature request", "P1" ]
Support NDK 17
r17 is expected to land [in May 2018.](https://github.com/android-ndk/ndk/wiki#release-schedule) Betas 1 and 2 will be released this month (March) and next month (April) respectively. https://android.googlesource.com/platform/ndk/+/ndk-release-r17/CHANGELOG.md [Relevant changes:](https://android.googlesource....
[ "src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/AndroidNdkCrosstools.java" ]
[ "src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/AndroidNdkCrosstools.java", "src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r17/AndroidNdkCrosstoolsR17.java", "src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r17/ApiLevel...
[ "src/test/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryTest.java", "src/test/shell/bazel/android/android_ndk_integration_test.sh" ]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/AndroidNdkCrosstools.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/AndroidNdkCrosstools.java index c5aedb7df5d5c3..8823899c055306 100644 --- a/src/main/java/com/google/devtools/build/lib/baz...
diff --git a/src/test/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryTest.java b/src/test/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryTest.java index 232a553d5d6652..a6811235841331 100644 --- a/src/test/java/com/google/devtools/build/lib/bazel/rules/android/And...
train
train
2018-06-11T23:11:40
2018-03-01T15:25:11Z
jin
test
bazelbuild/bazel/4751_7174
bazelbuild/bazel
bazelbuild/bazel/4751
bazelbuild/bazel/7174
[ "timestamp(timedelta=93630.0, similarity=0.9122858267918214)" ]
ce91f76e659cee6940d0f5e10c2bbd7e43be76d4
7cdb4016b15dbfb86cbf3eb58ac481d3cb47021a
[ "Is anyone investigating?", "I just tried to collect evidence that this is an instance of existing issue, but I cannot find any. But I vaguely remember strange issues with skylark repositories on mac like this one.", "Thanks. Marcel, may I assign this to you or is there someone for whom it's a better fit?", "...
[ "nit: could you call it \"toInputPath\" or something more concrete than \"toPath\"? Otherwise the ~sloppy~ hurried coder (not that I speak of my own experience, \\*ahem\\*) might believe this function does nothing but a trivial conversion (e.g. calling Artifact.toPath)." ]
2019-01-18T09:30:32Z
[ "P0", "platform: apple", "team-Rules-CPP", "team-Remote-Exec" ]
Unexpected IO error (Not a directory)
``` ERROR: /Users/buildkite/builds/darwin-x86-64-1-1/bazel/re2/BUILD:26:1: Couldn't build file _objs/re2/re2/filtered_re2.o: C++ compilation of rule '//:re2' failed: Unexpected IO error.: /private/var/tmp/_bazel_buildkite/90b05a586a8f6522c740e54d1334c7a0/execroot/ com_googlesource_code_re2/external/local_config_cc/...
[ "src/main/java/com/google/devtools/build/lib/actions/ActionInputHelper.java", "src/main/java/com/google/devtools/build/lib/exec/SingleBuildFileCache.java", "src/main/java/com/google/devtools/build/lib/remote/TreeNodeRepository.java" ]
[ "src/main/java/com/google/devtools/build/lib/actions/ActionInputHelper.java", "src/main/java/com/google/devtools/build/lib/exec/SingleBuildFileCache.java", "src/main/java/com/google/devtools/build/lib/remote/TreeNodeRepository.java" ]
[]
diff --git a/src/main/java/com/google/devtools/build/lib/actions/ActionInputHelper.java b/src/main/java/com/google/devtools/build/lib/actions/ActionInputHelper.java index f7a9e0734a44e8..83829e364ed1f4 100644 --- a/src/main/java/com/google/devtools/build/lib/actions/ActionInputHelper.java +++ b/src/main/java/com/google...
null
train
train
2019-01-18T10:25:47
2018-03-02T08:53:16Z
buchgr
test
bazelbuild/bazel/4801_4826
bazelbuild/bazel
bazelbuild/bazel/4801
bazelbuild/bazel/4826
[ "timestamp(timedelta=0.0, similarity=0.8452821693772827)" ]
658662136e65f54f93a0c81c7fb78dd6b46b55a6
c628e25a915b9512149803772bd8d09590d6d21e
[ "Hm, you're right, I just downloaded the zip file and computed sha256 on it, getting `a36bac432d0dbd8c98249e484b2b69dd5720afa4abb58711a3c3def1c0bfa21d`. /cc @kstanger ", "Any idea why the hash changed?", "They may have force-pushed a new version.\r\nThis is what @kstanger wrote to me:\r\n\r\n> It's possible tha...
[]
2018-03-12T09:57:10Z
[ "type: bug", "P2" ]
Bazel j2obc WORKSPACE sha is invalid
### Description of the problem / feature request: Bazels j2obc WORKSPACE file sha is different to the githubs release https://github.com/bazelbuild/bazel/blob/master/WORKSPACE#L39 . ### Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible. Running `bazel fe...
[ "WORKSPACE" ]
[ "WORKSPACE" ]
[]
diff --git a/WORKSPACE b/WORKSPACE index ccbf0dc027c5f6..3108c989bef30b 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -36,7 +36,8 @@ bind( http_archive( name = "bazel_j2objc", url = "https://github.com/google/j2objc/releases/download/2.0.3/j2objc-2.0.3.zip", - sha256 = "529ee99e6f0e3f88edef61aeae4f13dc6e5eb81...
null
train
train
2018-03-11T07:32:11
2018-03-08T14:29:28Z
emcfarlane
test
bazelbuild/bazel/4813_4818
bazelbuild/bazel
bazelbuild/bazel/4813
bazelbuild/bazel/4818
[ "timestamp(timedelta=0.0, similarity=0.909734931898169)" ]
d6a98282e229b311dd56e65b72003197120f299a
8fa06de4b6f5e5eff15b47a15f376b3d7c30eb90
[ "/cc @davido ", "I agree with this approach but I would also mention that it could be hard to try to detect/ignore all possible corrupted MSVC installations. And in context of another C++ based project: LibreOffice, we generally advice developers to always avoid messing around with multiple MSVC installations on ...
[ "opt: I think it'd be easier to read if you added \"installation\" after \"build tools\"", "Please don't add `check_exists` here; instead, extract the error handling from this method to its call sites. Let this method just find the script (as its name says) or return None if not found, and let the caller deal wit...
2018-03-09T15:45:53Z
[ "type: feature request", "P2", "platform: windows" ]
Windows: Bazel should be able to build non-c++ rules when VC is not installed correctly
Bazel currently can ignore VC configuration if VC isn't installed at all. But a wrong VC installation could block the configuration even when we don't need to build C++ rules. See https://github.com/bazelbuild/migration-tooling/issues/85
[ "tools/cpp/vc_path_not_found.bat", "tools/cpp/windows_cc_configure.bzl" ]
[ "tools/cpp/vc_installation_error.bat.tpl", "tools/cpp/windows_cc_configure.bzl" ]
[]
diff --git a/tools/cpp/vc_path_not_found.bat b/tools/cpp/vc_installation_error.bat.tpl similarity index 89% rename from tools/cpp/vc_path_not_found.bat rename to tools/cpp/vc_installation_error.bat.tpl index 18e3581f54b852..cb44b1413f77d7 100644 --- a/tools/cpp/vc_path_not_found.bat +++ b/tools/cpp/vc_installation_erro...
null
train
train
2018-03-14T03:20:35
2018-03-09T09:58:05Z
meteorcloudy
test
bazelbuild/bazel/4839_7354
bazelbuild/bazel
bazelbuild/bazel/4839
bazelbuild/bazel/7354
[ "timestamp(timedelta=26307.0, similarity=0.8492214731048833)" ]
0fc8deec015214006a289fa6bd0fd9cd99bbba5b
06c74313012ac1cfeb00d93086517d3d90dae048
[ "building a merkle tree should not be much more expensive than building a list if implemented correctly.", "Does this still hold true compared to the comment mentioned here: https://github.com/bazelbuild/bazel/pull/7583#issuecomment-468568192?", "I don't know. You'd have to benchmark the current merkle tree imp...
[]
2019-02-05T15:28:06Z
[]
remote/performance: don't construct a merkle tree for remote caching
Remote caching doesn't benefit from constructing a merkle. Some users reported significant performance overheads from constructing the merkle tree. We might just want to compute the hash of the list of input file hashes instead. cc: @benjaminp
[ "src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java" ]
[ "src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java" ]
[]
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java index 4ef09ad268f260..2da0cc1203d446 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java +++ b/src/main/java/com/google/devto...
null
train
train
2019-02-05T16:41:18
2018-03-13T15:24:57Z
buchgr
test
bazelbuild/bazel/4844_7354
bazelbuild/bazel
bazelbuild/bazel/4844
bazelbuild/bazel/7354
[ "timestamp(timedelta=26421.0, similarity=0.8546858998698029)" ]
0fc8deec015214006a289fa6bd0fd9cd99bbba5b
06c74313012ac1cfeb00d93086517d3d90dae048
[ "#4889 is a stab at this", "This is a duplicate of #4889 ", "Hi @buchgr, on this project, is a PR normally considered a duplicate of the feature request which requests it?", "@buchgr would you consider reopening this issue?", "FYI -- elsewhere (issue #4789) I mentioned that S3's weak consistency model could...
[]
2019-02-05T15:28:06Z
[ "type: feature request", "P3" ]
remote/feature: support AWS S3 as a remote caching backend
We have heard from many users who want to use AWS S3 as a remote caching backend for Bazel just as they currently do with Google Cloud Storage. This is useful when running inside Travis or CircleCI (https://github.com/notnoopci/bazel-remote-proxy) as these SaaS products already run inside AWS. From skimming over the...
[ "src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java" ]
[ "src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java" ]
[]
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java index 4ef09ad268f260..2da0cc1203d446 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java +++ b/src/main/java/com/google/devto...
null
train
train
2019-02-05T16:41:18
2018-03-14T10:01:05Z
buchgr
test
bazelbuild/bazel/4864_4866
bazelbuild/bazel
bazelbuild/bazel/4864
bazelbuild/bazel/4866
[ "timestamp(timedelta=1.0, similarity=0.8861591060261476)" ]
df296a483aca5a3612e356908cc2ca2c207a3cbb
cc94075f295121b382c86175c7f106a6c86f4cca
[ "That's perfect.\r\nI think the crux of the matter is at https://github.com/bazelbuild/bazel/blob/d1119fa583ff659a80828d1b67cc980b04f6b386/src/main/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryFunction.java#L340-L344\r\n\r\nWhich is weird because the path should be in that list as a `-...
[]
2018-03-16T19:05:22Z
[ "type: bug", "P1" ]
NDK runtime libs are not part of the toolchain's all_files outputs
For `libc++`, the runtime libs are not in the outputs of the toolchain, causing linktime errors in sandboxed mode. Sample of affected files: ``` external/androidndk/ndk/sources/cxx-stl/llvm-libc++/libs external/androidndk/ndk/sources/cxx-stl/llvm-libc++/libs/x86_64 external/androidndk/ndk/sources/cxx-stl/llvm-lib...
[ "src/main/java/com/google/devtools/build/lib/bazel/rules/android/android_ndk_cc_toolchain_template.txt" ]
[ "src/main/java/com/google/devtools/build/lib/bazel/rules/android/android_ndk_cc_toolchain_template.txt" ]
[]
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/android/android_ndk_cc_toolchain_template.txt b/src/main/java/com/google/devtools/build/lib/bazel/rules/android/android_ndk_cc_toolchain_template.txt index 2019792fd335a5..7a5322b5f61957 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/r...
null
train
train
2018-03-16T19:56:57
2018-03-15T23:15:16Z
jin
test
bazelbuild/bazel/4870_4874
bazelbuild/bazel
bazelbuild/bazel/4870
bazelbuild/bazel/4874
[ "timestamp(timedelta=80.0, similarity=0.8598852016196619)" ]
3a7b8bc2abeaf8b8647c037bed1dd5fd73b8392b
3042400a28766afa0520e2d80bf37e4e9445b70f
[ "Actuall there are three options. The one you havn't mentioned: `--experimental_strict_action_env`. Without this options, the local action cache is useless, if the workspace location changed (clone project in two different locations). See also discussion on the #3042, where local action cache was introduced.\r\n\r\...
[ "I wonder if we should just call this feature \"Disk Cache\". I think \"local action cache\" is confusing because it's not only caching actions but also the output and I think it's easy to confuse with Bazel's actual action cache.\r\n\r\nSo what do you think about calling this \"Disk Cache\" and the flag `--disk_ca...
2018-03-19T22:44:22Z
[ "type: feature request", "P3" ]
improve --experimental_local_disk_cache
Many users like the `--experimental_local_disk_cache` option, but it needs some improvements. - Replace the two options `--experimental_local_disk_cache` and `--experimental_local_disk_cache_path` with one `--local_disk_cache=/path/to/disk/cache`. - Add a `--local_disk_cache_size=SIZE` option to specify an upper bo...
[ "site/docs/remote-caching.md", "src/main/java/com/google/devtools/build/lib/remote/RemoteActionContextProvider.java", "src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java", "src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java" ]
[ "site/docs/remote-caching.md", "src/main/java/com/google/devtools/build/lib/remote/RemoteActionContextProvider.java", "src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java", "src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java" ]
[ "src/test/shell/bazel/BUILD", "src/test/shell/bazel/build_cache_test.sh" ]
diff --git a/site/docs/remote-caching.md b/site/docs/remote-caching.md index 163f1122f2ad69..a256240cbd7cb6 100644 --- a/site/docs/remote-caching.md +++ b/site/docs/remote-caching.md @@ -28,6 +28,7 @@ make builds significantly faster. * [Delete content from the remote cache](#delete-content-from-the-remote-cache) ...
diff --git a/src/test/shell/bazel/BUILD b/src/test/shell/bazel/BUILD index d271c43627b192..8f593e565bc11d 100644 --- a/src/test/shell/bazel/BUILD +++ b/src/test/shell/bazel/BUILD @@ -318,9 +318,9 @@ sh_test( ) sh_test( - name = "local_action_cache_test", + name = "build_cache_test", size = "small", - ...
val
train
2018-03-22T23:13:47
2018-03-19T10:37:43Z
buchgr
test
bazelbuild/bazel/4870_5118
bazelbuild/bazel
bazelbuild/bazel/4870
bazelbuild/bazel/5118
[ "timestamp(timedelta=159043.0, similarity=0.8863782482598617)" ]
a6b141d89e68e77c7d1df10b072f838a7dba99ae
b3e1a650e1f4de567c1acb0f9832032ffac97f7b
[ "Actuall there are three options. The one you havn't mentioned: `--experimental_strict_action_env`. Without this options, the local action cache is useless, if the workspace location changed (clone project in two different locations). See also discussion on the #3042, where local action cache was introduced.\r\n\r\...
[]
2018-04-30T15:09:28Z
[ "type: feature request", "P3" ]
improve --experimental_local_disk_cache
Many users like the `--experimental_local_disk_cache` option, but it needs some improvements. - Replace the two options `--experimental_local_disk_cache` and `--experimental_local_disk_cache_path` with one `--local_disk_cache=/path/to/disk/cache`. - Add a `--local_disk_cache_size=SIZE` option to specify an upper bo...
[ "site/docs/remote-caching.md", "src/main/java/com/google/devtools/build/lib/remote/RemoteActionContextProvider.java", "src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java", "src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java" ]
[ "site/docs/remote-caching.md", "src/main/java/com/google/devtools/build/lib/remote/RemoteActionContextProvider.java", "src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java", "src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java" ]
[ "src/test/shell/bazel/BUILD", "src/test/shell/bazel/disk_cache_test.sh" ]
diff --git a/site/docs/remote-caching.md b/site/docs/remote-caching.md index 163f1122f2ad69..7a949d9d271b57 100644 --- a/site/docs/remote-caching.md +++ b/site/docs/remote-caching.md @@ -28,6 +28,7 @@ make builds significantly faster. * [Delete content from the remote cache](#delete-content-from-the-remote-cache) ...
diff --git a/src/test/shell/bazel/BUILD b/src/test/shell/bazel/BUILD index f9c51e0e888afb..bfa6d6cd935614 100644 --- a/src/test/shell/bazel/BUILD +++ b/src/test/shell/bazel/BUILD @@ -332,9 +332,9 @@ sh_test( ) sh_test( - name = "local_action_cache_test", + name = "disk_cache_test", size = "small", - s...
train
train
2018-04-30T17:08:13
2018-03-19T10:37:43Z
buchgr
test
bazelbuild/bazel/4870_5119
bazelbuild/bazel
bazelbuild/bazel/4870
bazelbuild/bazel/5119
[ "timestamp(timedelta=3363.0, similarity=0.8716044316966144)" ]
345b5b7ffe48e17ab1e115c4c8df91dcb6094abc
f8cd21f0862cc34710fbf846563c7ccf328f26b5
[ "Actuall there are three options. The one you havn't mentioned: `--experimental_strict_action_env`. Without this options, the local action cache is useless, if the workspace location changed (clone project in two different locations). See also discussion on the #3042, where local action cache was introduced.\r\n\r\...
[]
2018-04-30T15:17:53Z
[ "type: feature request", "P3" ]
improve --experimental_local_disk_cache
Many users like the `--experimental_local_disk_cache` option, but it needs some improvements. - Replace the two options `--experimental_local_disk_cache` and `--experimental_local_disk_cache_path` with one `--local_disk_cache=/path/to/disk/cache`. - Add a `--local_disk_cache_size=SIZE` option to specify an upper bo...
[ "site/docs/remote-caching.md", "src/main/java/com/google/devtools/build/lib/remote/RemoteActionContextProvider.java", "src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java", "src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java" ]
[ "site/docs/remote-caching.md", "src/main/java/com/google/devtools/build/lib/remote/RemoteActionContextProvider.java", "src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java", "src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java" ]
[ "src/test/shell/bazel/BUILD", "src/test/shell/bazel/disk_cache_test.sh" ]
diff --git a/site/docs/remote-caching.md b/site/docs/remote-caching.md index 163f1122f2ad69..7a949d9d271b57 100644 --- a/site/docs/remote-caching.md +++ b/site/docs/remote-caching.md @@ -28,6 +28,7 @@ make builds significantly faster. * [Delete content from the remote cache](#delete-content-from-the-remote-cache) ...
diff --git a/src/test/shell/bazel/BUILD b/src/test/shell/bazel/BUILD index f9c51e0e888afb..bfa6d6cd935614 100644 --- a/src/test/shell/bazel/BUILD +++ b/src/test/shell/bazel/BUILD @@ -332,9 +332,9 @@ sh_test( ) sh_test( - name = "local_action_cache_test", + name = "disk_cache_test", size = "small", - s...
train
train
2018-04-30T17:12:06
2018-03-19T10:37:43Z
buchgr
test
bazelbuild/bazel/4878_4981
bazelbuild/bazel
bazelbuild/bazel/4878
bazelbuild/bazel/4981
[ "timestamp(timedelta=0.0, similarity=0.9055867788501569)" ]
36bac4d8d1883292b81888140244a36cff45944a
da84adb1388e314a102c4ac6d4e03ac422f6cd23
[ "Blocking https://github.com/bazelbuild/bazel/issues/4582", "Can we close this issue or is it still a release blocker for 0.12.0?", "It's no longer a blocker, but it's also not resolved." ]
[]
2018-04-09T13:13:37Z
[ "P3" ]
runfiles,Python: move to //tools/python/runfiles
### Description of the problem / feature request: The language-specific tools should be under `//tools/<language>/<tool>` but the Python-specific runfiles library is currently under `@bazel_tools//tools/runfiles:py-runfiles` (in Bazel 0.12.0 release candidate). See also https://github.com/bazelbuild/bazel/pull/48...
[ "src/tools/runfiles/BUILD", "tools/BUILD", "tools/python/BUILD" ]
[ "src/tools/runfiles/BUILD", "tools/BUILD", "tools/python/BUILD", "tools/python/runfiles/BUILD", "tools/python/runfiles/BUILD.tools" ]
[ "src/test/py/bazel/runfiles_test.py", "src/test/py/bazel/testdata/runfiles_test/bar/BUILD.mock", "src/test/py/bazel/testdata/runfiles_test/bar/bar.py", "src/test/py/bazel/testdata/runfiles_test/foo/BUILD.mock", "src/test/py/bazel/testdata/runfiles_test/foo/foo.py" ]
diff --git a/src/tools/runfiles/BUILD b/src/tools/runfiles/BUILD index 0df3386cad158d..81e156d4b7dc32 100644 --- a/src/tools/runfiles/BUILD +++ b/src/tools/runfiles/BUILD @@ -22,24 +22,11 @@ filegroup( "BUILD.tools", "runfiles.cc", "runfiles.h", - "runfiles.py", "//src/tools/r...
diff --git a/src/test/py/bazel/runfiles_test.py b/src/test/py/bazel/runfiles_test.py index 1a9a6703b2eed3..a348b932f9370b 100644 --- a/src/test/py/bazel/runfiles_test.py +++ b/src/test/py/bazel/runfiles_test.py @@ -74,7 +74,7 @@ def _AssertPythonRunfilesLibraryInBazelToolsRepo(self, family, lang_name): for s, t in...
train
train
2018-04-09T14:30:56
2018-03-20T09:00:12Z
laszlocsomor
test
bazelbuild/bazel/4950_6996
bazelbuild/bazel
bazelbuild/bazel/4950
bazelbuild/bazel/6996
[ "timestamp(timedelta=1.0, similarity=0.8754318251166257)" ]
60bc1e14242cc9bd7c51188cc3d1feb4453efacc
7e2da8f139b5f78fa9ac6b771e472594f4d81404
[ "@laszlocsomor wdyt?", "I think we can add it!", "@excitoon : Would you mind sending a PR with the documentation changes? I'd be happy to review it.", "@laszlocsomor Okay, I just didn't know you have documentation in github as well. I'll make that PR soon.", "Thanks! Yes, the files are under https://github....
[ "Cool! Do you have any information about maintenance as well? E.g. how does one update the package after a Bazel release?\r\n\r\nAlso, do you plan to own this package? If so, could you please add info about that here, so if there are questions about the Scoop package, people know whom to ask?", "ping", "@laszlo...
2018-12-25T19:13:56Z
[ "type: feature request", "type: documentation (cleanup)", "P4", "platform: windows", "area-Windows", "team-OSS" ]
Installation Bazel using Scoop package manager on Windows
### Description of the problem / feature request: Hi. I'm maintaining Bazel Scoop package. Can you add it to this page? https://docs.bazel.build/versions/master/install-windows.html Scoop is Windows package manager, it is like Chocolatey, but it is completely free and more developer-specific (and [more](https...
[ "site/docs/install-windows.md" ]
[ "site/docs/install-windows.md" ]
[]
diff --git a/site/docs/install-windows.md b/site/docs/install-windows.md index f390995a3f3f8f..10dedc3023b10a 100644 --- a/site/docs/install-windows.md +++ b/site/docs/install-windows.md @@ -48,6 +48,7 @@ title: Installing Bazel on Windows ### Other ways to get Bazel * [Install Bazel using the Chocolatey package ...
null
test
train
2019-02-25T14:29:40
2018-04-01T13:18:37Z
excitoon
test
bazelbuild/bazel/4965_5814
bazelbuild/bazel
bazelbuild/bazel/4965
bazelbuild/bazel/5814
[ "timestamp(timedelta=0.0, similarity=0.8774277923163243)" ]
9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30
1381a546cd94d4dbc76bf51471b9c71e94b578fd
[ "Shall we reopen this, since 0e81f9aad49215fe4a13092e64384d9c0ef1ba76 reverted the fix?", "+1 this was surprising to me that it wasn't failing the build", "+1 this still happens in bazel-1.1.0", "Could we re-open this issue? We are hitting it in 3.1.0, and in our case it's definitely signals bugs. Our of de...
[]
2018-08-08T21:47:33Z
[ "type: bug" ]
runfiles conflicts print an ERROR message but don't fail the build
``` $ cat rule.bzl def _will_break(ctx): ctx.actions.write(ctx.outputs.executable, '') other_file = ctx.actions.declare_file('other-file') ctx.actions.write(other_file, '') return struct(runfiles=ctx.runfiles(symlinks={ctx.outputs.executable.short_path: other_file})) will_break = rule( exe...
[ "src/main/java/com/google/devtools/build/lib/analysis/Runfiles.java" ]
[ "src/main/java/com/google/devtools/build/lib/analysis/Runfiles.java" ]
[ "src/test/java/com/google/devtools/build/lib/analysis/RunfilesTest.java", "src/test/java/com/google/devtools/build/lib/skylark/SkylarkRuleImplementationFunctionsTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/Runfiles.java b/src/main/java/com/google/devtools/build/lib/analysis/Runfiles.java index 3c2811eb981a83..70ea2d168bef79 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/Runfiles.java +++ b/src/main/java/com/google/devtools/build/lib/anal...
diff --git a/src/test/java/com/google/devtools/build/lib/analysis/RunfilesTest.java b/src/test/java/com/google/devtools/build/lib/analysis/RunfilesTest.java index 54d215a31f7454..51b54bec83a592 100644 --- a/src/test/java/com/google/devtools/build/lib/analysis/RunfilesTest.java +++ b/src/test/java/com/google/devtools/bu...
train
train
2018-09-03T16:32:05
2018-04-04T21:59:37Z
benjaminp
test
bazelbuild/bazel/4982_7356
bazelbuild/bazel
bazelbuild/bazel/4982
bazelbuild/bazel/7356
[ "timestamp(timedelta=0.0, similarity=0.8541927905712915)" ]
e2e235359ccdc4b6a122586b9d7c99abbddd65f5
9d4e6bed0acc3426a9a12002e59dc8dba926885f
[ "this is an issue with `cc_library` not detecting the `--apple_bitcode` flag and/or the C++ crosstool being incompatible with bitcode", "I've started to take a stab at this https://github.com/bazelbuild/bazel/pull/7356", "This appears to be solved in 0.24.", "Yep! Thanks!", "I am still seeing this issue wit...
[ "Can we keep this if we don't have bitcode? I don't know if this is being relied upon by other folks who need to run install_name_tool.", "Why are you removing this?", "Sure, do you have an example of how we can do that in the crosstool format? ", "I think this case is really only if you want to hide your sym...
2019-02-05T16:40:45Z
[ "type: bug", "P2", "team-Rules-CPP" ]
--apple_bitcode flag ineffective on iOS targets
(originally posted as https://github.com/bazelbuild/rules_apple/issues/163) When creating an `apple_static_library` target like [1] and building this via `bazel build --apple_bitcode=embedded --ios_multi_cpus=arm64 -c opt //:myappletarget` the bitcode is not being included in the actual build causing issues when try...
[ "tools/osx/crosstool/cc_toolchain_config.bzl.tpl" ]
[ "tools/osx/crosstool/cc_toolchain_config.bzl.tpl" ]
[]
diff --git a/tools/osx/crosstool/cc_toolchain_config.bzl.tpl b/tools/osx/crosstool/cc_toolchain_config.bzl.tpl index 2dd5d2ffe7b4be..81bdaac48771b7 100644 --- a/tools/osx/crosstool/cc_toolchain_config.bzl.tpl +++ b/tools/osx/crosstool/cc_toolchain_config.bzl.tpl @@ -3333,7 +3333,6 @@ def _impl(ctx): ...
null
train
train
2019-02-07T06:01:52
2018-04-09T15:09:21Z
th0br0
test
bazelbuild/bazel/5018_6863
bazelbuild/bazel
bazelbuild/bazel/5018
bazelbuild/bazel/6863
[ "timestamp(timedelta=0.0, similarity=0.9201973749546071)" ]
12b96466ee0d6ab83f7d4cd24be110bb5021281d
c4cc3dab44d8ac4b300f012124a64c4fbfc045d1
[]
[ "This is right, but it is confusing. because the implementation is a little too clever. It happens to be that all the allowed file types are of the form .tar.XX where XX is a valid compression.\r\nTo make this more readable, ee should simply have a map of allowed file extensions to the compression method they belon...
2018-12-07T12:46:31Z
[ "type: bug", "P4", "team-Bazel" ]
pkg_tar with extension tgz does not apply gzip compression
### Description of the problem / feature request: `pkg_tar` with the extension `tgz` does not gzip the tar file. Using the extensions `tar.gz` does gzip the tar The [documentation here](https://docs.bazel.build/versions/master/be/pkg.html) indicate `tgz` extensions should apply gzip compressed ### Bugs: wh...
[ "tools/build_defs/pkg/pkg.bzl" ]
[ "tools/build_defs/pkg/pkg.bzl" ]
[]
diff --git a/tools/build_defs/pkg/pkg.bzl b/tools/build_defs/pkg/pkg.bzl index 93ff5daf3e6e38..62cf4d94aee497 100644 --- a/tools/build_defs/pkg/pkg.bzl +++ b/tools/build_defs/pkg/pkg.bzl @@ -92,6 +92,8 @@ def _pkg_tar_impl(ctx): if dotPos > 0: dotPos += 1 args += ["--compression=%s" %...
null
test
train
2018-12-07T12:24:16
2018-04-14T01:44:58Z
dprotaso
test
bazelbuild/bazel/5047_5665
bazelbuild/bazel
bazelbuild/bazel/5047
bazelbuild/bazel/5665
[ "timestamp(timedelta=35.0, similarity=0.856995870885839)" ]
168e7c9b86603f4ccfd372b3de8ac07b2eb6a759
87ad3a8e76a68fb63390bfd1f98e4cb4dccfa900
[ "cc @buchgr @ixdy @rmmh\r\nI've spent a fair bit of time trying to make this reproducible, unsuccesfuly. even digging through [our logs](https://k8s-gubernator.appspot.com/builds/kubernetes-jenkins/pr-logs/directory/pull-kubernetes-bazel-build) most runs are either successful or actual failures, but this happens of...
[]
2018-07-24T20:39:09Z
[ "P1" ]
builds with remote caching sometimes fails on incomplete downloads
### Description of the problem / feature request: Sometimes builds with http remote caching enabled fail with `Failed to delete output files after incomplete download. Cannot continue with local execution.` See EG the logs here: https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/62063/pull-k...
[ "src/main/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCache.java", "src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreActionCache.java" ]
[ "src/main/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCache.java", "src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreActionCache.java" ]
[ "src/test/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCacheTests.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCache.java b/src/main/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCache.java index ef90223d838f9f..66f29c5120166d 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCache.java +++ b/src...
diff --git a/src/test/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCacheTests.java b/src/test/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCacheTests.java index fe4881c4745300..9afa20aae2807c 100644 --- a/src/test/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCacheTests...
train
train
2018-07-24T22:00:06
2018-04-18T20:14:44Z
BenTheElder
test
bazelbuild/bazel/5055_9246
bazelbuild/bazel
bazelbuild/bazel/5055
bazelbuild/bazel/9246
[ "timestamp(timedelta=15149.0, similarity=0.9111177149131282)" ]
7c91751ae799f25522a19306488ada8a0185fb49
b9dfc3a3de17b9972992f1b9e02725000ff8aa75
[ "We've talked about different solutions to this problem in the past, but the easiest solution is to accept multiple rc files (#4502), which will let users keep platform specific flags in the global rc while keeping project specific flags in a workspace rc file. The workspace one can be shared between different plat...
[ "Is this cast safe? Shouldn't it be `(Boolean)` and check for null?", "If you inlined this, you wouldn't need to import Multiset.\r\nAlso, call `containsKey` instead of `keys().contains` -- it's possible that the latter constructs a set and the former doesn't.", "Why make a copy?\r\n\r\n(I realize this is old c...
2019-08-26T13:02:41Z
[ "type: feature request", "P2", "team-OSS" ]
bazelrc: multiplatform support
### Description of the problem / feature request: I'd like to have some mechanism to use platform-specific flags in bazelrc files. ### Feature requests: what underlying problem are you trying to solve with this feature? Motivation is to let checked-in, project-specific bazelrc files work on all platforms. Flag...
[ "src/main/java/com/google/devtools/build/lib/runtime/BlazeOptionHandler.java", "src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java" ]
[ "src/main/java/com/google/devtools/build/lib/runtime/BlazeOptionHandler.java", "src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java" ]
[ "src/test/java/com/google/devtools/build/lib/runtime/BlazeOptionHandlerTest.java" ]
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeOptionHandler.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeOptionHandler.java index 9944a75537cb43..7ec11cfde637c3 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeOptionHandler.java +++ b/src/main/java/com/goo...
diff --git a/src/test/java/com/google/devtools/build/lib/runtime/BlazeOptionHandlerTest.java b/src/test/java/com/google/devtools/build/lib/runtime/BlazeOptionHandlerTest.java index 21726009d0e842..f6e434d8e018b5 100644 --- a/src/test/java/com/google/devtools/build/lib/runtime/BlazeOptionHandlerTest.java +++ b/src/test/...
train
train
2019-08-26T14:49:21
2018-04-19T12:46:49Z
laszlocsomor
test
bazelbuild/bazel/5178_8975
bazelbuild/bazel
bazelbuild/bazel/5178
bazelbuild/bazel/8975
[ "timestamp(timedelta=0.0, similarity=0.8726004225422561)" ]
d115133e2e11e03c7db6a596f1094fe8895845f3
a9892800700ded2de3fea126aff3de9c54b4d91c
[ "In addition, if the Xcode is not installed, Bazel could work well. A same issue occurred before, and I just uninstalled the Xcode, and then it could work.", "Are you using VSCode by any chance? ", "@sergiocampama Yeap. Anything to do with it?", "Check out https://github.com/bazelbuild/bazel/issues/4603, it h...
[]
2019-07-24T22:31:30Z
[ "P4", "category: rules > ObjC / iOS / J2ObjC", "z-team-Apple" ]
Compatibility with Xcode and Command Line Developer Tools on macOS
### Description of the problem / feature request: As you know, `xcode-select` is used to select the developer directory on macOS. Both Xcode and Command Line Developer Tools are installed in my Mac. Due to the reason that the compiler Xcode provides seems not to support the OpenMP, I need to switch to the Command Li...
[ "tools/osx/xcode_configure.bzl" ]
[ "tools/osx/xcode_configure.bzl" ]
[]
diff --git a/tools/osx/xcode_configure.bzl b/tools/osx/xcode_configure.bzl index 566b513031f7fc..764f07dd65f971 100644 --- a/tools/osx/xcode_configure.bzl +++ b/tools/osx/xcode_configure.bzl @@ -186,20 +186,6 @@ def _darwin_build_file(repository_ctx): _EXECUTE_TIMEOUT, ) - # "xcodebuild -version" fai...
null
val
train
2020-02-25T22:53:29
2018-05-09T07:52:58Z
shiltian
test