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

Report a root cause in BEP on testonly violations

Also move the VisibilityErrorEvent to the analysis package and rename
it. Improve its documentat...

5e2133a1b300b7b0f80b8608136ccbbc9bfdf766 authored over 5 years ago
Switch to using Futures.getDone().

RELNOTES: None.
PiperOrigin-RevId: 267987724

b9591cfa68b6641dcf2e8d20b08bc518e3781055 authored over 5 years ago
Fix documentation regarding target references.

The line was wrong (reported here: https://groups.google.com/d/msg/bazel-discuss/ZFQqjjhUYz0/598...

d22331df583738029a43b310e825d1da9985d743 authored over 5 years ago
Pass stdin through test-setup.sh

stdin was not being passed through to the test script.
ibazel depends on being able to write to ...

8f22e94236e096508c531b4e48114c39489f0b1a authored over 5 years ago
LegacyIncludeScanner: Avoid intermediate futures

If there are no hints for the current set of files, then there's no need
to create an intermedia...

4ee9750ba8836dde78f9322acdc1af751f1e3bc8 authored over 5 years ago
Move the field name back into FieldInitializer

There isn't a good reason to decouple a field name from its value, unless if
one were to:
* swap...

6fef731669a83cc22f7cc435befe3561e99fd0e5 authored over 5 years ago
Mark value classes as 'final'

This addresses EqualsGetClass ErrorProne issues, and has the side benefit of
disallowing mocking...

9c7f3fdf50b038ff576df19512ca61ba6ea93a60 authored over 5 years ago
bazel syntax: rationalize the build rules

This change adds a BUILD file to lib/syntax.
The BUILD file declares two java_libraries (fronten...

165144579b752afc2d81954f6f0eb3cb3bf1f02c authored over 5 years ago
Fix a few ErrorProne suggestions

* MixedMutabilityReturnType
* MethodCanBeStatic

PiperOrigin-RevId: 267702501

458aa9e5eb4b4bb1da124deb2e41d21aa9263cde authored over 5 years ago
bazel packages: move lib.syntax.Type here

Type is a concept of the build language, not of core Starlark.
(Witness all the references to La...

c5fcc86d1fb02ee20ad1ce6fadb2a73f54a691e1 authored over 5 years ago
Move TODO into a bug.

RELNOTES: None.
PiperOrigin-RevId: 267687536

8a92740d6f12766d7be0b00c9eb93df88fc30e59 authored over 5 years ago
Update remote Android tools

Closes #9347.

PiperOrigin-RevId: 267678850

cf6ec608e03b995f551471c9588fb6e3bb7cc37e authored over 5 years ago
Move TODO into a bug.

RELNOTES: None.
PiperOrigin-RevId: 267671565

cb09553337b2e7d2876dd857de0ddb14d5e39328 authored over 5 years ago
Make a couple of methods public.

RELNOTES: None
PiperOrigin-RevId: 267662314

9f177e2580555a8f1dbad213f14640e60e1a4357 authored over 5 years ago
Associate TODO with its bug.

RELNOTES: None.
PiperOrigin-RevId: 267661576

cdec5ccb7fe3919424a8d7c22766c11b70985247 authored over 5 years ago
Move more TODOs into another bug.

RELNOTES: None.
PiperOrigin-RevId: 267659017

a28e838b833c2127f532000baa97375b394c3cd9 authored over 5 years ago
bazel analysis: eliminate unnecessary Builder

PiperOrigin-RevId: 267657222

b05707f1d8df3a69b7f72d0d7d09246ee1423c88 authored over 5 years ago
Move TODOs into a bug.

RELNOTES: None.
PiperOrigin-RevId: 267656509

478235dd4ee1d80c6f669ad9b21af69860934b8b authored over 5 years ago
Move some TODOs into a bug where they can be better tracked.

RELNOTES: None.
PiperOrigin-RevId: 267654733

56a05ad41fa6c991bb27c14b0c0a5f1ee2078258 authored over 5 years ago
Add template utility function markdownCell

This utility function formats an input string to appropriately display as part of a markdown tab...

cf428014bdea9ccc41fb3510dad11feb58f0a68e authored over 5 years ago
Fix an instance of[]

PiperOrigin-RevId: 267635724

a06af57b0e9c37571f01452729a3cf1cd1f476b5 authored over 5 years ago
Delete unused method

PiperOrigin-RevId: 267630595

0d3c2654a239aab13cf0f52ea7e0247526ce94a7 authored over 5 years ago
Need a newline before an unordered list in markdown.

PiperOrigin-RevId: 267619177

6335c60e17a3a35045b8911feb12e2eb61b7d952 authored over 5 years ago
Add an allowlist for packages of targets which need raw access to resource paths in their APK.

PiperOrigin-RevId: 267616734

bf2887ba03e75a867286dd26b2cfa353822d5fee authored over 5 years ago
Remove unnecessary logging statement from batchPrefetch.

The graph inconsistency receiver on the next line will log or throw an informative error.

Piper...

ac4eb7541894df082b99f48e168009203dce3402 authored over 5 years ago
Fix lookup of output files to not consider the target configuration.

The output file's configuration may be different from the requesting target's configuration due ...

50fc35e52a2c514eb9ad810b96257010aac60f87 authored over 5 years ago
Give instances of NonAttributeDependencyKind a useful printed name for debugging.

PiperOrigin-RevId: 267607967

138b074939dba82ddf0913050d2555b839de03cd authored over 5 years ago
Rename host_deps option to tool_deps, to reflect more closely what it now does.

The name host_deps is retained as an alias for tool_deps.

Fixes https://github.com/bazelbuild/b...

5a0cf9b57d590e24c94c6c42b221d703e88535f9 authored over 5 years ago
Update recommended rules page

- Merge the list of native rules and additional rules.
- Remove C# rules: there's no evidence th...

ed68a81f7938067d05fd7525f4aece6db59326b3 authored over 5 years ago
Put grepped_includes file into a separate directory for tree file artifacts also in async mode.

This was missed in https://github.com/bazelbuild/bazel/commit/e6f2f5b17c85956db9c2318788b4e71576...

0b3a7dd0783fe0ac30e0bc2ddaff2b31c72436b7 authored over 5 years ago
Remove support for authentication and .netrc

Fixes #9327

Closes #9343.

PiperOrigin-RevId: 267568221

a0e3bb207fe2044120a2555a37162ee1f2b17500 authored over 5 years ago
Windows, test wrapper: remove dead code

RELNOTES: none
PiperOrigin-RevId: 267566354

255650c12e00d79af6e5ee58e4b7ca49c295c3c4 authored over 5 years ago
Pass options to syncPackageLoading and tighten visibility.

PiperOrigin-RevId: 267503717

e1c83919814da50103b796018815317791e97c4b authored over 5 years ago
Restore accidentally deleted line

Closes #9340.

PiperOrigin-RevId: 267463620

677982a4a6e379ff95edde466b308ccacdc94590 authored over 5 years ago
Allow redundant calls to DigestHashFunction.setDefault().

Replace DEFAULT_HASH_FOR_TESTS with getDefaultUnchecked().

Some test cases use the singleton def...

f33bf96e1bcc3da7e486baf58c1d3b6563103f67 authored over 5 years ago
Use a canonical instance for an ActionSketch with null hashes.

PiperOrigin-RevId: 267433084

a07100071b07390b4e33056d3acad79af45668f4 authored over 5 years ago
Fix TestCommand memory leak.

PiperOrigin-RevId: 267432053

5ec3e2bd42335f069d2ee7f5f92134cae24fe7c6 authored over 5 years ago
Rename test file to use *.pgcfg extension

PiperOrigin-RevId: 267402654

cecb2e4bed058c502c99d4f3a52e51c89956987a authored over 5 years ago
Adding a Java test for exec_properties.

RELNOTES: None
PiperOrigin-RevId: 267393286

090af009cf14e0b469bf426ae7ebc26bb0689df0 authored over 5 years ago
Redefine --nohost_deps to exclude exec transitions as well as host transitions.

Rename the NO_HOST_DEPS Setting enum value and DependencyFilter to ONLY_TARGET_DEPS, to reflect ...

d39a1ec87f9b8fd36b042edce02de5ba095e0d6e authored over 5 years ago
Remove superfluous test singletons.

RELNOTES: None.
PiperOrigin-RevId: 267320407

c05fd5b5776b2fd64b7b732635a155d80cc508ac authored over 5 years ago
bazel syntax: remove StarlarkContext parameter from Starlark intrinsics

Before, the StarlarkQueryable.containsKey and StarlarkIndexable.getIndex
methods had StarlarkCon...

4ff29121cbba19eb661c000ea5913cb8d51af557 authored over 5 years ago
fewer words, easier reading

Incorporating feedback from [PR 9310](https://github.com/bazelbuild/bazel/pull/9310).

Closes #9...

97a82646dadd93bf52d47828bda42e3383b657c6 authored over 5 years ago
Document the replacements for the `outputs` parameter to the `rule()` function.

PiperOrigin-RevId: 267264018

e29dddaa2f2c95fd8e43b4dbfe335dbae8554095 authored over 5 years ago
bazel syntax: move SkylarkCallbackFunction to packages.StarlarkCallbackHelper

By moving this type, we can replace StarlarkContext with BazelStarlarkContext,
which removes one...

d78a091fbc96317e42ee04da307000d446fc803e authored over 5 years ago
bazel packages: move BazelStarlarkContext here

Previously, it was in package lib.analysis.starlark,
which package was split into two java_libra...

995ef6367fbc86c7f6e9e55578f8bd6c7659b165 authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 267191909

8469446715d9fb8c0f6cb4b5306c0a98120963bc authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 267170811

02f10b227a943070f12d65e102ee81d02343bd0e authored over 5 years ago
Fewer words, easier reading

Proposing grammar fixes.

Closes #9310.

PiperOrigin-RevId: 267167713

6793196caf1d0a2350107db653dccee8298183da authored over 5 years ago
Fix loading of configuration conditions to correctly report errors for

config dependencies.

Example error message:
```
ERROR: While resolving configuation keys for //...

13e38ed63a96081880adcf127a868e52b63bb6be authored over 5 years ago
bazel cmdline: break dependency on lib.analysis.skylark

The Label.relative function now exposes an interface for the repo mapping
instead of naming the ...

4aee44b84fab3b0b9835b50103d27bf95420fea5 authored over 5 years ago
Add tests for an ExecutionTransition.

Add a test to capture the current behaviour of exec transitions with --nohost_deps.

PiperOrigin...

4bd637939dbc99e89b338a8827c5c97af9613c3c authored over 5 years ago
Flip --incompatible_remove_legacy_whole_archive

Fixes #7362

RELNOTES: --incompatible_remove_legacy_whole_archive has been flipped. See https://...

799328f8e02c891376853c31129ac723a7914c51 authored over 5 years ago
Call FindMissingBlobs before BES artifact upload. Fixes #8673, #7630

Bazel unconditionally uploads files referenced by BEP events to the remote cache. This change ma...

120cd54c3cdb6e90470ffd3ff275531f776f54a8 authored over 5 years ago
Trivial: fix insecure printf format in a test

Fixes the following:

src/test/native/windows/printarg.cc:18:10: warning: format string is not a...

7c457b988d08db8a0ac50ba7c513ba8da3d4fbfe authored over 5 years ago
The `outputs` parameter to `rule()` is marked as deprecated. Mark it as such in

the documentation about rules.

PiperOrigin-RevId: 267036978

d33d077aab7de6790d68ba1e80188388da241826 authored over 5 years ago
Automated rollback of commit b31697ddc9536fb11d001294c0752e50dd5f5929.

*** Reason for rollback ***

Rollforward with restoration of LabelVisitor's subtle unconditional...

2ba9137d29e98cf1b09ba0f946d3333ff3867f39 authored over 5 years ago
Internal cleanup

PiperOrigin-RevId: 266992980

72f7700e4990c6417baf51526d22d5e4cbdd84f3 authored over 5 years ago
Fix Starlark name typo in guide

Closes #9311.

PiperOrigin-RevId: 266987736

e22d85982b3b7bf0aafcf5ab3cf3e9ccebfa5d26 authored over 5 years ago
Modify cpp-use-cases.md to fix build_file

The build_file parameter for `gtest.BUILD` after the `strip_prefix` process was wrongly configur...

f1520f704b5fd41275f82732703454f9de9feb80 authored over 5 years ago
Update ios-app.md to load git_repository

Closes #9302.

PiperOrigin-RevId: 266965298

c3ff213c52cd5030cd3fcf85fd8ce8e5186dafad authored over 5 years ago
Disable runfile tree building when --remote_download_minimal

Since we don't download any outputs there's no point in building the runfile tree. After this ch...

b51f956dbd814967abd81dce202518bd3990856b authored over 5 years ago
Add docs to ctx.actions.declare_directory pointing to Args.add_all()

A common use-case is to expand the generated directory in an action command.
This adds a link to...

e447eaa27d049ffa0a049489a30e839756702247 authored over 5 years ago
Fix typos in `aspect` function documentation.

RELNOTES: None.
PiperOrigin-RevId: 266950263

731a2115dd54164ff1f8000317c882ec2bb36957 authored over 5 years ago
Compute root relative path on the fly to reduce memory in DerivedArtifact objects

This especially helps ThinLTO builds, which have many more artifacts.

RELNOTES: None.
PiperOrig...

19a3f559b8bfe878a5f7c72969911107b96d21c4 authored over 5 years ago
Remove all methods of legacy .java provider.

--incompatible_disallow_legacy_java_provider (see #7598) is now a no-op and moved to the graveya...

06fcb83c550606cc2bf331006d4e276e490724ed authored over 5 years ago
Flip --incompatible_windows_native_test_wrapper

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

RELNOTES[INC]: Windows: --incompatible_wi...

a3a2321aaa464405c5d9885650f06c300a293f5f authored over 5 years ago
Remove obsolete Cloud Build step.

It has been failing for quite some time, and it's actually no longer needed.

See https://github...

3d65ff2a16bbe991d985c62a4882b082f0b4e67d authored over 5 years ago
Add a tutorial for writing rules

It is not complete, but it's already useful. I think it's better to submit now, so that it's par...

51f87ed3fc33b06ec8cafacc0d022a23f8da6c24 authored over 5 years ago
Update CoverageOutputGenerator.

Closes #9308.

PiperOrigin-RevId: 266910250

22bb3e02c24f43dc321d46b70472299c9ddc7b45 authored over 5 years ago
actually fix broken postsubmit

RELNOTES: None
PiperOrigin-RevId: 266907305

b6f1f0bd840129d1d905930dd1617804450df102 authored over 5 years ago
Java stub perf improvements

When the `classpath` is too long the stub writes it to a manifest file

At Wix it is not unusual...

b24164602ee6dc21483beb301edf2f69107fe026 authored over 5 years ago
Use different Docker image for Cloud Build.

The old image isn't released reliably, which has caused some problems in the past (failing build...

923f742b182e4c2efa4fa8e9ac6e32b3b3a48396 authored over 5 years ago
Do not put blaze-grepped_includes_<lang> files inside tree artifact directories

RELNOTES: None.
PiperOrigin-RevId: 266890605

e6f2f5b17c85956db9c2318788b4e715767b7aca authored over 5 years ago
Create new exception to have clearer stack trace in AbstractAction.deleteOutput

RELNOTES: None.
PiperOrigin-RevId: 266888866

ce02a4d6b5c0e48287ec49303a4531ff48904319 authored over 5 years ago
Fix broken Bazel postsubmit

The LRE does not support xcode and thus we can't run tests using cc_* on macOS.

RELNOTES: None
...

737a3024787e164a53fcd9b31d09724d5f68a1f9 authored over 5 years ago
Make --experimental_remote_download_outputs none experimental

Enough people are using and reported good results so that I believe it's
time to mark this featu...

bb26694806c9a9c2b3f39100ddd4b00e0d8285cd authored over 5 years ago
Support Bazel reduced classpaths in javac-turbine

PiperOrigin-RevId: 266801100

d190bb1375aec0f3c4615d328b31fe15feb244d2 authored over 5 years ago
Cloudbuild: Print Bazel version before building the site.

PiperOrigin-RevId: 266786208

79565c709542ddb7a94c238cbda90a0e22cf1a84 authored over 5 years ago
Include cc configure headers in the cache key

This PR adds a file containing builtin include directories paths as an input to every C++ compil...

8b0bfaf6716327ca6b60692704e3d57766f7ab1f authored over 5 years ago
Have remote_outputs=toplevel download runfiles. Fixes #8899

This change makes it so that when building a binary remotely and
having --experimental_remote_do...

11a98a51095bfda494ddf7ba69d8ad80309ef63c authored over 5 years ago
Tags propagation for java rules

Part of #8830

RELNOTES[NEW]: tags: use --experimental_allow_tags_propagation flag to propagate ...

58d3f175eedb8ed8b76f72f911b8d97b6ac6bb63 authored over 5 years ago
Add contextual header in generated Starlark documentation

Since our documentation structure is mostly flat, this static line might be enough for users.

h...

4e7c4e1e14eacddb6e6c9f26908e7c3accd4bf9f authored over 5 years ago
Flip the --incompatible_generated_protos_in_virtual_imports flag and delete its

implementation.

Fixes #9215.

RELNOTES: None.
PiperOrigin-RevId: 266758725

5bc203045a8397238aeeefa8c51ae1c0aeec9ba2 authored over 5 years ago
Refactor the sandbox spawn runners

- Move statisticsPath into SandboxedSpawn
- Unify all implementations of actuallyExec, inline in...

403496540806f3f5404e20919202e28fb4b68f18 authored over 5 years ago
Roll Forward: Remove on-demand runfile tree creation from test strategy

RELNOTES: None

PiperOrigin-RevId: 266741971

580038ec43b52c00ec704b1ff139924a6575ba20 authored over 5 years ago
Make --legacy_external_runfiles also works for host configuration target

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

RELNOTES: None
PiperOrigin-RevId: 266733870

1afb510bc7e6699bbad998bddb3e97bf36adeb0c authored over 5 years ago
Expose source symlink planting to modules.

Emit an event when ExecutionTool plants the source symlink forest in
execution root; modules may...

20b056ae8506e489933cf236b9401cddad90afac authored over 5 years ago
Performance improvements (garbage, "retained" memory, cpu) to the full-target parallel rdeps traversal implementations.

- Ditch the Uniquifier<DepAndRdep[AtDepth]>. As the existing comment states, it serves no purpos...

76d5fd03634253e508faadc80d8ee30b401a8af0 authored over 5 years ago
Adding documentation for target-level execution properties.

RELNOTES: None
PiperOrigin-RevId: 266423438

be03bec2fe597fe2757b698f4283a25850e2c25f authored over 5 years ago
Automated rollback of commit 03246077f948f2790a83520e7dccc2625650e6df.

*** Reason for rollback ***

Breaks an internal test.

PiperOrigin-RevId: 266419715

0b1985fde9167e5d2a0623121dbecd3536d91149 authored over 5 years ago
Automated rollback of commit dd0960b623ab09565ea230f1cad61d8d769d6904.

*** Reason for rollback ***

Breaks //devtools/blaze/integration:test_depot_query.

*** Original...

b31697ddc9536fb11d001294c0752e50dd5f5929 authored over 5 years ago
Throw EvalException when depset() direct param is invalid type

RELNOTES: None.
PiperOrigin-RevId: 266397969

a0efc53e07ed5bc73146184f74ddb136cd6249ac authored over 5 years ago
Change Pruned events are not being emitted immediately.

When there are parallel values being evaluated and one of them is change pruned, the issue was t...

cbbb5390fd7b413855fb02ea6102e34bfdcb6daa authored over 5 years ago
Throw an exception when a too-deep depset is flattened

The depth limit is 10000 by default, and is controllable by a new command line flag, --nested_se...

a7c0afbefb40e027a8c1dd0df397e2034560b817 authored over 5 years ago
Remove on-demand runfile tree creation from test strategy

Bazel builds runfiles trees when building an executable target. This
allows a binary to be run d...

03246077f948f2790a83520e7dccc2625650e6df authored over 5 years ago
Enable --incompatible_skip_genfiles_symlink by default

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

RELNOTES: incompatible_skip_genfiles_syml...

8795c2ad70cfb91fef284e7018ebd2c91e30a5db authored over 5 years ago
RepositoryFunction: use correct env for validating up-to-dateness

When verifying the marker data of an external repository, verify against
the correct environment...

480ac1f7ff1873e48466070d9eda698d4ddca64d authored over 5 years ago
Fix a serious regression in remote execution. Fixes #9284

Action inputs would not be uploaded to the CAS for targets tagged
with 'no-remote-cache' or 'no-...

9e1d65a1fcebff7169a63acad95c7b44302b89c4 authored over 5 years ago
preamble to Starlark rule documentation: mention label

Stardoc, as opposed to skydoc, ignores module doc-strings. Therefore,
add at least some basic in...

902e7e5e79e4ec0530c1e011116763c8061dba31 authored over 5 years ago