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

Fix crash when test_suite includes test in broken package, with -k

In --keep_going mode, Bazel would crash if a test_suite rule referred to
a test in another packa...

ef7622dfa426e1fd3ae01f950084c0d42647eba6 authored over 5 years ago
C++: Create interface library for cc_common.link on Windows

Fixes #9133

RELNOTES:none
PiperOrigin-RevId: 264831553

2fc273732fdb4cbfd89962901ad9e738407d111e authored over 5 years ago
ci: Reverts to using += for setting the files var

The read expression collected only the last test file. Reverts back to
the previous version of t...

d96e1cdbe71d117f76e55c668bb4a0f976bf0bc0 authored over 5 years ago
Put the removal of the legacy repository-relative proto path behind the --incompatible_generated_protos_in_virtual_imports flag.

Fixes #9219.

*now* this sounds like more of an atonement for my sins...

RELNOTES: None.
PiperO...

067040d7bcb3b24a88432e210a96adacee3f37b4 authored over 5 years ago
Fix PatchUtil for parsing special patch format

`diff` generate incomplete header for adding or removing one line file.
Eg.
"""
--- foo
+++ bar
...

644060b7a4bc98384b66e3d2343b950b875b5e35 authored over 5 years ago
Fix a couple of bugs in[]

RELNOTES: None.
PiperOrigin-RevId: 264686574

80c8052fa443e08a05a64072659b483410f2f072 authored over 5 years ago
Make the module docstring available to the header.vm context

The default header output template will remain untouched for now, but custom header templates ca...

5faf9525ff1a9f3127139c8f5f5db3e2eb1481fe authored over 5 years ago
Enable the flag incompatible_disallow_hashing_frozen_mutables

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

RELNOTES: The flag incompatible_disallow_...

f01b86301976fb1f28fd1a671e015d9343cbc85c authored over 5 years ago
Move some of the Build Encyclopedia documentation to a separate page

Build Encyclopedia is a page that is hard to maintain and update. It is partially generated and ...

a28512b75ffe1bcf86602a9f8daaee3805a73a46 authored over 5 years ago
Update Starlark args performance docs with args.add[_all]("--foo", ...).

Specifically it might be useful for people to know that empty depsets result it nothing being ad...

4648d86fbdc09d3d5f0c52f8bf988550b7a36343 authored over 5 years ago
Create proto file containing server metadata on server startup

This is a combination of all of the other server files (except commandline).
Meant to be used wi...

b7f5605d0634b8e571665bfb5c407f091e1ac4a4 authored over 5 years ago
Add missing generic type parameter.

It's currently causing a compiler warning.

RELNOTES: None
PiperOrigin-RevId: 264621376

447e0f1aedb1d83feba2298b1e251b4e34ed9a70 authored over 5 years ago
Use OsPathPolicy instead of branching on OS

Instead of branching on the current OS, use the
OsPathPolicy to compare and hash repository name...

56f38c3dc42ca510ee4821b639e7d0a3b9a6dda4 authored over 5 years ago
Add missing loads for @rules_proto in //third_party

Partial commit for third_party/*, see #9201.

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

e04579292f8e4db0adecd55a5ab1c8130c3eec6e authored over 5 years ago
fix a typo.

Closes #9214.

PiperOrigin-RevId: 264605131

28fe62e046fbf14170005052045d48871275931f authored over 5 years ago
Add sandbox_add_mount_pair support to docker sandbox

The flag --sandbox_add_mount_pair allows multiple 'source:target' pairs to be
added to the Linux...

850a301b173ce12f0f3f20a0d303efb22add9d18 authored over 5 years ago
Remove contains() and containsActionResult from SimpleBlobStore

contains() and containsActionResult() only make sense for the OnDiskBlobStore
because they can b...

5fc91a75082d5015654160d43c168e5eb74fe2ae authored over 5 years ago
Revert back to the old behavior of not creating a proto source root for generated .proto files.

It was meant to be a compatible change, but alas, people seemed to depend on
the exact layout of...

209175ff8ffeb05628ed8a187dd414a3d2935c55 authored over 5 years ago
renamed 'incompatible_allow_tags_propagation' to 'experimental_..'

renamed `--incompatible_allow_tags_propagation` to `--experimental_allow_tags_propagation`

RELN...

7e83721d6bd30d83252488d4164bb871bd356223 authored over 5 years ago
Pull upload(ActionResult) into super class.

Remove the custom upload(ActionResult) implementations from SimpleBlobStoreActionCache and GrpcR...

12ebb84a7645baffdbaf9f40cbfcec996a540ffe authored over 5 years ago
Remove deprecated java_common.create_provider and JavaInfo() legacy args

as part of removing the code for --incompatible_disallow_legacy_javainfo.

See #5821.

RELNOTES:...

6e4f9e459e7a39f2d00f493596f7bfb4451abef1 authored over 5 years ago
Docs: edit section on .bazelrc files

Improve the structure and wording of the .bazelrc
file documentation:
- use bullet points more (...

31fb25dedb7dabf9ba31f6fc58246c924217140a authored over 5 years ago
Menu: group BUILD file documentation; move tutorials to language sections

RELNOTES: None.
PiperOrigin-RevId: 264543461

5cb7cca82ba2f70cf0c7710f9365342ce60e90b5 authored over 5 years ago
Naively replace usages of HashMultimap, HashMap and HashSet with LinkedHashMultimap LinkedHashMap and LinkedHashSet respectively to guarantee iteration order in the Android build tools. This should reduce non-determinism in builds.

PiperOrigin-RevId: 264490674

c0f8071a7654336f50192af04274de897ff88a5a authored over 5 years ago
Initial checkin of exec-server command

This command is still a work in progress, is not documented, and is not
officially supported - d...

fc0e9059152b3f5f378f482599b7c904a0f8155a authored over 5 years ago
new_local_repository: mention local_repository in the documentation

Closes #9050

Change-Id: I5aedceed913d8208c48535caad76af9433286a76
PiperOrigin-RevId: 264441799

b6c515749f6384d4223f670da56a96f39e07e8fb authored over 5 years ago
Automated rollback of commit e709862760b00ced43bb3d0b2e0d9ae46be91532.

*** Reason for rollback ***

Can cause blaze to hang during analysis

RELNOTES: None.
PiperOrigi...

dc88544f307bc9d1dd0824b97004af3cc1864f4a authored over 5 years ago
repository mapping for toolchains: rename in aspects as well

Bazel supports remapping of repositories. For toolchains, this
renaming is done at a syntactical...

7bdb12ba00f6aa1922a1759fd8ee3ffb7dceb5a3 authored over 5 years ago
Flip --incompatible_use_native_patch to true

Fixes: https://github.com/bazelbuild/bazel/issues/8316
Closes: https://github.com/bazelbuild/baz...

d1acbd8869f9371c5a9c17c6bdfae7a453671092 authored over 5 years ago
Clear COMPREPLY if there are no completions

Checks COMPREPLY after filling it to reset it to () if it only contains a null entry, allowing f...

ea6d12fc42ab6528c380f0f6ee1a00111576e50d authored over 5 years ago
Enable resource path shortening only if "-c opt" is used.

PiperOrigin-RevId: 264265136

18391f8f46d8e05998ab3e6423bf2f125ac8b243 authored over 5 years ago
Adds application_resources to android_binary to allow injecting the resource apk to

merge into the final apk, instead of generating it within the rule. Do not use this attribute: it...

0961225b606d979b12d10a6b3302f1d669f3c9e5 authored over 5 years ago
Optimize int and string comparison

Since comparison is almost always done on integers and strings,
it's worth to do special handlin...

5f7515d9f1796a57d62b23467249a05d0176d891 authored over 5 years ago
Allow enumerate, join, extend functions to accept dicts

Fixes: #9084

Closes #9179.

PiperOrigin-RevId: 264172390

4863ab10d012bebbbbf453c688caf4571bda6ab9 authored over 5 years ago
Fix Java tests in preparation for --incompatible_load_proto_rules_from_bzl

Closes #9140.

PiperOrigin-RevId: 264170421

26519706d4ad2d08f20612b7e0de0d3fc8643d81 authored over 5 years ago
Replace a HashMap with a LinkedHashMap for more deterministic behavior

Helps some ResourceProcessorBusyBox (used by Bazel `android_library` rule) operations consistent...

9b20c22caaeb50a27402f4ef90b562a130dc6abf authored over 5 years ago
Windows: Ignore workspace name differences while doing header checking

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

Closes #9188.

PiperOrigin-RevId: 264146358

0b081d8593d9eeb4e31aceed0b066ce4482ece49 authored over 5 years ago
Remove worker log by default

This hash change log doesn't seem actionable by the user, so we might as
well only enable it for...

d1e9ef95ad6b43bb20857b0cca4633380c9b63bb authored over 5 years ago
Flip --incompatible_disable_nocopts

Fixes #8546

RELNOTES: The --incompatible_disable_nocopts flag has been flipped. See https://git...

8b840e18c424b7dc9971fb163bb07f7ac33ff2a1 authored over 5 years ago
Rename error propagating middlemen to "scheduling dependency".

This conveys much better what they are about. Also add a comment that explains what they are for...

63409e8f9e2a939f1f0eaea01067728f496be025 authored over 5 years ago
fix typos in skylark/config.md

Closes #9178.

PiperOrigin-RevId: 263887207

d570771d38937984940ed9af7edfc493503e6cf7 authored over 5 years ago
Stop rewriting invalid resource qualifiers when building with AAPT2

This makes good on the "This will be an error in the future." warning.

The rewriting for AAPT1 ...

9cdb819989f50b51a3e79a07f6c7ca9fcca02203 authored over 5 years ago
Add "android_resources_strict_deps" feature

This feature causes transitive dependencies to be omitted when generating R
classes to reduce th...

fa769d1096e23654fcaae85036f46d95921bde1f authored over 5 years ago
Improve performance of string methods count and split

The following 2 benchmark results show the performance improvements of this change:

- `string.c...

d62f8924627c4fc7bcde349a941f0fb533d7c6ab authored over 5 years ago
Remove some inherited members in AbstractUnorderedOutputFormatter

AspectResolver and DependencyFilter were only used in a few subclasses, so just declare
and trac...

09f4a8d7c91dccdb7673d2c3f5fc3c4673fb8187 authored over 5 years ago
Change output path of the resource path shortening map.

Removing the _files/ subdirectory from the path.
Before: {apk_basename}_files/resource_path_shor...

d27ed25a2d3664b90cc113daf4c61127dd56dcef authored over 5 years ago
Deprecate --dynamic_worker_strategy in favor of --dynamic_local_strategy.

--dynamic_local_strategy now allows users to specify an ordered list of strategies. When not set...

f7a9a4ec11544472713aa3a70af8840ece29d592 authored over 5 years ago
Enable and remove the flag for --incompatible_restrict_attribute_names

RELNOTES: incompatible_restrict_attribute_names is enabled (https://github.com/bazelbuild/bazel/...

0fddb3098279494a8197d40efbee423c47d4f0db authored over 5 years ago
Lift individual OutputFormatters and helper classes into their own files

OutputFormatter's actual interface is rather simple, but it's difficult to find
with all of its ...

048d62f34bff09fefaf69695565034f4dcca1bb2 authored over 5 years ago
Add "annotate_r_fields_from_transitive_deps" feature for enabling a flag with

the same name in ResourceProcessorBusyBox.

Making this a feature (rather than a command-line fla...

c4830bbcfc9d04113cc857b017339b1754ba490c authored over 5 years ago
Cleanup shell integration tests: `local -r` works, `local readonly` does not.

Unlike `local -r foo`, using `local readonly foo` does not make `foo` a readonly
variable.

RELN...

864f0c1981967ec6ffa230fc1162df1b0edb7e9a authored over 5 years ago
Add comment to explain why we can invalidate the astCache entry in PackageFunction.

I got a little confused while reading the code, this would have helped :)

RELNOTES: None.
Piper...

a253654b5d239eee135feacd3508b5e61b8ed029 authored over 5 years ago
Ext.repos: improve error message for missing path

If Bazel fails to fetch a local repository because
the user-defined "path" is wrong, the error n...

57833fb1decc81a167bebefc21802889eb4a2faa authored over 5 years ago
Explicitly disable reduced classpath heuristics when using direct classpaths

PiperOrigin-RevId: 263787677

08b6918219629eb4c79e55f6b1a68986047131ac authored over 5 years ago
Fix potential short read.

Streams in general only guarantee 1 byte of data if they ever need to block.

PiperOrigin-RevId:...

f95558a74912c259f8a79343409257b3b830057f authored over 5 years ago
Docs: explain building bazel with bazel

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

Change-Id: I909c5ca359ad89243667ca3f1dc09...

7d47987571c65b13f60b77966931aa708f7969d4 authored over 5 years ago
Automated rollback of commit 8eb1dbbdf62c143b479f198aa2387cbad5822c0d.

*** Reason for rollback ***

Borke RBE jobs in Bazel Downstream
https://github.com/bazelbuild/ba...

c145f8eb1518d97cbaadb61003efa7ce710b559d authored over 5 years ago
Bazel server won't crash for bad flag value

Two of the first things the Bazel server does in
BlazeCommandDispatcher.execExclusively is parsi...

53ce38925a677dc43a569c017962ef9b63b5ff7b authored over 5 years ago
Remove --experimental_query_use_fork_join_pool and always use FJP for query.

RELNOTES: None
PiperOrigin-RevId: 263723946

e709862760b00ced43bb3d0b2e0d9ae46be91532 authored over 5 years ago
MissingActionsCount was always 0, delete it.

RELNOTES: None
PiperOrigin-RevId: 263719661

bbd7526190bbb4e27afd1efb0614166d508bf498 authored over 5 years ago
Update turbine

Built at
https://github.com/google/turbine/commit/8c646deb03d5a49cf64f665396e6d9130fd87381

10db812ec3d911e904717f4a3f9e1cf0389ff3ff authored over 5 years ago
Enable and remove the flag incompatible_disable_partition_default_parameter

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

RELNOTES: incompatible_disable_partition_...

a650d811344c14dadbb202df2c21864d9c476a45 authored over 5 years ago
Fix skylark importing to always run all starlark imports to completion/exception.

Changes are required in both PackageFunction and SkylarkImportLookupFunction, with
new unit test...

ebc0f2c7448be31a1f32dec3a9dd966bca198820 authored over 5 years ago
Enable and remove --incompatible_assignment_identifiers_have_local_scope

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

RELNOTES: --incompatible_assignment_ident...

80a4670e71264e2ad5ff5ac6f7540957ba19c3f5 authored over 5 years ago
Improve performance of string.replace

This PR improves the performance, in terms of time, of `replace` method by replacing regex by li...

54a96cd02f886c96a6fdd39f48912dcb8a2239e0 authored over 5 years ago
bazel syntax: remove @AutoCodec and java.io.Serializable from syntax nodes

The java.io.Serializable usage is leftover from an earlier serialization effort,
and the @AutoCo...

173824c9dd0347fb058950613a93643a0f63ae5f authored over 5 years ago
Remove traces of configuration for turbine 'javac fallback'

This is a no-op: this configuration was no longer being used, it was left over from
rolling out ...

346c9f0c8094d502f58e0c1a827876cf6df7b5cd authored over 5 years ago
Add BuildMetadata event to BEP, send it before GotOptionsEvent.

RELNOTES:
None.
PiperOrigin-RevId: 263627780

f3e66adcedb78c0ceb2a0c429336d7530dbbf9fa authored over 5 years ago
Disable the items parameter of the depset() contructor.

This is an incompatible change attached to new flag --incompatible_disable_depset_items.

See ht...

f0cf2b4a56831245f88eb56c508af35a62e78b20 authored over 5 years ago
sort desugared core library files into their own dex file and warn should they be encountered.

PiperOrigin-RevId: 263595808

f9c7296906af6f3412a22f24d6873b3f6c940e15 authored over 5 years ago
analyze-profile: Discard invisible bars early.

RELNOTES: None
PiperOrigin-RevId: 263521217

7d2cf451ad352927820134fbe23c63675ed90c01 authored over 5 years ago
analyze-profile: Remove dead code.

RELNOTES: None
PiperOrigin-RevId: 263520916

c01c5479d756630151595d442aed1d23a31efc34 authored over 5 years ago
Make it possible to disable R.class filtering only for android_instrumentation_test.

PiperOrigin-RevId: 263498402

7a6053381e9a63f28eedfb88fb638eaab1354b7c authored over 5 years ago
Read the .jdeps output of turbine reduced classpath actions eagerly

when finishing the action.

PiperOrigin-RevId: 263481675

fdb155ec5f4935adabfca8019947fcfab96800b6 authored over 5 years ago
Refactoring: include exec_properties as a separate field in Spawn and change the code to use that instead of the platform.

This is in preparation for target level execution properties
(See https://docs.google.com/documen...

8eb1dbbdf62c143b479f198aa2387cbad5822c0d authored over 5 years ago
Remove incompatible_disable_objc_provider_resources from Bazel

This flag no longer has any effect. See #5710 for details.

RELNOTES: None.
PiperOrigin-RevId: 2...

6e2ebe58d02edf3c138bef536b337ee9163907ea authored over 5 years ago
Rollbreak to unbreak some tests.

PiperOrigin-RevId: 263420788

e914fd0c0ec17bd5cc7b3a60b30f837c79761e3e authored over 5 years ago
Add a pure_markdown end to end test

This PR submitted on behalf of kendalllane@
Fixes https://github.com/bazelbuild/skydoc/issues/21...

c94fb40ce1a683fdae524802586ccffb60286a7e authored over 5 years ago
Fix dagger SPI handling for built-in annotation processors

the dagger SPI plugin system service-loads classes of the processor classpath,
and allows them t...

e59e478fd59f46eaeaf138b2a94c69ef5d3b45d3 authored over 5 years ago
Aggregate target level test timing information in BEP.

RELNOTES: None
PiperOrigin-RevId: 263399824

eaf77d97d70de44a9b0745e6583450c9eaabcb13 authored over 5 years ago
Remove SkyKey interface from ActionAnalysisMetadata.

PiperOrigin-RevId: 263382940

cda1af67ee836e33dc9cf11cfa40638d3b621ebe authored over 5 years ago
Fix documentation: escape --

RELNOTES: None
PiperOrigin-RevId: 263381427

c183c15099fb31ea6f37405a02d9cd4be74e2555 authored over 5 years ago
Avoid doubling command lines in tests

SpawnAction#getArguments() was not clearly documented, but it calls
CommandLines#allArguments(),...

e5cb3f7504c11f02793eb16abf491f6a6307b431 authored over 5 years ago
Cycle remote execute/wait on unresponsive end

If an execute/waitExecution stream ends, it can be the result of a
server termination. Ignore th...

166aa88c4a0140fee5475df7682d2390aaf33dc0 authored over 5 years ago
Update io_bazel to io_bazel_skydoc dependency

RELNOTES: None.
PiperOrigin-RevId: 263358953

8121d8500a137566a62a4315c338569d8026c9f8 authored over 5 years ago
Refactor SimpleBlobStore#setActionResult signature to match that of

GrpcRemoteCache#setCachedActionResult

This is another step towards merging GrpcRemoteCache and
...

8ac6bdcf36950f1dba5e7c7edc61ac53f490e3f1 authored over 5 years ago
Disable //src/test/res:res_test temporally

https://github.com/bazelbuild/bazel/issues/9104#issuecomment-521231693

RELNOTES: None
PiperOrig...

0fdb1f4dc3b5639a79e5531d90c4adb1c868943d authored over 5 years ago
Refactor GrpcRemoteCache to use uploadFile and uploadBlob.

The methods have the same signature as the ones in SimpleBlobStore. This gets us one step closer...

9fb83b4869c2569b5cd7af488631e950c8a3e4fd authored over 5 years ago
C++: Fix compile API to create at least one action

As an internal optimization we do not create nopic compile actions if we are
not in `-c opt` mod...

2f42d174cefa9b7def2e4cb5117a43d434bbbf12 authored over 5 years ago
Flip --incompatible_enable_profile_by_default, see #8783.

RELNOTES: None

Closes #9157.

PiperOrigin-RevId: 263315874

c0240e8ea1f1508c5ff638387f13950d3319f404 authored over 5 years ago
Flip the --incompatible_disable_legacy_proto_provider flag.

Also remove the code that supports it.

Fixes #7152.

RELNOTES: None.
PiperOrigin-RevId: 263313267

6674a96fb12ff06cdcac2234b4d350553a319f7a authored over 5 years ago
Flip --incompatible_disallow_legacy_javainfo.

Fixes #5821.

Closes #9156.

PiperOrigin-RevId: 263302456

81216e379e1474e0c31c19632402f1d077ec6ad1 authored over 5 years ago
Automated rollback of commit 7ed66f7a31bf5c174f05c295c07fe90cc2aaf2b9.

*** Reason for rollback ***

Starlark caching works now with reference equality

RELNOTES: None....

f0eeec5e2de68c7c77b536c274137b1e17947b50 authored over 5 years ago
Automated rollback of commit aaff22cadcb59f5497b9a84879ca2ca2a3b1323b.

*** Reason for rollback ***

Starlark caching works now with reference equality

RELNOTES: None....

04e2ebfb6476b373dfccf728aa2a465ed814cc12 authored over 5 years ago
Roll forward with fix: Output the resource path shortening map.

If no path shortening was done, this map will still be output as an empty file.

PiperOrigin-Rev...

46c7a489b33d4ede1d8a79f32f8f7520692ce41e authored over 5 years ago
BEGIN_PUBLIC

Internal refactor
END_PUBLIC

PiperOrigin-RevId: 263211050

5d6047c1dcee0c5f5617bea88c0a2a8fc36610bb authored over 5 years ago
Force inlined starlark values to always load and cache the entire downwards transitive closure. We never want to load the same bzl twice in the context of a single package, even if we use a cached value that transitively loads a bzl file that is no longer explicitly keyed in the cache.

PiperOrigin-RevId: 263205064

31262056be01dc5bb81f4d986eac9c5180639f0f authored over 5 years ago
Enable incompatible_auto_configure_host_platform

Closes #9109.
Fixes #7081.
Part of work on #6849.

RELNOTES: Enables incompatible_auto_configure...

e508b23ec9492d05b6d239eb02485b5706f40c8e authored over 5 years ago
bazel syntax: don't use exceptions for control flow

Second attempt at https://github.com/bazelbuild/bazel/commit/e114d8a04fe07dd32fee41b3cd2e5794f10...

d1b344a826e02a8bc38033a6ff2e02a5d359625f authored over 5 years ago
Disable //src/tools/singlejar:combiners_test due to incompatible_auto?

?_configure_host_platform.

Part of #9148.

Closes #9149.

PiperOrigin-RevId: 263183169

8b5584f90d4c11c56b45407aba53735e8b9418d3 authored over 5 years ago