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

Move reduced classpath opt-out logic into Blaze

instead of handling it in JavaBuilder and turbine, causing an unnecessary
fallback action with B...

4c05ba6ab15f0ec95daf6b1e7c1fd300fbbcc3b1 authored over 5 years ago
Add an option to allow local actions to run without locking outputs.

This can be enabled by setting --experimental_local_lockfree_output,
which in turn requires --le...

9a62ad079ddfa68daf24ecf3ce8cf15fc8326d9c authored over 5 years ago
Increase visibility of InMemoryGraphImpl for testing and factor out the injection of the ErrorTransienceValue node from AbstractExceptionalParallelEvaluator.

PiperOrigin-RevId: 273805490

f802da9ddd1c1b7ac1424c913e9a4d0f6f58379c authored over 5 years ago
Don't filter out empty package(s) from the resource table during resource shrinking.

In the final copy stage following a shrink, if the app package (package id 7F) is empty, current...

98b9e2fb758091cb7e4f3167d571f73de0dafd02 authored over 5 years ago
Fix 'remote_exeuction_properties' doc typo which appears in the build-encyclopedia.

PiperOrigin-RevId: 273790190

f69f5287aa19c08802f9633a2b8f28baea883afd authored over 5 years ago
bazel syntax: hide EvalUtils.execToplevelStatement

All file execution now happens through EvalUtils.exec(StarlarkFile)
or EvalUtils.execOrEval (whi...

ba868542a0a2942f32cfb0aa9c87dda181455181 authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 273733052

aca46b2170b089d0e5ddc92bd9c916f40f521180 authored over 5 years ago
Chocolatey: Remove strict MSYS2 version requirement

The version given is very old and I don't see a reason why Bazel should depend on this exact ver...

7fdb3429d138994353bdee4caa0da6b1bf4aa74e authored over 5 years ago
WindowsFileSystem.readSymbolicLink: Map IOException to NotASymlinkException

Fixes symbolic link outputs on Windows.

FileSystem.resolveOneLink expects that readSymbolicLink...

c9a9bbb43d9816636c89e6f9f32fdccf1e5aec4c authored over 5 years ago
Handle $$ in .d files

'$' shows in in names of files generated by j2objc, so we need this if
we want to enable objc in...

57bdcc7ab22f1c54f07f8a2c6e2e2a98eda2d337 authored over 5 years ago
Clarify that discouragement of recursive globs only apply to source files.

PiperOrigin-RevId: 273624230

3acf4128ed2deb7324cb7828eed925bf11f664b8 authored over 5 years ago
bazel syntax: break ASTPrettyPrintTest -> EvaluationTestCase edge

ASTPrettyPrintTest is not a test of evaluation.

Also:
- rename to PrettyPrintTest.
- move Evalu...

3948aaac26c125de8397ebe5561a2504affc85be authored over 5 years ago
bazel syntax: break ValidationTest -> EvaluationTestCase edge

ValidationTest is not a test of evaluation.

PiperOrigin-RevId: 273582894

27d9a7a57890c20d2b45f8f0c4b6a422ee0196ee authored over 5 years ago
Better handling of legacy provider syntax corner cases

This change was previously rolled back, and is now being rolled forward after a fix was submitte...

281692c9ed90c2a958f1f5776aa0f91517d37fdc authored over 5 years ago
Provide a clearer error when Starlark rule definitions accidentally d?

?epend on toolchain instances instead of toolchain types.

Inspired by user feedback.

Closes #9...

f4dc1a170101ee17badf97df9f3d5f6e8764310d authored over 5 years ago
Fix HTML documentation typo

PiperOrigin-RevId: 273563739

c7932a1e2a4ac936c67cd7ad1a7031ee4ec688dd authored over 5 years ago
Reinstate external documentation performance.md

https://github.com/bazelbuild/bazel/commit/6ca0ce9c0d33657007a41612e9034497916dc93f caused the e...

8769f8437281d3925240c4a9922d138c7866a876 authored over 5 years ago
external.md: clarify where external repositories are fetched to

Document that external repositories are handled on a per-workspace
basis and in the section on "...

21f6ba4602ff9ccf57708330d79f232fa0e74ea9 authored over 5 years ago
external.md: fix section on "caching"

For bazel to decide on whether to refetch a repository, only the
definition of the repository ma...

314fb391c7e64c13a7424f152002a42fa2028ca7 authored over 5 years ago
Fix ToC markup

PiperOrigin-RevId: 273518707

6ca0ce9c0d33657007a41612e9034497916dc93f authored over 5 years ago
Update description to match the example

RELNOTES: None.
PiperOrigin-RevId: 273517976

a36564d0ea5c32fb80ab87f0a83ebc0e70df2100 authored over 5 years ago
Updated the parser to produce same result when round tripping a query. Also added additional unit tests and updated documentations/comments.

RELNOTES: None.
PiperOrigin-RevId: 273516217

dc146da429790fed0d6b5a50a093d9ba12f55038 authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 273507454

df8b1b80aea79a71831c6ccad6c2668eb4b5bc0a authored over 5 years ago
Event with output: do not keep output in memory

Instead just keep the reference to the object describing the location
on disk and dump the conte...

c87cc91007aa89e33e95a153c448f8b9fc91fa2f authored over 5 years ago
Replace dot and ASCII graphs with svg images

RELNOTES: None.
PiperOrigin-RevId: 273474344

11b0b1f973d5b34f3d53a29c36003ac5a7fbe242 authored over 5 years ago
Update configuration docs to reference skylib common build settings.

RELNOTES: None.
PiperOrigin-RevId: 273363596

29539a5f4a2e1ac7f92821e1677d935751c94774 authored over 5 years ago
bazel syntax: remove BuiltinFunction.isRule, a bazelism

Also, sprinkle private/final in various places.
(Today I learned that when IntelliJ creates a ne...

c30a7c584719bea2e1c8fa8eb1388b1e84a9556e authored over 5 years ago
Render attribute default information

Fixes https://github.com/bazelbuild/skydoc/issues/238

RELNOTES: None.
PiperOrigin-RevId: 273354924

5eeccd8a647df10d154d3b86e9732e7f263c96db authored over 5 years ago
bazel syntax: split lib.syntax into two java_library rules

Eventually they will be renamed lib.starlark.syntax and lib.starlark.
(At the point we should al...

ac828cb8a40d1d604e19e05e4e1df507e846042e authored over 5 years ago
third_party condition for ppc64le dyn lib

Pick up the `third_party` portion of PR #9346

Signed-off-by: Christy Norman <[email protected]...

27612bb1f6131cd86b42306c80037946b686c9c7 authored over 5 years ago
bazel syntax: delete FunctionSignature.WithValues

WithValues was a triple of (signature, default values, types). This
change replaces it by three ...

28c1a2ac2d6f72ecb01e60c0488c25b9bbaeaee5 authored over 5 years ago
Clarify utility and level of support for --nodistinct_host_configuration

PiperOrigin-RevId: 273310985

e580e8e166e5d44bd0fc36aea5e6a4f1badd0292 authored over 5 years ago
external repositories: add a section on offline builds

While bazel has no dedicated support for offline builds, there are
a few commands and options to...

e43e4db994b8a35a8a46094e4f97d36a46403377 authored over 5 years ago
Clarify naming convention for targets created by a macro

RELNOTES: None.
PiperOrigin-RevId: 273301714

04a97afa4db2c122f12ac72e8e6f71a2048ff078 authored over 5 years ago
Take away outdated rollout / experimental comments.

PiperOrigin-RevId: 273299007

64415b39f475355652e426774e0cef8cb506a9e9 authored over 5 years ago
Remove unused flag java_new_coverage_impl.

PiperOrigin-RevId: 273295481

3171523e0dc3d966774a435671e917f67c0bb001 authored over 5 years ago
Fix framework_search_paths var name

In the documentation this is showing up incorrectly because of the
variable name.

Closes #9395....

1b5e4ddee16bb29ebb18c33d8c00e6a694f6d748 authored over 5 years ago
Clarify dict type documentation

particularly regarding ordering and duplicate key treatment.

Also fix a typo (representating ->...

929ece500aa21d274552d1ba71a6522a06a6f88c authored over 5 years ago
Process-wrap commands executed by the repository context

While the purpose of ctx.execute in the repository context is to allow
arbitrary access to the h...

94f3c9d923bdd21819f516d39f2e995b2e809253 authored over 5 years ago
Remove duplicate code in j2objc_dead_code_pruner

All statements in BuildArchiveSourceFileMapping and BuildReachabilityTree are similar.

Extract ...

7ae5adbb16de07d7d57be24df396339e49afa852 authored over 5 years ago
Java_toolchain: Remove Java 7 compatibility mode

Closes #8772.

Change-Id: Ia3467b2a33ee4bfbd10cfe3f1027e292d3a967b7

Closes #9450.

Change-Id: I...

e70f12162d18159c4ef2506e7d9d24fb6642f2c6 authored over 5 years ago
Delete mention of comprehensions differing from Python

Under https://github.com/bazelbuild/bazel/commit/c1fe6c55744faba63cd3d364485f040876851444, there...

e924bbe0b09cf1bfc2a73033bcd876470204dc4d authored over 5 years ago
Automated rollback of commit 365a26bd89587d46e5cd4375dd4b1b7a8a6e878d.

*** Reason for rollback ***

Causes a big performance regression on large builds on many-core ma...

982a7355ca8bbe462abce8069c553ec026a651d3 authored over 5 years ago
bazel syntax: remove type parameters from WithValues<V, T>

Now it's always effectively <V=?, T=StarlarkType>.

Also:
- DefStatement now has only a Function...

b84cf866c4f41ea6ebfd5130efec15758a6b61db authored over 5 years ago
Use //command_line_option:compilation_mode instead of :c

The latter fails with "transition output '//command_line_option:c' does not correspond to a vali...

76951c656990296340a939e439cb24d20b7337bf authored over 5 years ago
bazel syntax: remove type parameters from Parameter<V, T>

Parameter is a part of the syntax, and is now created only by
the parser. Its "default value" (V...

35618a888941d2dc7358094e80f88ad96548f79a authored over 5 years ago
Add flag to use R.txt from resource merging for creating top-level resources.jar

When --experimental_use_rtxt_from_merged_resources is enabled, the symbols
defined in local reso...

3a5dd87b88b3ab0f1505d0dfcd08b15dbf8ca9fe authored over 5 years ago
Move -Aexperimental_turbine_hjar logic into Blaze

PiperOrigin-RevId: 272754392

d6f9bcfea0bc0f98f0215381371132b43cfa5efe authored over 5 years ago
Migrate provider definitions off of FunctionSignature.WithValues

RELNOTES: None.
PiperOrigin-RevId: 272748855

802ae8c3e09a933d1cddd2aa6991037b7fb765b7 authored over 5 years ago
Overhaul Stardoc source-tree tests

Going forward, Stardoc golden tests which verify rendering will use custom templates under the t...

8e00e3130307ee9ef055997ce8c25b708842e707 authored over 5 years ago
bazel syntax: break syntax->Printer dependency

This change replaces the complex printAbbreviatedList machinery
with much simpler versions that ...

d1f73515ee2cb09fdb6d8adfe5903f139b499df3 authored over 5 years ago
bazel syntax: move StarlarkFile.eval methods to EvalUtils.execOrEval

This breaks the last frontend -> evaluator dependency.

PiperOrigin-RevId: 272735958

558bf2276ac02eb2d5f37fd62a7a37bba8fd315c authored over 5 years ago
bazel syntax: break validator -> thread dependency

This is one of the remaining syntax -> evaluator edges.

The validator does not need a thread, i...

055954789aa3379da26a7b2a959540562f02273a authored over 5 years ago
Allow throwing IOException from lockOutputFiles.

It makes sense that a hook that deals with files may throw IOException, so
do that. I need this ...

193dad8d878388b787554ed250613333aacfc84e authored over 5 years ago
bazel syntax: separate Parameter from Argument

A Parameter is not an Argument; this false relation was presumably
established to enable the reu...

73d942f6c207e9c29c49ee2572ad3501e165efc8 authored over 5 years ago
[RPBB] Add --rTxtOut option to AndroidCompiledResourceMergingAction

The allows making AndroidCompiledResourceMergingAction the single source of
truth for resource c...

09e8e68b11d9fc54e75b9276218ecbe50bbc2c78 authored over 5 years ago
Fix skybuild crash when creating include scanning header data

Skybuild does not guarantee that an action can look up the sky value
of its transitive dependenc...

aa1bf4770a0827784b4879cf8718507788828e39 authored over 5 years ago
Prevent crash when create_compilation_outputs() has no parameters

RELNOTES: None.
PiperOrigin-RevId: 272670265

3a898c1ab183d7a067ef3541983b8390728ce0e9 authored over 5 years ago
Fix some documentation tags

RELNOTES: None.
PiperOrigin-RevId: 272584497

59ea3ee65f3cd51777895b4f9c45f491c349b9bf authored over 5 years ago
[RPBB] Remove unused code related to android_robolectric_test

PiperOrigin-RevId: 272554099

5e075439508b404fe47fb0df9eb5255905060f3c authored over 5 years ago
Remove unused code

The only thing externally-exposed is the option "assetsToIgnore", and Bazel
doesn't use it.

Pip...

b52249c5327b120ab01271450ac493c0b01944d6 authored over 5 years ago
bazel syntax: move FAIL_FAST_HANDLER to test/.../events/util

StarlarkThread's handler is at this point just a print handler
(and will soon be renamed and spe...

18694c719c3f67365f2318c81b4196e9617d4374 authored over 5 years ago
Provide cc_common.compile(additional_inputs=...)

PiperOrigin-RevId: 272520019

7ca15b1488492ceda488bc22eaf5e680e60ca503 authored over 5 years ago
bazel syntax: break StringLiteral -> Printer dependency

...by inlining and simplifying the Printer logic.

PiperOrigin-RevId: 272514094

1ee4da18832f5b3a818a2a8e5638658e265ce4c8 authored over 5 years ago
bazel syntax: fold FunctionSignature.Shape into FunctionSignature

Shape appears to have been a premature abstraction from the outset.

Also, make various method a...

886c0a4d5b69022b0329e30d07bbe7a274e31aa0 authored over 5 years ago
Set the nested set depth limit to 3500

While technically a breaking change, the likelihood of actually breaking any users is very low. ...

5c2d342d6026e1821c397bee3e755848f2313565 authored over 5 years ago
bazel syntax: remove two copybara legacy APIs

PiperOrigin-RevId: 272491428

0aa6cbf213a4c795bc12a28c2894bb7e6db177c6 authored over 5 years ago
Stop calling TurbineOptions.Builder#setTempDir

it is unused, and a no-op.

PiperOrigin-RevId: 272488551

4fe21d5efa3848d87fa79817da078cee228b56fd authored over 5 years ago
Migrate off a deprecated getter

PiperOrigin-RevId: 272487261

1d50d44f76d697e5d2736155dbcb9cd23ce2ac79 authored over 5 years ago
bazel syntax: improve error message for reassignment at top level

Now that we use events not exceptions, we can report multiple locations.

PiperOrigin-RevId: 272...

eb30bd5509fda3a5b4eedd3ee2d98b996c53eb65 authored over 5 years ago
Fix test_host_xcodes on Xcode 11

Xcode 11 includes a new DriverKit SDK that makes
`xcodebuild -version -sdk | grep macosx` now pr...

867bada0117df8c57a91c6c0005206ba45ffbada authored over 5 years ago
Summarize platform story for Bazel 1.0

In fulfillment of https://docs.google.com/document/d/1ml_t5vUqFH7HR4c2j2bT3sApdBT5A0TQ31E7R511dn...

389b6084804f52643ff3dfbaac00364ef81fc960 authored over 5 years ago
Stop lexer from scanning characters in ints if first token in not a zero

If the first token of a number is not '0', then the lexer should not scan any characters because...

1169acede569c5615ce763a4e83f34b2f25afad7 authored over 5 years ago
Throw an EvalException on SkylarkNestedSet type mismatch

Previously, IllegalStateException was thrown, which would cause a crash & visible stacktrace whe...

74ee2b2e14c12caed7bda1a9c291e19b8f73f5fd authored over 5 years ago
Windows: Fix compiling cpp with tree artifact as source

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

Closes #9454.

PiperOrigin-RevId: 272411571

5da8f02c0e32627b1b37491aea2b22025fc121b1 authored over 5 years ago
Add the worker strategy in the user manual

Add the `worker` strategy to the list of build strategy options, in the user manual.

Current do...

bc67b36fb7876144329f66f800e44745046a4df1 authored over 5 years ago
ubuntu install via apt docs: ensure that curl is installed

Curl isn't installed as part of ubuntu's base system (eg inside
containers), we should recommend...

11f794d1a0a9fda6c26a1314192130cdf1324ffb authored over 5 years ago
Fix aquery crash for bitcode feature

Without gating this with `expand_if_available` aquery crashes with this
feature enabled with thi...

e83db1ed97bff2c873f7e6913ce72308f3a3132d authored over 5 years ago
Bazel client: faster startup flag diff'ing

Speed up computing the set of changed startup
flags.

Replace linear search (quadratic complexit...

c768244181c2a852ebe32fe685f82aa21150d198 authored over 5 years ago
Small documentation fixes for bazel emscripten tutorial.

- Fix error message in step 4, it differs from what is display when following the tutorial.
- Re...

29e40225fbb710a9982cf8345f92f52c443e3bc5 authored over 5 years ago
Describe known issue when in-mem state is lost when running bazel builds inside docker containers e.g. in CI

I hit that problem and discovered answer by reading that doc: https://docs.bazel.build/versions/...

eda9160d84500fbcb2afa1e85a8e49ee95571d1a authored over 5 years ago
Skylark docs: replace deprecated single_file param

Replace `attr.label(single_file)` with `allow_single_file`.

Closes #9423.

PiperOrigin-RevId: 2...

c41830d82f65f6d6f09c40acceb5b8c32e2b6d60 authored over 5 years ago
Extract a CommonPrerequisiteValidator class

The new class takes over most of the responsibilities of
BazelPrerequisiteValidator, except that...

f931dc9700ab2e651b6d13a34c37cd737ae1a6cd authored over 5 years ago
bazel syntax: Implement comprension scopes

Fix this program taken from Starlark spec:

```
x = 1
_ = [x for x in [2]] # new vari...

c1fe6c55744faba63cd3d364485f040876851444 authored over 5 years ago
Add .hh as accepted objc_library header extension

Closes #9367.

PiperOrigin-RevId: 272401356

66fc20af7340020e0164c1bf8700f4dc3b43000c authored over 5 years ago
Update deprecated flag value

According to the User Manual, `standalone` is a deprecated value for the `--spawn_strategy` flag...

3c7bd95ab11c295c1168f9c5a81be33f50def44e authored over 5 years ago
Remove unused ObjcRuleClasses constants

Closes #9462.

PiperOrigin-RevId: 272395459

edbc988e41818658978abfa328ada8fc721bbc43 authored over 5 years ago
aapt2 5893772

PiperOrigin-RevId: 272350094

75b1f79e2953699d6b8955bc98401433c94cfb20 authored over 5 years ago
Add explicit plumbing for a "validation artifact" to AndroidResourcesInfo

This unblocks fixing a bug in which the output of validation actions [1] is
used for creating th...

b113f7d27d9bdd6bb5061192124f96a2c7793156 authored over 5 years ago
Add desugar support for android.app.admin.FreezePeriod#{getStart, getEnd}

PiperOrigin-RevId: 272329925

4e220990514e6e0cd8e06103ab4c0105122bf060 authored over 5 years ago
[RPBB] Ignore dependency info from transitive enum/flag attributes if possible

This is similar to https://github.com/bazelbuild/bazel/commit/1664d54293749a58d4dbdcf06c9c203de8...

49ea9589f0255b0250cb4438cab88eceb91be62d authored over 5 years ago
Catch strategies that call StopConcurrentSpawn more than once.

This (and other debug code I added but then removed because it should
not be part of this) shine...

4b1cdfc6df3d662dbc489d21e0ee8d69515e7ee1 authored over 5 years ago
Update java_tools version to javac11-v5.1.

Fixes #9270.

Closes #9457.

PiperOrigin-RevId: 272210868

5cfa0303d6ac3b5bd031ff60272ce80a704af8c2 authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 272205503

02d25b2d62b648d042d0512ac0cc9ae2868e5557 authored over 5 years ago
bazel syntax: break dependence on EventHandler

This change removes nearly all uses of EventHandler in the interpreter.
(The remaining uses are ...

f0890f0d659f6f2afb94d60d5d762c8bcbbbd122 authored over 5 years ago
Handle the case when the BUILD file prelude is not set.

RELNOTES: None.
PiperOrigin-RevId: 272196422

db2a6e695e87eb42d5148b464458a4ee08c37de8 authored over 5 years ago
Automated rollback of commit 872c11ae8d1fe9b74aaaf8874201ab7e0f2906df.

*** Reason for rollback ***

This change introduced a performance regression in bazel.

More det...

51421724b6038844838a74886e894df16b1bcaf1 authored over 5 years ago
Remove a mysterious obsolete option

AFAICT the option didn't do what its name implies.

PiperOrigin-RevId: 272139137

4aed638359986d3b1904d93646b8ceb2f9427e27 authored over 5 years ago
Remove unused code for android_robolectric_test

PiperOrigin-RevId: 272137627

bf4c78a2e669c9f76305a72e0037562ffe7224b2 authored over 5 years ago
Correct address format in server status proto

Format was awkward/incorrect due to InetAddress's toString.

PiperOrigin-RevId: 272072322

335973bd30588d89d1826157a3d8ea6dc3f25da1 authored over 5 years ago