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

Supply the header thinning tool to apple_binary targets so that aspects that

create ProtoSupport can use it.

RELNOTES: None.
PiperOrigin-RevId: 256547614

475db53bd30b7d23c4fcbec51b441ecb576049bb authored over 5 years ago
Windows: fix "insufficient resources" on Windows 7

On Windows 7, the subprocess cannot inherit
console handles via the attribute list
(CreateProces...

c4a469ad4cb689962e0b15c71b770cc87753300f authored over 5 years ago
Make http_archive accept a .netrc file

Change http_archive and related functions accept a .netrc file
to be used for authentication.

C...

e1e074c9160affea3fe49062f01e0f331622f405 authored over 5 years ago
rule_test: apply "tags" to all rules in the macro

RELNOTES: rule_test: fix Bazel 0.27 regression ("tags" attribute was ingored, https://github.com...

6d0b14b95a71175362030b4811ca74512b00a890 authored over 5 years ago
Only create the CppModuleMap action once from ObjcCompile actions.

ObjcCompile create a CcCompilationHelper twice (with and without ARC enabled).
They both did cre...

5812b3d708a7dec8cff795183a9c9d6d389c393c authored over 5 years ago
Remove the code for incompatible_disallow_load_labels_to_cross_package_boundaries

RELNOTES: None.
PiperOrigin-RevId: 256449981

4efb6c2563b7d96bfbd9b30175f1ab9b969708da authored over 5 years ago
Fix CompressedTarFunction to handle self-referential hardlinks

GNU tar, for example, creates a link within the archive pointing to the link's own path if a fil...

3ff33278b01b056a85a6540bffaa0a7b4022b672 authored over 5 years ago
Add a newline between each documented element in RendererMain

This has very little effect on actual rendered markdown output, but keeps the output of the rend...

e8bde4cc788edc096dc39cca41d06dc9a0de9034 authored over 5 years ago
Make --ui a no-op

PiperOrigin-RevId: 256383310

3e9eec42f9523bd835d3185f98e5cacc431bb4bd authored over 5 years ago
Introduce proto-related Google-only interface methods to the Starlark build API

The new interface methods have no Bazel implementation, and are completely unrecognized when --e...

eba849fe8f40a5d63ac64c568f4e87fb43b248d5 authored over 5 years ago
Change renderer binary's visibility to public

PiperOrigin-RevId: 256370474

cefc9731e4c3ea14430c80a4ff9f187c98819917 authored over 5 years ago
tags propagation: Starlark rules part

Tags declared on targets are not propagated to actions and therefore are not taken into consider...

5f53ab606f9e09076e9c1056378f32a78b04a880 authored over 5 years ago
glob() now supports case-insensitive mode

The behavior is triggered by
FileSystem.isGlobCaseSensitive() returning false.

None of the prod...

16465d7613348e39e0bcdb22697cf67d257a3d91 authored over 5 years ago
Use java macros in java_tools.

`@rules_java` repository is now available to all Bazel java users. There is the possibility to o...

e826049dab74a316b7e8f9135447501ab7bbbe76 authored over 5 years ago
Remove some dead code.

RELNOTES: None
PiperOrigin-RevId: 256346218

b3e8152097fff0caa8b3fe1853354f85108ce0bb authored over 5 years ago
Modify the legacy features to pass flags to lto-index actions as well

With https://github.com/bazelbuild/bazel/issues/6791 Bazel will not obtain these flags from C++ ...

e92ee9e7fdd0f93a51bb36732ae8f30e2b4b69ec authored over 5 years ago
Automated rollback of commit 5c83cd9b789f50d5c4e8cf0b774836128dce1cc2.

*** Reason for rollback ***

Breaks Bazel downstream: https://buildkite.com/bazel/bazel-at-head-...

1a3d4c452379d43513cac7440561ca263cf9ac5b authored over 5 years ago
Enable G1 for Bazel and the Java host toolchain.

3842bd39e10612c7eef36c6048407e81bcd0a8fb disabled G1 for Bazel itself as well as the javac worke...

01e6e05a35633df92cafc20b28eac15cd1aefa09 authored over 5 years ago
Remove --default_override= options from Third Eye reports.

There are quite a lot of them and they obscure actually important arguments (like the actual tar...

11e03574d2afa977d4319589a9c043f73718d904 authored over 5 years ago
Filter out non-Starlark-value actions from target.actions for rule configured target

RELNOTES: None.
PiperOrigin-RevId: 256248814

1ace20a6bb7587ae427d5917ffe13fa71d8885e9 authored over 5 years ago
Create ProtoRenderer unit test for ProviderInfo

RELNOTES: None
PiperOrigin-RevId: 256247086

a53151d025468ac95ef5cc47c518eaf9c4fec8fd authored over 5 years ago
Pass raw protos to MarkdownRenderer to output markdown documentation.

RELNOTES: None.
PiperOrigin-RevId: 256247067

ee0e62e239fee2853fec4b0deb794f3e464b6f93 authored over 5 years ago
Introduce interface for BugReport to facilitate tests which intentionally send bug reports.

PiperOrigin-RevId: 256213266

5e2a60de5239453622689fe7a40f210459029781 authored over 5 years ago
Do not add a --proto_path argument to the proto compiler invocation there are no .proto sources in it.

This prevents protoc from complaining about a nonexistent directory in sandboxed mode and is goo...

5c83cd9b789f50d5c4e8cf0b774836128dce1cc2 authored over 5 years ago
Release 0.27.1 (2019-07-02)

Baseline: 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b

Cherry picks:

+ 123c68daed17b19927372e4d...

316cb9b3bd64225a5725802af2bd6fe3e2e46c6e authored over 5 years ago
Implement a slightly more efficient algorithm to sample the oldest actions in

the UI. This is not more efficient in terms of big-O, but using a heap and just
removing the top ...

81c937955ae06bfe385b2fecf6249b8a41286eee authored over 5 years ago
Add a Checksum class for plumbing HTTP downloader content checksums.

This is extracted from https://github.com/bazelbuild/bazel/pull/7208 ("Support subresource integ...

62fa89d45ca459f35e73036b39c8aa3b3f45a6d2 authored over 5 years ago
When copying dynamic libraries to binary, copy them into the runfiles as well.

RELNOTES: None.
PiperOrigin-RevId: 256184273

2260b970cb2a10c21a2fde116aa82c79be52991f authored over 5 years ago
Create exe file from //src:bazel-dev.

RELNOTES: None

Closes #8771.

PiperOrigin-RevId: 256167664

e7438ae85e619c87229b1c3a5fa6fa1c1ce0ab18 authored over 5 years ago
Query performance: Reverse output buffering

Instead of converting String -> byte[] first and then buffering, buffer
the String data, and the...

ebca24c525ec93f34bb65053370376082765d800 authored over 5 years ago
Remove non-flag arguments.

PiperOrigin-RevId: 256009064

2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6 authored over 5 years ago
Introduce flag --incompatible_restrict_attribute_names

When the flag is enabled, attribute names must be syntactically valid identifiers. For example, ...

e6ab3c41a06d5ed418c57d85bfe3ea049bb2f8ca authored over 5 years ago
bazel syntax: eliminate Operator; use TokenKind

Also:
- rename TokenKind.getPrettyName -> toString.
No-one wants to see internal enum names in...

6748ccb7d24363ccf42dfba26bd694dfecd7f179 authored over 5 years ago
Replace Skylark with Starlark in user-visible text.

RELNOTES: None.
PiperOrigin-RevId: 255971226

47e88549998b3220e56dbce6e5ccb54ee8f1f77c authored over 5 years ago
Automated rollback of commit 5c1005c0947b010ee36ca851b8ba07c9479cf682.

*** Reason for rollback ***

Rolling forward flag flip (--experimental_build_setting_api=True) n...

f113c4493989ddaf131fcc90020b68222f4a5bbe authored over 5 years ago
Have Extrema support non-Comparable types, so that it can potentially be used in more places in the codebase. Also clean up javadoc and document the performance characteristics.

RELNOTES: None
PiperOrigin-RevId: 255964454

89a6ff590e11c2bbb561deaeb2170d121353de00 authored over 5 years ago
Do not re-compress during dev build.

Instead of building the target //src:bazel use //src:bazel-dev.

File I/O is much slower on Wind...

518c8b3f29d43a4d52b448d2b780f64f3b33b8db authored over 5 years ago
GC reduction: convertStarlarkArgumentsToJavaMethodArguments

- use ArrayList instead of ImmutableList.Builder
This reduces the number of copies by one, bec...

cf76aeb307c06ff693684e6f692aaccdb16335dc authored over 5 years ago
Remove incorrect cache in AndroidLocalTest.java

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

RELNOTES: None.
PiperOrigin-RevId: 255958717

c2d088f547bfeda2c5978883dae02aef18685cb1 authored over 5 years ago
Windows: Windows SDK version can be specified through BAZEL_WINSDK_FULL_VERSION

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

Closes #8747.

PiperOrigin-RevId: 255958288

8167f46ce53201ca3d725b6262c6b9e31dac2f13 authored over 5 years ago
Support setting different UI progress modes

This change adds a flag to select between UI progress modes. The initial
values are oldest_actio...

86e518a5df9fac4ad119699217f1c0cac89f140d authored over 5 years ago
Query performance: don't copy on every eval call

Every query function calls into this method to eval any relevant
sub-queries, and making a copy ...

1cf2f7b5a06125ae7f06b7b709a9cb28aaa491a3 authored over 5 years ago
bazel syntax: eliminate LValue

This reduces the number of nodes allocated by the parser.

The logic of LValue is now moved into...

ade5327ad6efe3d70486f828ecac9f234d8c8020 authored over 5 years ago
Update platforms.md documentation

Closes #8513.

PiperOrigin-RevId: 255944103

b4f3d837baed60c929c777258d20efe25ff445c3 authored over 5 years ago
Fix reference to internal-only directory in documentation.

RELNOTES: None.
PiperOrigin-RevId: 255936305

bb96af528af30cbf19789b0bd3f865ac4e3eeb16 authored over 5 years ago
Windows: remove incompatible_windows_style_arg_escaping

In this PR:

- Removed the
`--incompatible_windows_style_arg_escaping` flag
and all code for...

ecac47d08da82064b04ef95cef58077209f9f8b4 authored over 5 years ago
Automated rollback of commit e114d8a04fe07dd32fee41b3cd2e5794f10a5a9d.

*** Reason for rollback ***

TAP has detected 10 or more targets failed to build at https://gith...

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

Previously, break, continue, and return were implemented by
throwing and catching exceptions.

N...

e114d8a04fe07dd32fee41b3cd2e5794f10a5a9d authored over 5 years ago
Fix memory leak of Reporter through System.err.

During the lifetime of a Blaze command, we patch System.out and System.err with custom PrintStre...

dfb4926d3783411da406da73ce8fcbf8fc5315bc authored over 5 years ago
Have StarlarkNativeModule#glob handle IllegalArgumentException.

A recent change to MethodDescriptor#call removed the handling of Throwablbe there, so therefore ...

5e025a15f6598b006404f5dcd829475e3d2752f4 authored over 5 years ago
Always strip /external/<repo_name> from proto import path

Before this PR, when strip_import_prefix was not specified, and the proto target
was declared in...

453df55ff16d7842e72843bfe38a4e97677fa617 authored over 5 years ago
Add incompatible flag to forbid loading the native Java rules.

RELNOTES: --incompatible_load_java_rules_from_bzl was added to forbid loading the native java ru...

de9696e5d161bcc978e2499b6afd9f7981870d0e authored over 5 years ago
Make Starlark actions that have an unused inputs list unshareable.

This is useful because shared actions with state are not nice, so let's
minimize the number of t...

8d76cb66b50894022ff16499e6455592674dc8ee authored over 5 years ago
Retire experimental blaze flag that allows dynamic linking of cc_test sources.

I added a blaze feature to do the same thing a few months ago. Therefore the experimental flag i...

91ff4e22cae5ae65f08f4ba303cbd9c62c8a1b73 authored over 5 years ago
Add a new value for the AndroidManifestMerger enum, FORCE_ANDROID.

RELNOTES: None.
PiperOrigin-RevId: 255514973

11a97185fc1e574a2fbbc05b0be1a9af2a0372b5 authored over 5 years ago
[RPBB+aapt2] Re-escape XML characters when converting protobuf format back to XML.

RELNOTES: Fixed treatment of AndroidManifest.xml attributes which contained XML escaping
PiperOr...

f67e2c63e8c81731dd454dd911372a9d9397174d authored over 5 years ago
Tests: print a warning if zip failed

If test-setup.sh fails to create the undeclared
outputs zip, then print a warning but carry on.
...

168ee7c589955372843115f67d9df2b4cc42e6ba authored over 5 years ago
Add providerName and ruleName to output protos.

PiperOrigin-RevId: 255396190

26e94c9ff1f595c144ad0c5f520b011f72f1cef5 authored over 5 years ago
Throw a Starlark error in case of no outputs

With https://github.com/bazelbuild/bazel/commit/af53a11104b549cca8b593a1f8cac224a21727da, if a S...

b5ae7d35c3489f1894cca3bba51073cb0edae7d1 authored over 5 years ago
Add OpenJDK 11 archives for aarch64 (arm64).

This allows users to build Bazel on arm64 machines without requiring any flags.

RELNOTES: Bazel...

9f7fe693ce6f0c6f8dd832959b8d4b08bc958dad authored over 5 years ago
Remove the distinction between mandatory and non-mandatory artifact dependencies in ArtifactFunction.

This used to be used for implementing C++ include scanning: it's possible that a change both rem...

36df7eddc16850d0974226ceef839d86eef35bdc authored over 5 years ago
Make GroupedList.getAllElementsAsIterable return a collection.

When passed to Iterables.size, this is taking the code path that counts all of the iterator's el...

04fc26c9d353aa6087976a228d0aeac73ea7a2fb authored over 5 years ago
[singlejar] Support long path for param file

FIxes #8717

Closes #8734.

PiperOrigin-RevId: 255352603

06202aaecb09bf1cb17b7afd8c21db3f8bd9252b authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 255343132

3d8b5796386e344469e0bda1698c32db2d1b38db authored over 5 years ago
Fix typo in android_instrumentation_test doc.

RELNOTES: None
PiperOrigin-RevId: 255279741

458292d63bfcded1ec926592b12e0032dc718d56 authored over 5 years ago
Add wall time offset to FakeClock

- Add wall time offset to FakeClock to simulate non-monotonic time on daylight savings
- Updat...

ae8e557b4b206a0dec238a9b7aeaececc03bd940 authored over 5 years ago
Fix timestamps in Bazel/Blaze JUnit runner

RELNOTES: None.
PiperOrigin-RevId: 255058249

076ece499d4fb2521cc251c77ca064422835da0f authored over 5 years ago
--cs_fdo_absolute_path should have set the FDOBuildType as CSFDO.

This fixed an oversight that not setting FDOBuildType in option
--cs_fdo_absolute_path.

RELNOTE...

562eaf30092d81f04706c8a7fcda560dc243a659 authored over 5 years ago
Use middleman for objc compilation

This significantly reduces memory consumption for objc compilation with
toolchains that have a l...

be2eae99e5cc3176efed852e1427621ec4da43c0 authored over 5 years ago
Remove rogue end comment HTML.

PiperOrigin-RevId: 254968112

a47e2a98730c42a62aea9f443358a10969e2abce authored over 5 years ago
Fix comment in aquery differ.

RELNOTES: None
PiperOrigin-RevId: 254964538

e583dd54426c04b54bc7c715b1a6191ed5cbf54a authored over 5 years ago
Remove unused OptionsParser factory methods.

PiperOrigin-RevId: 254946765

1f488245e18e62742aac397e062e3848fa348887 authored over 5 years ago
Refactor osx cc autoconfiguration to not use a template Starlark cc_toolchain_config rule

RELNOTES: None.
PiperOrigin-RevId: 254941425

ac3d06bb20f8310b8bfd476ae530c3f0943ec5b5 authored over 5 years ago
Remove runtime dynamic libraries from default output group of cc_binary

Bazel copies dynamic libraries to the binary's directory so that it's available at runtime. Befo...

210428cafd40c9c25787906cb2422085b70b8f30 authored over 5 years ago
Check for both :lcov_merger and $lcov_merger attributes in TestActionBuilder.

384e1cb renamed an attribute from `$lcov_merger` to `:lcov_merger`, which is a breaking change a...

d4589630428c1c1bc08a9baf36257e636fe9d746 authored over 5 years ago
Test Bazel with CentOS 7 on pre- and postsubmit.

RELNOTES: Bazel now officially supports running on CentOS 7.
PiperOrigin-RevId: 254912729

527f6884ece28c8d5be7565d1501fc50d188484b authored over 5 years ago
[RPBB+aapt2] android_binary assets should take precedence over those from libraries.

RELNOTES: Fixed asset precedence for android_binary rules with aapt2.
PiperOrigin-RevId: 254873610

f99beac708d2dd1fe940977b37d96bc2082741cb authored over 5 years ago
[RPBB+aapt2] Ensure that XML namespaces are preserved for elements

<dist:module /> is a legal tag for Dynamic Delivery, but the namespaces were
getting stripped of...

08d2c3d63770eadf54443e69f43d44c4f2551d46 authored over 5 years ago
Conditionally define legacy action_configs

This allows individual action_configs to be overwritten by the toolchain maintainer even when no...

b9847161fa972c3afa76f0dcf7d5d81f9e52ccc6 authored over 5 years ago
Introduce --incompatible_disable_nocopts flag

This flag prohibits the use of 'nocopts' attribute in cc_* rules.

Issue #8706

RELNOTES: --inco...

b7c0858e9fa3701236510ec9a2501a1634b94780 authored over 5 years ago
Make Git repository rules compatible with older Git versions.

CentOS 7 includes git 1.8.3.1, which needs an explicit destination ref
in the refspec passed to ...

1bcd38a10a7e83fc2cbc7958e092d5b8979a89bf authored over 5 years ago
Windows: add script to build a .msi package

Also add a test, though there's no build rule to
wrap it yet.

The generated installer:
- is a s...

400c2c746dcc4b9e4d9518a9753f48d5db4b5edc authored over 5 years ago
blackbox: Use "git add -A" to really stage all changes.

Otherwise we miss deleted files.

Explanation for the change from the Git docs:
- git add -A sta...

2cc8b82a19cdaaa1ea92a653d7bfb593fa517e2f authored over 5 years ago
Turn on --experimental_starlark_unused_inputs_list

RELNOTES:
PiperOrigin-RevId: 254743408

6e0df10ad861fcf06e0b59b3853688da846f8a0e authored over 5 years ago
Exchange "old" and "new" worker hashes in the debugging message.

In this code, the worker we're validating has the "old" hashes and the worker key has the "new" ...

aff84c4b2ef82fa18b3e8616b8a2dcd6b38d6937 authored over 5 years ago
Query performance: Add flag for graphless genquery

This adds --experimental_genquery_use_graphless_query, which enables
graphless queries for genqu...

13bf21bdb727adb1a9889b13d0cac6aa77a41bbc authored over 5 years ago
Hide output of failing `which` command in the pywrapper.

I think this is what the code tried to do in the first place.

This fixes a test failure on Cent...

00ec2e76e36ea540d8c26c5b9608cd38414b7d70 authored over 5 years ago
Don't hardcode path to `ip`.

It's in /usr/sbin/ip on CentOS 7.

PiperOrigin-RevId: 254735519

132a2c6bdd5d2c04a411a827ac987c738f0ba45c authored over 5 years ago
Remove whitespace after '#!'.

It doesn't matter for functionality, but let's keep a consistent style.

PiperOrigin-RevId: 2547...

ef4936c330360ca9fc12842f7c3e4f0d8dabc255 authored over 5 years ago
Fix test_glob_utf8 to not run into NAME_MAX on ZFS and reenable it.

PiperOrigin-RevId: 254735250

a9dc7494ab9d521ba8152ecd6d98eba5dddce673 authored over 5 years ago
Add missing calls to testenv_tear_down.

The recently introduced testenv_tear_down method is a great improvement to overall test reliabil...

10517bebde5f6c6803c3241030864761f1ac7a5d authored over 5 years ago
Add a starlark function computing auth dict from netrc data

Add a Starlark function combining the data from a netrc file with
a list of URLs to obtain a sui...

38cfc187d3b8c3068cd46b730a5ca84ba27d0655 authored over 5 years ago
improve remote execution error messages

If the error originated in the gRPC library (it usually does) then
display the error as "STATUS ...

a79a4b66124465234137d9bba3f8e8878fd63647 authored over 5 years ago
When BES mode is FULLY_ASYNC, let BEP transports finish closing in background.

TESTED=built dev blaze, ran some builds in a loop with
--bes_upload_mode=FULLY_ASYNC. unit testi...

57fb56fc50d588bdfb8f900918caa23bb7a53c11 authored over 5 years ago
Pin Bazel's native Android tests to use aapt, and set --android_aapt=aapt2 in Bazel's own .bazelrc

Closes #8696.

PiperOrigin-RevId: 254507620

c07d5ce018d46c71f0cd35e1797a8ee2d5daf7ea authored over 5 years ago
Optionally use --override-styles-instead-of-overlaying option to aapt2 to

mimic behavior of aapt1 flow (as well as the Gradle toolchain for both aapt1/aapt2).

PiperOrigin...

b57829f709c1a2cce20e565adc817f3a65ee6909 authored over 5 years ago
Improve config output by displaying more data about configurations.

Includes:
fragments included in the configuration, as well as the actual underlying options.
...

88c372bc1ff5b3febbbecc0868be854f7aeaf55a authored over 5 years ago
Fix Bazel website stardoc build (//site:site) after https://github.com/bazelbuild/bazel/commit/9c913b93e275038393e4ba5f67b7421919d93cf9

```
ERROR: /usr/local/google/home/jingwen/bazels/github/tools/build_defs/repo/BUILD:36:2: Genera...

f9efb2446ee5483e6b1c6f2dd4f0af8c17688be7 authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 254448359

2b6f852d96e021d5554d87e8ceed8e0cf7e2a746 authored over 5 years ago
Improve clarity for the rules documentation

RELNOTES: None
PiperOrigin-RevId: 254443455

ed49d5bb288260e1c102de27fbf8cd6cd07c0efa authored over 5 years ago