Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/oppia/bazel

a fast, scalable, multi-language and extensible build system
https://github.com/oppia/bazel

Rename bazel_{experimental_,}ui_test.sh

Cleanup to fix the last mention of the old --experimental_ui flag.

PiperOrigin-RevId: 262305125

455f5946292c8cd5eda0438ee8307bd303dc26e6 authored over 5 years ago
Fix Android builds with aapt2 on Windows, part 1

Error messages: https://github.com/bazelbuild/bazel/issues/9102#issuecomment-519171351

Closes #...

fcfe560386811507132e021769cf3b46ed1c86a4 authored over 5 years ago
Load built-in annotation processors from JavaBuilder

instead of from the processor classpath.

PiperOrigin-RevId: 262236451

00e9d16d69b191bdfdc32bfd6b2bed203e5af844 authored over 5 years ago
Allows Stardoc to document the providers a rule attribute requires

PiperOrigin-RevId: 262222091

858412781d76b7d27c39dc58b7f24cf645bdf035 authored over 5 years ago
Remove output format flag in Skydoc binary

Depends on CL/259742715 to be submitted.

RELNOTES: None.
PiperOrigin-RevId: 262218030

bd2db39e67fe35ec6992fd0b29fecfdfb37eb946 authored over 5 years ago
Update io_bazel_skydoc dependency to HEAD

RELNOTES: None.
PiperOrigin-RevId: 262210579

a7b90983bcd7a7a393da6c36cd8f13768c313730 authored over 5 years ago
Build setting rules shouldn't be able to use toolchain resolution.

They are part of the configuration, this would lead to cycles.

Fixes #9099.

Closes #9107.

Pip...

a6e3e875c55b1a6d101c79ee5d171a96edb0caa6 authored over 5 years ago
Rename the default target and host platforms for tests.

Closes #9098.

PiperOrigin-RevId: 262175466

13dc4f7d10b4f70a2c2ff9fe068e9c2e73f20dbc authored over 5 years ago
Correcting a header from "size" to "timeout".

PiperOrigin-RevId: 262175400

a9e2d0ba10fd63da2c01331bb07c9648e6fcd2e2 authored over 5 years ago
Log if attempting to rewind a lost source file input

There's nothing to rewind if the lost input is a source file. If this
occurs then there's a bug ...

8f0b7826b90f649b524000cb1d756430143c257c authored over 5 years ago
Implement resolved repository event for @local_config_platform.

Part of work on #7081 and 6849.

Closes #9049.

PiperOrigin-RevId: 262153483

e9dfdc510c7d6f0c853e0baad2a10987f47b3f6a authored over 5 years ago
Delete tests for deprecated java_common.create_provider API.

RELNOTES: None.
PiperOrigin-RevId: 262151073

1a4e53af93e8fe519a940fe68896bb8e43975ac3 authored over 5 years ago
Merge Objective-C proto generation into a single action and prevent the generation actions from being registered if there are no protos to compile.

The inputs->outputs map is not useful any more since all proto compilation actions have been usi...

6958cffeb9914b3de2828064ac3855c8be72e519 authored over 5 years ago
Fix compatibility with --incompatible_disallow_empty_glob

Closes #9094.

PiperOrigin-RevId: 262146841

79c40aa0e8f29201d1c0d65beefe0f1c2041f696 authored over 5 years ago
Rename cc toolchain's "isHost" concept to include tools as well.

Part of #7935.

PiperOrigin-RevId: 262132230

320e45abe7bb12b954cb6e4566084bdbd45985eb authored over 5 years ago
flipped a flag 'incompatible_tls_enabled_removed'

Set `--incompatible_tls_enabled_removed` to true by default.

RELNOTES: by default all remote co...

d2de8ee925710b757a637bc8ad1036546a030756 authored over 5 years ago
Bazel client: remove StartupFlag class hierarchy

It's simpler and faster to use strings.

PiperOrigin-RevId: 262122410

a300ae8459b4db843695b8d9e5196e12439813e0 authored over 5 years ago
Flags: warn for duplicate --bazelrc flag

If multiple --bazelrc flags are given, Bazel only
uses the first one.

This commit adds a warnin...

392f24a119eed9edcb0b23aecb876f731ed3ef91 authored over 5 years ago
external.md: remove unjustified recommendation

There is no real advantage in using build_file_content over using
a build_file argument pointing...

d5d148835c517b5dd0b5cdd0432d06f5fa316df3 authored over 5 years ago
Automated rollback of commit b98ad776b4d79f41e59631ddf7e1e135f8566df5.

*** Reason for rollback ***

Broke Android build on Windows
https://github.com/bazelbuild/bazel/...

5d0dde0745a5f804aac1c52542f1ae91417d7e77 authored over 5 years ago
Store the total number of runs per test

Instead of recomputing the runs per test everywhere it's needed, compute
it once and store it in...

55851692b4a6d47fe6f5d5fe78455174271bc0fe authored over 5 years ago
Clear marker file on repository override

Bazel internally uses a marker file to check if the definition
of an external repository has cha...

5ce60ff1e02ead0618808237f01b8a343bd93679 authored over 5 years ago
[protobuf] Load C++,Java,Protobuf rules from Starlark

Cherry-pick of: protocolbuffers/protobuf#6432 and protocolbuffers/protobuf#6445

deeeba3fc8003cbbcc73e04f14fc5b5275e72e5d authored over 5 years ago
Refactor ParallelVisitor to support generic exceptions.

Fixes a type-unsafety bug in the declaration of
UnfilteredSkyKeyTTVDTCVisitor.Factory and its us...

ec7084d91ae2ac20102729e13d6f1e2ad442f81d authored over 5 years ago
Fix documentation for "crunch_png" attribute.

There is no "android_resources" rule anymore, and the documentation never
explained what the tru...

cf0c1800fda2de7123e7d61f35104331bd36cb6e authored over 5 years ago
Fix misspelling.

R_FUTURE=cparsons
CC=blaze-firehose+cl
DELTA=4 (0 added, 0 deleted, 4 changed)
DELTA_BY_EXTENSIO...

19335c823c3459d9d58891804f96cb5c5b189c5c authored over 5 years ago
Add aspect template to input template test

PiperOrigin-RevId: 261993314

5609f8b28326c5df64b2b680b472d890f700454f authored over 5 years ago
Remove AndroidConfiguration.throwOnResourceConflict()

PiperOrigin-RevId: 261981098

bf0aa1f648512b2a16920de087cee987c22c9b67 authored over 5 years ago
Add option flag to note which configurations are execution configurations.

Part of #7935.

PiperOrigin-RevId: 261980112

3a879281507497dfbad1dda0051368a36f6e0e2b authored over 5 years ago
Expose configuration checksum along with subcommand owner info.

PiperOrigin-RevId: 261979675

57b39994c07acac629cdf3f0f446288ed8cc554f authored over 5 years ago
Remove experimental warning from TemplateVariableInfo.

Fixes #8358.

Closes #8822.

PiperOrigin-RevId: 261976628

ae2c58f6552558ec6f82f76ffd8e25a4cb6651fb authored over 5 years ago
Add missing space.

R_FUTURE=cparsons
RELNOTES: None.
PiperOrigin-RevId: 261970741

7e86f5c4403ce373910910a91e44918a302109ba authored over 5 years ago
[RPBB] Output the map file as produced by aapt2-optimize when resource path shortening is enabled.

PiperOrigin-RevId: 261967685

0cb18dc782a199af6492df9be740f8fdb45061a9 authored over 5 years ago
Add rules_java load statements.

Partial commit for third_party/*, see #9092.

Signed-off-by: iirina <[email protected]>

a8353612b4791531ae4e2ed463cf0e5d8a4009e8 authored over 5 years ago
removed --incompatible_list_based_execution_strategy flag

removed a flag and the related code.

Part of #8970

Closes #9077.

PiperOrigin-RevId: 261911823

084afff4edd18ea3dfb4a0ecebf6240d4688b860 authored over 5 years ago
Allow multiple --override_repository

...using the usual latest-wins semantics.

As the builder for immutable maps does not allow keys...

c6299ce2ebcc30508102c3c5d8c36d34b83fc14a authored over 5 years ago
Windows: do not run winsdk_configure on Linux

Fixes https://github.com/bazelbuild/bazel/issues/9089

Closes #9090.

PiperOrigin-RevId: 261894456

fc97774c5279416072e09dbc43d7dfc775d1b4f4 authored over 5 years ago
Fix incorrect stdout/stderr in remote action cache. Fixes #9072

Commit a6b5b0540 introduced a bug where the stdout/test.log of
an action was incorrectly added a...

b7d300c6be3e130dec0e62a4f19493105f595d57 authored over 5 years ago
Remove --[no]incompatible_windows_escape_python_args

The flag was flipped in Bazel 0.27.0.

Removing the flag, the code path for "false"
value, and t...

47d0173cc92f5544c0cca718a1f393a01fc863e9 authored over 5 years ago
Fix some tests in preparation for --incompatible_load_proto_rules_from_bzl

Closes #9002.

PiperOrigin-RevId: 261874957

cb44f6618e8f5bd900069ed9bfefc222bdbe0afa authored over 5 years ago
Automated rollback of commit be26ba030319cf1cda44649d94d7beee4ccc86c4.

*** Reason for rollback ***

It was not the culprit

*** Original change description ***

Automa...

59b989e8c143169e2b3a5ee7539d8624b338e816 authored over 5 years ago
Switch CollectTestSuitesInPackageValue.Key to be implemented using AbstractSkyKey rather than @AutoValue.

RELNOTES: None
PiperOrigin-RevId: 261794842

e67d14e736d49c0bc8dfcc9103eccf12dca946fe authored over 5 years ago
Delete OutputFormatter's Converter and OutputType enum

AFAICT these aren't used...

RELNOTES: None
PiperOrigin-RevId: 261794175

99433f1a73ff1a200d116640bf69f0cf5d06f476 authored over 5 years ago
Make cquery 'labels' function work for all attribute types.

Also stop crashing on non-label types.

PiperOrigin-RevId: 261790909

62dc05dede3edf06563b604931e4f56b6bc97a9b authored over 5 years ago
Always report top-level target configs to BEP.

RELNOTES: None
PiperOrigin-RevId: 261780623

392e3e42b874c0ee9de29facba75fca76f7d8333 authored over 5 years ago
Update documentation for exec_properties

RELNOTES: None
PiperOrigin-RevId: 261713690

c384e7c2d951a9d6d6fda18d374b8b173a8ffe28 authored over 5 years ago
Fix "assuumes" typo

PiperOrigin-RevId: 261712041

d3a301384dc315d390c2e17e3eb4b2a95cd1ef51 authored over 5 years ago
Remove the old backward-compatibility.md page

RELNOTES: None.
PiperOrigin-RevId: 261707901

c1b91ac383d71091baea506e17100948b8382d96 authored over 5 years ago
Fallback to next urls if download fails in HttpDownloader

Fixes #8974.

`HttpDownloader` never retried `IOException` that could have occurred during `Byte...

14651cd86b6fc1d48f56a208a9b5278b3e2dcf75 authored over 5 years ago
Implement java_toolchain.header_compiler_builtin_processors

PiperOrigin-RevId: 261701270

05c967ffa680ea1a2dd1d28834fbf75f9048f8d3 authored over 5 years ago
Automated rollback of commit a6b5b0540a0167f84437127d3dd6cef804286d6f.

*** Reason for rollback ***

Probably the culprit that broke Windows builds with remote caching:...

be26ba030319cf1cda44649d94d7beee4ccc86c4 authored over 5 years ago
Define static host and target platforms for tests.

Part of work on #6849.

Closes #9064.

PiperOrigin-RevId: 261700725

9b6867bc102fc88f680a0942f989676e35032099 authored over 5 years ago
config_setting supports multiple values for multi-valued flags.

This is inspired by the case of --ios_multi_cpus (for Apple rules).
You can call "blaze build --...

a2f96fe95ca30bbdd923a441cf2ccdae11715ef9 authored over 5 years ago
Move call to setup platform mocks to AnalysisMock.

Platform mocks shouldn't be specific to cc tests.

Closes #9063.

PiperOrigin-RevId: 261697148

f3c9b9d08d84c2f4442cfe4b77d09230a648ebfb authored over 5 years ago
Remove unused reference to pkg_tar from //third_party/ijar.

See https://github.com/bazelbuild/bazel/pull/9005

RELNOTES: None
PiperOrigin-RevId: 261691197

6070f9b89ae58cc2cd3a6ece2d6661dc62bd9d24 authored over 5 years ago
update docs to reflect new default "python_version"

Since [0.25.0](https://github.com/bazelbuild/bazel/blob/master/CHANGELOG.md#release-0250-2019-05...

42136e1d931722e87377da6a403c34730f21e346 authored over 5 years ago
Fix retrying of SocketTimeoutExceptions in HttpConnector

As part of investigation of #8974 I found that recent change 982e0b8398ea26ce1f5323b9e928990ae88...

338829f2633e91ae0492ee4169446465e10b5994 authored over 5 years ago
Flip --incompatible_disallow_unverified_http_downloads to default to true

As discussed in #8607, downloading files over plain http without reasonable
verification afterwa...

299655ee2600874667fa9e21e6d1e598bb011b56 authored over 5 years ago
Refactor documentation for genrule

Related #7503

RELNOTES[NEW]: Genrule now supports `cmd_bash`, `cmd_ps`, `cmd_bat` attributes. M...

3ff4e21d29b62fc05f3fe593c574ae09bf021461 authored over 5 years ago
//src/test/py/bazel:bazel_external_repository_test allow plain http download from 127.0.0.1

The loopback device is usually safe against man-in-the-middle attacks,
so allow these downloads ...

9eac802238b32c41446dc8355ee48d6b1d0c6d9a authored over 5 years ago
Update FilesystemValueCheckerTest to use a TimestampGranularityMonitor and to test for cases when the file size does not change.

RELNOTES: None.
PiperOrigin-RevId: 261649236

41cfcc7477636557dc3e06a1f346d08d9b97ee53 authored over 5 years ago
Automated rollback of commit 0f0a0d58725603cf2f1c175963360b525718a195.

*** Reason for rollback ***

Breaks some Google-internal targets.

*** Original change descripti...

960217631abdcab0a7ed95e2ab10acd55f636639 authored over 5 years ago
Add convention for location of standard runfiles library.

hlopko@ approved this suggested convention before he left. It's consistent with what we already ...

bd4ca0b95ff9e8c5d6c9c3741e0d4d5131df5cfa authored over 5 years ago
Make --subcommands and --verbose_failures imply --materialize_param_files.

CL/201225566 promised to do this, but for whatever reason it was never implemented.

RELNOTES: M...

b5a727adf655a21f094194dd8b87338092e9cd5d authored over 5 years ago
Default Bazel to use aapt2 and fix native tests to use aapt2.

This CL sets --incompatible_use_aapt2_by_default=true and --android_aapt=aapt2. It also adds aap...

b98ad776b4d79f41e59631ddf7e1e135f8566df5 authored over 5 years ago
Remove Renderer-java dependency on default vm templates.

RELNOTES: None.
PiperOrigin-RevId: 261400252

4cf756c88d7558175d8afb38c3dc507a1323d58b authored over 5 years ago
Fix InterfaceDesguar Comment Typos.

PiperOrigin-RevId: 261393991

c577d4215ad7cd4c0970ee658c8631c3234a87ce authored over 5 years ago
Create java_toolchain.header_compiler_builtin_processors

PiperOrigin-RevId: 261372524

5b2d22b48cd58a9259ad3cd0ae24080696c5736c authored over 5 years ago
Don't special-case caffeine in JavaBuilder's annotation processor classloader

the class prefixes here are things that error prone plugins need to be
able to load from JavaBui...

ec6665325be471148eed2044642bf7c284cc4438 authored over 5 years ago
Automated rollback of commit af7fc3b75a62edc3b4b62de25b733b03c3ff925e.

*** Reason for rollback ***

See http://b/138789815#comment1 for motivation and plan.

*** Origi...

aaff22cadcb59f5497b9a84879ca2ca2a3b1323b authored over 5 years ago
Automated rollback of commit 956940755a19823b2b12b91ef7f9d9dddc5424cb.

PiperOrigin-RevId: 261338193

7ed66f7a31bf5c174f05c295c07fe90cc2aaf2b9 authored over 5 years ago
Automated rollback of commit 2d5b9f35a859bbeec4df66fc6c2256db299dd56a.

*** Reason for rollback ***

http://b/138789815#comment19

*** Original change description ***

...

bbf6473dcb52cbb1af649807f0a61779a896cbb5 authored over 5 years ago
Implement FileArtifactValue#equals() properly and make #couldBeModifiedSince() a bit more readable.

RELNOTES: None.
PiperOrigin-RevId: 261325544

a2bd6ac07030c442cd832976359dc203def0fdce authored over 5 years ago
Add a BigIntegerCodec.

RELNOTES: None
PiperOrigin-RevId: 261324806

fb1f1b98792be9e49f75e5444a6a9350a58993bd authored over 5 years ago
Fix git_repository rule to support fetching a commit on a tag

- specified commit may only be present on a tag, not on any branch
- use the verbose references ...

2c046486f5febb9e475a5589b59abae77f14245e authored over 5 years ago
Fix typo in documentation navbar.

Additional fix for #9056.

RELNOTES: None.
PiperOrigin-RevId: 261315062

283a1c6e23ebb9e74111825d334f5a72b9fec8ce authored over 5 years ago
Add a flag that makes two Starlark functions equal if they are defined at the same location.

This flag, when set, mostly reverts https://github.com/bazelbuild/bazel/commit/af7fc3b75a62edc3b...

2d5b9f35a859bbeec4df66fc6c2256db299dd56a authored over 5 years ago
Do not assert that all TreeFileArtifacts have RegularFileValues.

This apparently happens for the root directory of TreeArtifacts on OS X for some odd reason.

Fi...

6c5ef5369a3ffceb8a65cc159a2fff1401242810 authored over 5 years ago
Only add "Updating Bazel" link on master or > 0.28 docs.

Fixes #9056.

Closes #9057.

PiperOrigin-RevId: 261295420

5f2b55224d7ee04d72208d9e297198ef8232f93b authored over 5 years ago
Streamline uploading of stdout and stderr

This change removes extra upload logic for stdout/stderr. Besides
the streamlined code this also...

a6b5b0540a0167f84437127d3dd6cef804286d6f authored over 5 years ago
Make PackagedResources an @AutoValue.

RELNOTES: None.
PiperOrigin-RevId: 261260032

09ec89352c77f442109b779ef8735fa11f91bc4f authored over 5 years ago
Add option --break_build_on_parallel_dex2oat_failure.

Right now dex2oat action failures are not treated as such, instead the action
always succeeds an...

7b7d5b9b101d37ea6f9690ca8494b14876c5f00b authored over 5 years ago
Set "-source 7 -target 7" on DexBuilder tests so they don't contain Java 8+

features, so that the jar can be dexed within the test. Fixes #8863.

RELNOTES: None.
PiperOrigin...

605acc4da43cc4a84827e6a45cc922e904151dde authored over 5 years ago
Introduce flag for forcing Python rules to be loaded from rules_python

This introduces --incompatible_load_python_rules_from_bzl`, in the style of analogous rules for ...

1df6d77a399ba520c2991edd1fbec8e050629ed9 authored over 5 years ago
Update Python docs and messages to refer to @rules_python

This replaces some uses of @bazel_tools//tools/python/... in user-visible strings with the appro...

e4ccba45376f74d24ce3506fb4057e1268f01a59 authored over 5 years ago
Convert the bootstrap system to using improved host platform detection.

Part of #6849.

Closes #9051.

PiperOrigin-RevId: 261196683

00f8d65c36bab4199ca006ded2a0fa055f39f6a9 authored over 5 years ago
Add the flag "--experimental_filter_library_jar_with_program_jar" to filter ProGuard library_jar to exclude classes that are also present in the input_jar.

RELNOTES: None.
PiperOrigin-RevId: 261195081

d433a5f3cf2a175631ace4dc1166225dbe69a11f authored over 5 years ago
Added tests for config_setting, constraint_value, and alias.

Closes #9030.

PiperOrigin-RevId: 261187493

23403eca35c026fc5ef7baf8a78e1e9198e72fc1 authored over 5 years ago
Add load() statements for Python rules in third_party/

This replaces all direct uses of the native Python rules underneath the
third_party/ directory w...

02900a6b1e86fd62daf46b42ce63311e87bce3f5 authored over 5 years ago
Add third_party/rules_python to WORKSPACE as @rules_python

These will be used by third_party/protobuf in a follow-up.

Also update a test that uses protobu...

cb4ba07b2893b8439cdf6f088c87da9f9520c8ca authored over 5 years ago
Get ActionAnalysisMetadata in a simpler, more efficient manner.

Instead of checking whether it's an action or a template and calling the corresponding method, w...

2714b8867a508147101377dfc9a7e7619c617f42 authored over 5 years ago
Fix even more fallout of https://github.com/bazelbuild/bazel/commit/f7eee1edc1f8dfc6d436894db2eb672bb11bc962 .

RELNOTES: None.
PiperOrigin-RevId: 261161639

90a55a994b5f5ae5ad928052ed77351055c28945 authored over 5 years ago
C++: Adds source extension for match_clif.bzl

Test is in https://github.com/bazelbuild/bazel/blob/f225af1f48f1adf33e45b6d2511c21093ba164bd/src...

574153b1390d6d88bd292e67b4b2527f54e2d131 authored over 5 years ago
Reject hashing of frozen mutable types

Related: #7800

Closes #8980.

PiperOrigin-RevId: 261150154

06c420d2a37f35755eadca1e9894a08b772a9c64 authored over 5 years ago
Add stub @rules_python to third_party/

This stub contains only one relevant file, @rules_python//python:defs.bzl,
which mimics the file...

473e429c1498bef8c3eacc2bc1dfd71491f29455 authored over 5 years ago
Fix the fallout of https://github.com/bazelbuild/bazel/commit/f7eee1edc1f8dfc6d436894db2eb672bb11bc962 .

I did not notice the second call site of #shouldCheckFile() and neither did our
presubmit tests....

c63bafa8af4f35dc0a47e54826d623270101f16f authored over 5 years ago
Remove a factory method from FileArtifactValue and designate another one as testing-only.

RELNOTES: None.
PiperOrigin-RevId: 261106674

96ab67355195d257b91ad1f639752021260c5e37 authored over 5 years ago
Windows: Starlark rule to compile resource files

cc_binary can depend on the rule. The compiler
resources are linked into the binary.

TODO(@lasz...

3e0231827a7e3e33de30829a7c3108e17cb2d155 authored over 5 years ago
Remove FileArtifactValue#injectDigestForTesting().

Instead, use the exact same logic for testing as for production: ActionMetadataHandler#fileArtif...

f225af1f48f1adf33e45b6d2511c21093ba164bd authored over 5 years ago
Add cmd_bash, cmd_ps, cmd_bat attributes to genrule

Based on https://github.com/bazelbuild/bazel/pull/9022

Users now can use Batch or Powershell co...

d3bacfba3efef386bba80d7ff16c12c486165c4e authored over 5 years ago