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

Add explicit version minimums for macOS tools

This is a follow up to https://github.com/bazelbuild/bazel/pull/9371
which helps maintain cache ...

4ffb36f65cc34b454e71964f44d5fc0182975854 authored over 5 years ago
Automated rollback of commit dc88544f307bc9d1dd0824b97004af3cc1864f4a.

*** Reason for rollback ***

Roll forward with fix.

ForkJoinPool seems to have a bug with paral...

40551d60bd604e9e18a8bf3f0438803140685fd3 authored over 5 years ago
Windows, *_binary launcher: bazel-bin/x.EXE works

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

Closes #9400.

PiperOrigin-RevId: 269804082

c7bc414660156584a3feeeb5487e455572f15784 authored over 5 years ago
Remove rules_typescript from recommended rules

According to Alex Eagle: "rules_typescript is actually not user-facing anymore" and "only rules_...

a46a6c9e3b9c87b235f7e62112bea557e4cd6c5e authored over 5 years ago
Update JavaInfo documentation.

Fixes #8124.

Closes #9377.

PiperOrigin-RevId: 269759137

e47118abf45ec0d4ff0396edefea216fbafe71ed authored over 5 years ago
Update to error prone 2.3.2.

Partial commit for third_party/*, see #9372.

Signed-off-by: Irina Iancu <[email protected]>

d990746fbd74334aee195dbdb2f6658f30108113 authored over 5 years ago
Simplify the TestThread interface by taking in a lambda.

This cuts down vertical clutter when using this class to create test
threads.

Brought to you by...

5f9747501b87c61d8517368b2ee34a38b71f4276 authored over 5 years ago
Improve preparation for flag changes which will come out with an upcoming AAPT2 version.

PiperOrigin-RevId: 269699364

c5d0b208f39353ae3696016c2df807e2b50848f4 authored over 5 years ago
Add a new option --resourceConfigOutput for Aapt2ResourceShrinkingAction

The shrinking action will write out a file which can be passed to `aapt2 optimize --resources-co...

1d2932ae332ca0c517570f559c6dc0bac430b263 authored over 5 years ago
Fix docstring of `coverage_common.instrumented_files_info`

RELNOTES: None.
PiperOrigin-RevId: 269685187

f4fb1deb198f698602168b380407297dc1df8012 authored over 5 years ago
Replace the Rules submenus with a single Rules page

This change makes all the languages at the same level.

Closes #9401.

PiperOrigin-RevId: 269684167

40a8f0d2c802946ebc3e757c6b07cb6c9f14353e authored over 5 years ago
Remove a few unused or rarely-used methods from Artifact.

RELNOTES: None.
PiperOrigin-RevId: 269661782

e80e9589c75c57bce562c6d5f0c116988a89bc29 authored over 5 years ago
bazel syntax: move all tree-walking evaluation logic into Eval

All tree-walking evaluation logic belongs in Eval.
All basic operations on Starlark values belon...

698d77f2da0f9245a94e9748eadb39834433b560 authored over 5 years ago
Silently return None on unknown invocations of functions of the native module

Also add internal type PintoModuleProvider to the list of non-bootstrap globals.

RELNOTES: None...

858057c2e1d8f7de77c5ca1ea7750015efbc52b9 authored over 5 years ago
Allow overriding of skyfunctions in the skyframe executor and increase visibility of some classes / methods.

PiperOrigin-RevId: 269626190

6e24b7d53ac1f87e51f36720aeb64c4df2fb9379 authored over 5 years ago
bazel syntax: rename ParserInput{Source,}

Also:
- make it concrete and final
- hide the getContent method, to allow the possibility of a s...

2abde272eeced50d8a74c8adbd4ed531dc32dac1 authored over 5 years ago
Always include transitive closure of resources in resource_files.zip

https://github.com/bazelbuild/bazel/commit/fa769d1096e23654fcaae85036f46d95921bde1f unintentiona...

b8e96613804b4a80478c6739148a388d944eb473 authored over 5 years ago
Automatically create folders in createSymlink in BuildIntegrationTestCase.

The helper to create symlinks does not handle creating folders on the path to
the new symlink if...

4873fa1dcd83865afc46605c09cb82112d3e3090 authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 269584201

3f86653d7b45f1866bee514f55baac618411b435 authored over 5 years ago
Optionally propagate aspects through rule output dependencies

Starlark-defined aspects can opt into this new feature by being defined with a new parameter on ...

089148bf4f685e30fe9ca64639fda8cb59407347 authored over 5 years ago
Avoid all configured targets depending on all build infos

Instead, throw a MissingDepException from CachingAnalysisEnvironment if
the build info is missin...

3740768a2f625e7b3310f69bcec47b5dd0898cf1 authored over 5 years ago
Include scanning: Use a ForkJoinPool

PiperOrigin-RevId: 269520385

365a26bd89587d46e5cd4375dd4b1b7a8a6e878d authored over 5 years ago
Add rules_jvm_external link to Java tutorial

RELNOTES: None
PiperOrigin-RevId: 269492337

c541dd194d12cce54169c299cdc42bb2a74fb3e8 authored over 5 years ago
Fixed typo :)

PiperOrigin-RevId: 269432208

2ffc65af4b6dc4c21b5830358242f92073e19845 authored over 5 years ago
Making sure the digest on the FileOutputSymlink does not lose all of it's data when being passed down the pipeline

RELNOTES: None.
PiperOrigin-RevId: 269429764

b87261954071330ec214df375d95ab121c82f7ab authored over 5 years ago
Integrate config_setting with label_flag / label_setting.

See https://docs.bazel.build/versions/master/skylark/config.html#label-typed-build-settings for ...

83f8d1846938f19976c2f69f39941975303372b8 authored over 5 years ago
Simplify OutputDirectories.

The various directory getter methods always return the cached directory for the
main repository,...

dd07468ecf58200acc88f4c2c8b627d1b2c8332a authored over 5 years ago
bazel syntax: rename ListLiteral to ListExpression

A literal is a value provided in the syntax tree.
By contrast, a list expression involves comput...

b6f33cd4b23f6aafe35cf42079a6ccb8d522b8cf authored over 5 years ago
Merge the two documenations of the workspace command

...so that we only have single, but complete, reference of that
command.

Closes #9226.

Change-...

b970b2488a55e476f8773a837698c77ecaf2d18e authored over 5 years ago
Improve package loading error message on directories without BUILD files

Let's print an actionable for the user and inform that BUILD files turn directories into package...

5858c5a328cce16e838a82aa43a522e4577ffd13 authored over 5 years ago
bazel syntax: rename ASTNode to Node and SyntaxTreeVisitor to NodeVisitor

PiperOrigin-RevId: 269332155

4ace465bb2686fa23294aa3d710c1f0e1444dd8e authored over 5 years ago
bazel syntax: rename DictionaryLiteral to DictExpression

A literal is a value provided in the syntax tree.
By contrast, a dict expression involves comput...

39ef7d04aed88aa92cbf699050ea27be73acf7d8 authored over 5 years ago
change bash-completion .deb package dependency to suggests

bash-completion is not a hard dependency for bazel on debian-based
installs. By moving bash-comp...

3b65eb5543aacca7c4ab2d535132fd4d2f63fada authored over 5 years ago
Fix destructive mv of bazel internal files

The genrule was moving a $SRC. In some sandboxes, ths is a permission
problem. On Debian Stret...

f69c3d27b7e47bb56c0359d350c3f20a7ccf9d38 authored over 5 years ago
Merge direct runtime jars, java constraints and JavaSourceInfoProvider in java_common.merge()

Fixes #8916.

Closes #8847.

PiperOrigin-RevId: 269313592

acdd3654e70af880f412c2bc5c8a9b5c4f477bf2 authored over 5 years ago
HttpConnector.connect: request a function instead of fixed set of headers

Fix the signature of HttpConnector.connect. As the connect method
handles redirects, we cannot h...

e38d83871b39ed5f69cad903fa97e90b47a59875 authored over 5 years ago
bazel syntax: rename {Function,}DefStatement

PiperOrigin-RevId: 269230007

25caae266b7e1859377336c036077a40c8dd50b5 authored over 5 years ago
Generalize the concept of a temp directory for actions to put stuff in.

Up until now, such directory was used only for console output, but we'll
repurpose this location...

88e22cd066785675bfcb3d62f22f56b8c4bc9a2a authored over 5 years ago
bazel syntax: simplify comprehensions

This change merges {List,Dict,Abstract}Comprehension into a
single concrete class. The "k: v" bo...

54ec37db189c839f8d2b5b9626f7dd78b3add0d8 authored over 5 years ago
Turn down javac-turbine

PiperOrigin-RevId: 269016579

6118004e0db99820f1b6eb15d7901987c1f5481f authored over 5 years ago
bazel syntax: rename DebugServer to Debugger

PiperOrigin-RevId: 269000039

e24e1617182a40d99420c4a2841beb5f7862ef4b authored over 5 years ago
Make run's single target error message more helpful.

RELNOTES: None
PiperOrigin-RevId: 268989384

2131921bbfd04b75ed7c16fb24a985cf2cf34f39 authored over 5 years ago
Wrap Stardoc signature summaries

To avoid long lines that require excessive horizontal scrolling, signature summaries should be w...

6300cf0b989491a9e653b0c3ab12043adf0c1fa2 authored over 5 years ago
Update references to build encyclopedia

RELNOTES: None.
PiperOrigin-RevId: 268965936

374d165233facd3cf45be9a28ae4e69cb693a19f authored over 5 years ago
Add documentation data for 0.29.1 release.

Closes #9361.

PiperOrigin-RevId: 268943029

96f038ad276e57bdbd36e39295cef8fd5778b329 authored over 5 years ago
bazel syntax: make Eval private

Make Eval private. It should never have been public.
Mostly it was used as a hook for the debugg...

a4f8b62fdf613b3e0dc58ca1531598e75d08be1d authored over 5 years ago
Deactivate flaky test: socketTimeout_retries.

PiperOrigin-RevId: 268928710

040eb5254eb6417aaaca9e6ccabc5c65e022b95d authored over 5 years ago
Fix handling of noneable @Param

A None value in Skylark is mirrored into Java as a
com.google.devtools.build.lib.syntax.Runtime$...

5ce3079d99b35f8b8960a54ba6c7d4ae4aee493d authored over 5 years ago
Add support for framework include paths to include scanner

RELNOTES: None
PiperOrigin-RevId: 268912675

27c88136837d343b34ceeb8e8a4c3529bad48916 authored over 5 years ago
Add an allowlist for packages of targets which need to opt out of resource name obfuscation.

PiperOrigin-RevId: 268910004

1c18c6681017f4e9b69dbe648cb414c9827601ac authored over 5 years ago
Rearrange Javadoc around OrderOutput so that they apply to the enum value that they describe. Prior to this change, rendered Javadocs will use NO's doc for DEPS and so forth.

RELNOTES: None.
PiperOrigin-RevId: 268909456

6cad689af38663a331758271ef897e529a3798f6 authored over 5 years ago
Add explicit --sdk argument to xcrun calls

Xcode 11 (and possibly earlier versions) has a bug where, when you don't
pass `-sdk macosx`, it ...

ada2c55dcc106cd55bafbbe5d9a966e21e4770e0 authored over 5 years ago
Handle -iquote in copt

We need to parse copt for -iquote paths and pass them to the include
scanner. This mirrors what...

abf3905c8b3bcf2820bccb54180eeed968e3ed2e authored over 5 years ago
Document exit code 45

PiperOrigin-RevId: 268896279

aa8e8a2366387e9833f3878219318ce6dd3b8431 authored over 5 years ago
bazel syntax: delete Statement.parse

PiperOrigin-RevId: 268894044

8dd249d6e0066773a3cce9a1e0665272904b0338 authored over 5 years ago
Blaze actions: add support for in-memory unused inputs list (dependency pruning).

RELNOTES:
PiperOrigin-RevId: 268878533

3e5998755223ca0709d0819973ed2114b0f66d68 authored over 5 years ago
updated documentation to clarify TLS support

updated documentation to clarify TLS support for --remote_cache, --remote_executor and --bes_bac...

9ff02a99ce73daae392c3156960a2a7a62554df6 authored over 5 years ago
Add objc_include_scanning flag

Currently this flag will do nothing -- actual functionality will be
submitted in a separate CL. ...

6470bb74047a76d3e0271273ac0864b697ab2aa9 authored over 5 years ago
Add getParentDirectory to RootedPath.

Getting a parent directory for a RootedPath is a common pattern in our code,
repeating in multip...

351e468ef7abef86de0671d8d6770bcb217ebc53 authored over 5 years ago
Wire up the resource name obfuscation optimization as performed by AAPT2.

This is activated with the Blaze flag --experimental_android_resource_name_obfuscation.

This in...

5fe144a7a8f5aed714395a3026562586dbaee966 authored over 5 years ago
Output a list of kept resources from ProtoResourceUsageAnalyzer during Aapt2ResourceShrinkingAction.

This includes a change to ResourceUsageModel.java, which will need to be upstreamed to AOSP.

Pi...

92183d1d1539c36f3147ba6576b6b46591d96e75 authored over 5 years ago
bazel syntax: remove temporary alias to renamed function

...provided for copybara, to which we cannot commit atomically.

Submit after unknown commit.

P...

81bdec07868c999caaae8c00018db825a99aae47 authored over 5 years ago
Do some refactoring of framework search path helper functions

This is a NFC. Reason is to make frameworkHeaderSearchPathFragments()
available for reuse in so...

8956e16e646d188e68f985239b659fd0739b38d4 authored over 5 years ago
Revert "cquery --nohost_deps" to include source files.

This was switched in https://github.com/bazelbuild/bazel/commit/171a7ebd9a28c4169f2c3018b9c4d740...

41a8dfd2c511933a8d7d7b5014da1258b8e5b07d authored over 5 years ago
Wait for process termination when the LocalSpawnRunner is interrupted.

The dynamic scheduler cancels the futures it uses to run spawns, which
causes the spawns execute...

de8d4c7bddb729d3703c97c6bee58062e154ec34 authored over 5 years ago
Close the ActionFS after completing the evaluation or input discovery phase of an action.

PiperOrigin-RevId: 268711514

a235269feb87e080a80f9a6c1428a52704829a5a authored over 5 years ago
bazel syntax: trivial parser cleanup

PiperOrigin-RevId: 268703051

171cf2ec9d96e68e8ec64febf8fd88fd60a06b44 authored over 5 years ago
Avoid complex logic in MockSpawnStrategy for better readability.

Push the necessary logic within each instance of the remote and local
strategies in each test to...

ae29e8284a8c02f8a828fe8144e90b407869c0fa authored over 5 years ago
Refactor SpawnContinuation semantics

By making it safe to call execute and getFuture at all times, the client
code becomes much simpl...

415165a55ca0f1656d1254618758d2a30d8c5030 authored over 5 years ago
bazel syntax: eliminate Debugger interface

It has only one implementation, Environment, which is a public class in the same package.

RELNO...

591009307a2478a569eba21ea63fe8c607af046b authored over 5 years ago
Report the first rule error as a root cause event

This is not fool-proof. In particular, it is missing all errors
generated in the ConfiguredTarge...

07917641597dd50d16392194e6ae4a4e0a2a2041 authored over 5 years ago
Introduce new Blaze flag --experimental_android_resource_name_obfuscation.

This will control usage of the aapt2-optimize option --enable-resource-obfuscation

RELNOTES: No...

01cf3649e67b69f80cdaa415c9cba8d898ad38d9 authored over 5 years ago
bazel syntax: make Parser private

Parser:
- Make it private. Call Expression.parse or BuildFileAST.parse.
(Statement.parse is on...

aeda58fce725d9304ac6f499a561fb776a31dd2e authored over 5 years ago
Fix crash with async tree deletions if the executor has not yet initialized.

By the time afterCommand runs, we don't know if executorInit has run so we
cannot make any asser...

9ce145a34d5dd246ce370ce3c3c0994d3155324d authored over 5 years ago
Removing unused setter methods on SpawnResult Builder.

RELNOTES: None.
PiperOrigin-RevId: 268469269

2d0046a39e383613dac12b2dfe9845dd22df100f authored over 5 years ago
Add rules_jvm_external to recommended rules

RELNOTES: None
PiperOrigin-RevId: 268461887

c4631347b6b5a7e7ca6ca7ebd7661657247e8b96 authored over 5 years ago
Add documentation for creating "custom verbs" with Starlark macros

This was originally submitted as https://github.com/bazelbuild/bazel-blog/pull/189/, this is mer...

fd60d00527af1299263eda6fa354def2afb8279f authored over 5 years ago
Sanitize strategy creation for better readability.

Make the createSpawnStrategy a static function so that understanding what's
going on in each tes...

1ee8577e36826ee4510126ca97f29256b7b530e2 authored over 5 years ago
Remove Blaze flag --experimental_android_throw_on_resource_conflict.

PiperOrigin-RevId: 268300501

91c2f0fdd9dd3508eb66edcb06aef374800114df authored over 5 years ago
A list of log paths will be provided in build output.

These log paths are aggregated from the metadataLog field on the SpawnResult.

RELNOTES: A list ...

17e28df6833c947e2770504abab7bbca3848359b authored over 5 years ago
Annotate R and transitive fields when --annotate_r_fields_from_transitive_deps is set

This integrates with https://github.com/bazelbuild/bazel/commit/c4830bbcfc9d04113cc857b017339b17...

234847b40bb44d3cc2aef9cd51129d302b451ad6 authored over 5 years ago
Remove XML parsing from ProtoResourceUsageAnalyzer.

PiperOrigin-RevId: 268270678

ead46b6da3ad31b7af93f2704e4d22f650a5f584 authored over 5 years ago
Plumb dependency info from AndroidResourceMerger to DataSource

No semantic changes.

The ultimate goal is to get a String from
com.google.devtools.build.andr...

1547503e67725d6451b824998fab4a6143ff717a authored over 5 years ago
Plumb dependency info from DataSource-->PlaceholderIdFieldInitializerBuilder

No semantic changes.

The ultimate goal is to get a String from
com.google.devtools.build.andr...

fffddd92e3ac302e6ddd22c4a6f320117fcf3974 authored over 5 years ago
Plumb dependency info from PlaceholderIdFieldInitializerBuilder-->*FieldInitializer

No semantic changes.

The ultimate goal is to get a String from
com.google.devtools.build.andr...

b346af96dd766ae9d5852d39b4838c8917da9618 authored over 5 years ago
Add value type for encapsuating dependency info

No semantic changes.

The ultimate goal is to get a String from
com.google.devtools.build.andr...

b46dfcf989669c4fcc3502194b2120654d73055c authored over 5 years ago
Remove boolean parameters from getSpawnForTest for better readability.

Instead, add two separate overrides called new{Custom,Dynamic}Spawn that
take the relevant detai...

6077d65fc40c90444b7efffc88e6d460f0199004 authored over 5 years ago
Remove the whitelist check for `cc_common.{compile,link}`.

RELNOTES: The `cc_common.{compile,link}` APIs can now be used without passing the `--experimenta...

dd8785589f336c21149f4f746ead493eb34c2e6b authored over 5 years ago
Hide cross-spawn interruption mechanism behind a lambda.

This helps contain all the logic needed to handle cancellations across
different executions of t...

ce39313d2b75da851ca50e4a138d203b7685a064 authored over 5 years ago
Release 0.29.1 (2019-09-10)

Baseline: 6c5ef5369a3ffceb8a65cc159a2fff1401242810

Cherry picks:

+ 338829f2633e91ae0492ee41...

4f9cd08c083344a6d6a2ff1dd80ef9a0fb76421f authored over 5 years ago
Remove unused feature_of/feature_after support from ResourceProcessorBusyBox

This was never launched and depends on flags which exist in aapt but not
aapt2. Bazel was updat...

98155e1a422a0b4ad0bd06b0d368b89162de2961 authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 268119179

6842af0a9a1fb6b69454cfb0a72591737fd32ef0 authored over 5 years ago
Include child key at the beginning of the exception message rather than at the end.

PiperOrigin-RevId: 268113531

25e32f19c066792a805fa1ba6953aac0bd20e887 authored over 5 years ago
Extract `aapt2 optimize` to a new action.

PiperOrigin-RevId: 268106770

7c391ef06ee568c020ef5d47eacef6ff952dec45 authored over 5 years ago
Fix misspelling of 'descendant'

PiperOrigin-RevId: 268091156

ddf8a2968aaa81ddf2cd23393117610f38daf8f4 authored over 5 years ago
Remove unused feature_of/feature_after support from Bazel/Blaze

This was never launched and depends on flags which exist in aapt but not
aapt2.

PiperOrigin-Rev...

0bb860d20d171b30e31aa898f6403d082cb5aa1b authored over 5 years ago
Make static-able methods static

PiperOrigin-RevId: 268036406

46ad5470f4bf1dbf4625ee14f91ee991e7f1795c authored over 5 years ago
Use .anyMatch and .allMatch instead of reducing a Stream<Boolean>

Change automatically generated by new JavaOptionalSuggestions rule in unknown commit.

PiperOrig...

fb2b3d7211d8c125a1fd5f2c32159fd60fcf64f5 authored over 5 years ago
Always enable --experimental_java_header_input_pruning

PiperOrigin-RevId: 268029080

6392e5c09ce10476fce33c13678f1c445f27ff66 authored over 5 years ago
Remove non-Windows assertions in annotation processor tests

RELNOTES: None.
PiperOrigin-RevId: 268026669

0a70adb017906584799681a4c99a9aacd7ce4db7 authored over 5 years ago