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

Expose XcodeConfigProvider to Starlark.

RELNOTES: None.
PiperOrigin-RevId: 280518028

918fc2f8794169949b519277625c2837547f5806 authored over 5 years ago
Make SkylarkCallableProcessor#process return false

Returning true consumes the annotation and hides it from other post processors. Returning false ...

ab3cdb7eabcdedebf1cb50e2e1b3d02d2280ec49 authored over 5 years ago
Delete unnecessary arguments to compile/link register functions

This is an NFC. There is no need to pass toolchain/fdocontext into
those functions, because the...

a6ffdf9274788d18d830cdf598fefc66e17b5119 authored over 5 years ago
Delete some unused methods and fields in ObjcCommon

RELNOTES: None
PiperOrigin-RevId: 280504451

15c6157297fdc6fe1fedaae934e5b0ba0ae02c1e authored over 5 years ago
Add quotations around invalid dottedVersion value in error message.

This makes it easier to see what the invalid value was, especially in cases where it's a string ...

c326a53e1d6e9e44bdd5429be86be1f75cbd0447 authored over 5 years ago
Allow the distributor log and info log to be compressed before uploading, if they're large.

--compress_log_threshold_bytes controls this behavior.

RELNOTES: None
PiperOrigin-RevId: 280471980

aef41933a456de3d677febfd03806d64fd936122 authored over 5 years ago
bazel syntax: simplify StarlarkMutable

A sequence may be mutable (list) or not (tuple, range).
This change breaks the subclass relation...

1b80d5725959fa2c70e2ace1f9b27ca7ce20cd56 authored over 5 years ago
Disable native.maven_jar: flip --incompatible_remove_native_maven_jar

Closes https://github.com/bazelbuild/bazel/issues/6799

Closes #10090.

Change-Id: I6308386c3a46...

489a9e5cdf7ca30c789feeca5081d367c7474006 authored over 5 years ago
bazel syntax: remove redundant Mutability params from SkylarkList methods

The correct mutability to inspect is the one in the SkylarkList.

PiperOrigin-RevId: 280456898

22e33244caa84601223d6b620f489d2d239c58b9 authored over 5 years ago
Add code for expanding Ninja variables.

Closes #10235.

PiperOrigin-RevId: 280456383

b6bc3aa5de07f728f905b253c386094808f7bb52 authored over 5 years ago
Enable combined disk cache for grpc caching protocol.

This change enables the combined disk cache for the gRPC
protocol too.

$ bazel build src:bazel ...

5f4d6995db1eb6a9d35dc163c0150283e830aa3d authored over 5 years ago
Prevent incorrectly sharing actions when a conflict was detected.

Sharing actions as soon as we see a matching primary output is causing a crash when the actions ...

46bfa2ed003fd6a550f89783efd2729e73236a7a authored over 5 years ago
Refactor the Ninja variable value class, and correct some lexer/parser issues.

Ninja variable value now contains the list of functions for composing the expanded value.
For th...

6bb9d8033a9d75e4e4712fd8575041b1f6fddeb2 authored over 5 years ago
Remove use of @ImplicitFor

the annotation was removed in version 2.9.0 of the checker framework,
see: https://checkerframew...

160c81a2fb8719e6fa4b43ed0c021de977b3e431 authored over 5 years ago
Prefer rethrowing Skyframe globbing errors rather than legacy globbing errors.

Skyframe globbing errors are more useful to the user (e.g. in the case of a symlink cycle, the e...

ce0335a31b229e2de530f746807f3790b7c20111 authored over 5 years ago
Update to checker framework annotations version 3.0.0

3a57a5276a0694fffab3d40fef8a42a1bc44680d authored over 5 years ago
bazel syntax: rename SkylarkDict to Dict

This is a breaking change for copybara.

PiperOrigin-RevId: 280231492

a9c9363e15f8637c135b11c34301ae6832a26a74 authored over 5 years ago
Refactor test_glob_with_io_error so we get test coverage in both --keep_going and --nokeep_going mode. Also, since that integration test is exercising usage of FileAccessException, add an explicit unit test for that in FileFunctionTest.

Also, while I'm here, remove an unused ctor of FileAccessException and also add a hand-written C...

ce4cf60eff9f59db1035f22c9bcb555d64f84a29 authored over 5 years ago
Update creation of ExecutionTransitionFactory to always use the factory method.

PiperOrigin-RevId: 280204253

9b324d249e100f60849ecc34c6c91a34d3dbc5d5 authored over 5 years ago
Add missing space

RELNOTES: None
PiperOrigin-RevId: 280201322

f7dd5c29a87caa28f3c2624c55e27b6c070a7edc authored over 5 years ago
Refactor remote package initialization.

Over time RemoteModule#beforeCommand has grown quite complex. In that
it was hard to tell what t...

6bcdf11ff3870fc133bd5467915af9bbd6074c07 authored over 5 years ago
bazel syntax: delete BaseFunction.name field

Leave getName method abstract.
Some subclasses want a field, others need a method.

BaseFunction...

9eca6d565b30e700a4e6babed075a7eec41917dd authored over 5 years ago
Switch the label visitation algorithm have the query environment filter the label deps instead.

Also rename some references to TTVs by the more general term Label to refer to targets in the bu...

6bebe387446d0d5eb260e87ae74c7f11ba67e27b authored over 5 years ago
Hardcode path to dirname on macOS

It seems that some repos have customized PATH so this isn't available.
This should fix that.

Cl...

63332eb556fadfe9edd0806add79942482adddef authored over 5 years ago
Support '\r\n' separators when splitting Ninja files into separately ?

?parsed fragments.

Closes #10210.

PiperOrigin-RevId: 280170780

7535d4c8c9bd98743446ee293796e4b938770705 authored over 5 years ago
Add tool executables (from FilesToRunProvider) to action inputs.

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

Summary: rules are allowed to set `Defaul...

ceadf0a063cb97c32aced143d2447781d1dafc38 authored over 5 years ago
Refactor JavaSemantics in preparation for adding a persistent Java test runner.

This change helps with better organizing the logic around test support when enabling the persist...

d1a9725f5139ac552b032006005ebab9ddb7f426 authored over 5 years ago
Remove --incompatible_use_native_patch

This flag is already flipped in Bazel 1.0, now it can be removed.

Related https://github.com/ba...

b933c4a3b0667e849024ff5071c73364ecfa4da1 authored over 5 years ago
Preload transitive closure for somepath in GraphlessBlazeQueryEnvironment.

We already did this for the traditional query. Not preloading means that we
load each package in...

97ae6206fc4ab87832b4613ea2a8973ecd192b78 authored over 5 years ago
flip --incompatible_remap_main_repo

Make remapping the main repository the default.

RELNOTES: Both ways of addressing the main repo...

81b57d605de823f8e6f846a06d8e50d9a00041e3 authored over 5 years ago
Add JNI implementation required to track memory pressure events on macOS

RELNOTES: None

PiperOrigin-RevId: 280104423

6dd4ad46ed2a1d2070464ce4e29045e498f9c5ad authored over 5 years ago
bazel syntax: rename SkylarkList to Sequence

This is a breaking change for copybara.

PiperOrigin-RevId: 280090855

4871cb0d9c983a5352df05d4f7ab8efb67b2ff60 authored over 5 years ago
Improve ctx.runfiles and runfiles type docstrings

RELNOTES: None.
PiperOrigin-RevId: 280044117

354a6fef5e47ec305551ddec70d94b79430085ab authored over 5 years ago
bazel syntax: rename SkylarkList.MutableList to StarlarkList

This is the Java class that represents the Starlark 'list' data type.
We now have both SkylarkLi...

942e1c4a374a0ece069515d409e7acf9dac508d0 authored over 5 years ago
bazel syntax: delete more dead code after SkylarkSignature removal

BaseFunction:
- remove location field; make it a method of StarlarkCallable interface,
and pus...

275cc6b067927c1bd5f5135c4d359f88d82b3a6b authored over 5 years ago
bazel syntax: rename Runtime.NONE to Starlark.NONE and delete Runtime

...and move Runtime.NoneType to top level.

This is a breaking change to copybara.

BEGIN_PUBLIC...

641bdf7696f0c8812b90f47fff4662822f7b4238 authored over 5 years ago
Improve documentation on {mac|watch|i|tv}os_minimum_os and {mac|watch|i|tv}os_sdk_version to explain how defaults are determined.

PiperOrigin-RevId: 279984024

6d7582591cd75b27d6ebf3ef5471b98acc9ae5b5 authored over 5 years ago
Change description is empty.

PiperOrigin-RevId: 279968408

55233d38364a2fdf7bb8ab9c59776ada6242d178 authored over 5 years ago
Replace macOS CC path with relative path

After this change https://github.com/bazelbuild/bazel/pull/8495 the path
to CC embedded in this ...

c76c3e539c73ecf6e96e3e098be7be59e17bf276 authored over 5 years ago
Fix network sandboxing on macOS.

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

RELNOTES: None.
PiperOrigin-RevId: 2799...

8e7c3494831edba5fef8a29d200d3b63fc282e46 authored over 5 years ago
Multiplex Workers documentation

A documentation for Multiplex Workers. See the original PR for details. https://github.com/bazel...

ac04cd9f78907278b80e04bcf407d8124664887e authored over 5 years ago
Add comprehensive testing for network sandboxing.

This uncovers a divergence in localhost sandboxing between Linux and macOS,
which in theory shou...

8645090197b15a158cc5fed4de205d9e46a2af57 authored over 5 years ago
Avoid Artifact.getPath to work w/ ActionFS

PiperOrigin-RevId: 279945302

2be4a0fa5a6ae0ab1dbe731e1d2355c6e4c3b9e4 authored over 5 years ago
Move retry logic to where it's being used.

Simple refactoring that moves the retry logic from the
RemoteModule to the RemoteSpawnRunner whe...

20342c7c7ebab7729d347a3ec9a51b2f055c7f05 authored over 5 years ago
Fix codebase in preparation for incompatible_use_cc_configure_from_rules_cc

We're working on removing C++ toolchain autoconfiguration logic out of Bazel,
and moving towards...

1bc6fe2511bf363986215edd014b06bfcb758511 authored over 5 years ago
Reset evaluator when --experimental_nested_set_as_skykey_threshold value changes between builds.

Different values of experimental_nested_set_as_skykey_threshold between different builds could c...

7aa0d5b80703ffbac4aa4ecb57398083c4ee0ac4 authored over 5 years ago
Use bzl files from rules_cc repo in unit tests

This is in preparation for incompatible_use_cc_configure_from_rules_cc (https://github.com/bazel...

02d1966146b658c82bb2f352be226d01445e5331 authored over 5 years ago
bazel syntax: delete SkylarkSignature-related dead code

BaseFunction:
- now always constructed with a non-null Signature.
Other fields are now final.
...

19dbe408894ecb9928b91c9a3ea2f4f919e61d83 authored over 5 years ago
Add more details to the examples for query-how-to.html, in particular highlighting how to get a full visual graph of dependencies.

RELNOTES: Updated documentation.
PiperOrigin-RevId: 279859838

2bf4764b26d9c2fec6365273ae02147ca86aa707 authored over 5 years ago
RELNOTES: Add Desugar support for FreezePeriod#<init>

PiperOrigin-RevId: 279843528

11deef7582dfeec7a04ee3f7236393d9b8027367 authored over 5 years ago
bazel syntax: delete setupSkylarkFunctions, unused

Also, move UnboundMarker.

PiperOrigin-RevId: 279826715

b19f3ca051f68cd1be3be013785f53f3ba955063 authored over 5 years ago
Add a new "resource_name_obfuscation" feature string.

PiperOrigin-RevId: 279823537

0b6303ba756787ec9704a7aef7226796308c5087 authored over 5 years ago
Don't throw when encountering providers with multiple "direct" resources/assets

Exports should be bundled as siblings of the library that exports them, so
it's always possible ...

3dbcc714e5b7774421b44d7a55582046d189fd53 authored over 5 years ago
bazel syntax: delete Runtime.BuiltinRegistry, now unused

Also:
- make UnboundMarker.class private and remove redundant uses of it
- create Starlark.UNBOU...

1f28c78705a4310ee97abf1ad2ae495d0da64b85 authored over 5 years ago
Update TransitionFactory.isTool to handle legacy host transitions.

PiperOrigin-RevId: 279766978

f2dfa9db2debe223a791624c2e22e4e58a0a7914 authored over 5 years ago
Fix dependency filters to correctly handle implicit non-tool deps.

In http://https://github.com/bazelbuild/bazel/commit/d39a1ec87f9b8fd36b042edce02de5ba095e0d6e th...

eb023b0058d90ac2ff4415478eb5afdbad1b2f6a authored over 5 years ago
bazel syntax: rename references to Runtime.UNBOUND to Starlark.UNBOUND

Runtime is going away.

PiperOrigin-RevId: 279761482

f7e471b1e65cfa7c9eb5a28fc7f0113f55c5a1cd authored over 5 years ago
Add NOOP __do_not_use_fail_with_incompatible_use_cc_configure_from_rules_cc

Will be used when --incompatible_use_cc_configure_from_rules_cc is implemented.
I'm adding the e...

c863974153faa39b184534f108e1c4f4b0531acf authored over 5 years ago
Delete unused arguments to framework search path functions

They are left over from the framework cleanup.

RELNOTES: None
PiperOrigin-RevId: 279752015

ed528f37f4f812f3fd6e6056567a77794be86efb authored over 5 years ago
Correct references to --compilationMode

Replaces two references to `--compilationMode` with `--compilation_mode`.

Closes #10155.

Pipe...

fe2ecf0ccff759bbc74bb0fefb09a8aee5a76462 authored over 5 years ago
Support non-ASCII source artifact paths on UNIX platforms.

Fixes https://github.com/bazelbuild/bazel/issues/7255, and mitigates some of the most annoying l...

eae93f643ccfe19df24bb1dd837c45056a15c274 authored over 5 years ago
bazel syntax: eliminate all but one calls to Runtime.setupStarlarkFunctions

This functionality has moved to class Starlark, in two variants
that reflect the two different i...

2e63b2a8a9e1dae04d8ccaf641d0e942dd2ad87e authored over 5 years ago
bazel syntax: add Starlark.NONE as alias for Runtime.NONE

The latter is going away (see CLs 279608357, 279609452) but this
step is needed for a three-step...

229080d81ffbcb06bbe37cf5c4a540e7f26f1496 authored over 5 years ago
bazel syntax: rename SkylarkList.Tuple to Tuple

Tuple is one of the core data types of Starlark.
SkylarkList, which should be named Sequence, is...

cfd681f6118ef40e51d980d786c6e9b4b3aa66f3 authored over 5 years ago
Support WORKSPACE.bazel file

Similar to BUILD.bazel file, Bazel now supports WORKSPACE.bazel as the workspace file. If both W...

0af987ba35686826a6e4baf5bf8712b00a327b11 authored over 5 years ago
Add profiling for external repository download and extraction.

RELNOTES: None
PiperOrigin-RevId: 279729299

bba695f2d0de116062e1340a24d8ebaf5e267bb0 authored over 5 years ago
Refactor remote package to only have one remote cache impl.

Historically the remote package shipped two implementations
for remote caching: GrpcRemoteCache ...

6056609dd4d6053ce3bfce951485eff43ee7eb14 authored over 5 years ago
Ignore --strategy_regexp for TestRunner actions.

PiperOrigin-RevId: 279719434

7d17d9833dc9442428689a11f6a8744a9bad6409 authored over 5 years ago
Add parent and included/subninja scopes.

Closes #10203.

PiperOrigin-RevId: 279717191

16c8f3a0612714eafa50ebc48774c36c7e6396ac authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 279714061

827f690e032ffd04c0603f99933e1eca981f3612 authored over 5 years ago
Add Ninja scope, in the form that directly accepts stuff from parsing.

Closes #10196.

PiperOrigin-RevId: 279699906

d666b86a45c016a1e89fe376ed440a7377de8388 authored over 5 years ago
Rename BufferEdge to ByteFragmentAtOffset and pass it into DeclarationConsumer#declaration(): all the declarations should be able to define their scope.

Closes #10195.

PiperOrigin-RevId: 279697369

2563a784b5e7b2ce8dfb1156dcf9b24ea11dc79f authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 279687895

cc73a9ff1896b3a7ca5a973bf1fd1734c1bcc859 authored over 5 years ago
Blaze launcher: extract install_base_key to disk.

Check that it matches before using an existing install_base.

RELNOTES: None.
PiperOrigin-RevId: ...

f8050544937a14d023209d061bc9360bfb9a3e5b authored over 5 years ago
bazel syntax: delete SkylarkSignature and its machinery

We lose documentation of True and False
and the long-deprecated PACKAGE_NAME and REPOSITORY_NAME...

ab3cadc6bb790ef3a1c03fce9291f6e5581b8815 authored over 5 years ago
bazel packages: make native.existing_rule return mutable dict

This restores undocumented behavior accidentally changed in commit 48b446efb3cd6b14e2aa5f8a50c6a...

bd5bc96ed63b7436389186e290e323687fd1fe93 authored over 5 years ago
Allow local files that are tagged for compression to be compressed before uploading.

This is the first step to compressing distributor logs before uploading them, which should help ...

81668116ad7c8f0aff7af89b10d4c2c1cc5c84c9 authored over 5 years ago
Defines binary targets for d8 standalone dexer and d8 incremental dexer. Adds config settings to use them instead of the legacy ones.

RELNOTES: d8 dexers (both standalone and incremental) are now available for use.
PiperOrigin-Rev...

7ce4c1b908e6b5991c9fcd10b3f134e4df96c9fa authored over 5 years ago
bazel syntax: delete Mutability parameter from SkylarkDict methods

In all cases, the correct mutability to use is this.mutability,
and (AFAICT) all callers redunda...

8b228f81d9f8e55707c499eb2edb19e2896440e8 authored over 5 years ago
Fix python incompatible flag comments

These both had old spellings of this flag

Closes #10166.

PiperOrigin-RevId: 279350902

5dd4b22541d6233c7f30794e06ff35864dc77c49 authored over 5 years ago
Remove flag incompatible_disallow_old_style_args_add

https://github.com/bazelbuild/bazel/issues/5822

RELNOTES: None.
PiperOrigin-RevId: 279328336

40d1f454a345f92027910d513331045d5c9aca82 authored over 5 years ago
Allow naming ctor arguments for Android assets/resources info

Their orders are inconsistent, so being able to name arguments avoids bugs.
Additionally, some a...

dd1e091ca3728fc5edd2edf47fd780679242a477 authored over 5 years ago
Add a hook for getting notified when a ParallelVisitor visitation is discovered or completed.

RELNOTES: None
PiperOrigin-RevId: 279320620

71c861e1adb437ae3cc0cb88b19458233ec4ef7c authored over 5 years ago
Remove flag incompatible_disallow_dict_plus

https://github.com/bazelbuild/bazel/issues/6461

RELNOTES: None.
PiperOrigin-RevId: 279292100

3418cd57aa2da8a16dc97da03c911dd5d3aeb042 authored over 5 years ago
bazel docgen: fix bug in detection of string module

method.getClass returns Method.class, not the reflected method's class.

PiperOrigin-RevId: 2792...

60473a11c8584bc7c047106579fbbf64b310163b authored over 5 years ago
Decide whether to compress the JSON profile based on the filename.

Fixes #10171

RELNOTES: None
PiperOrigin-RevId: 279278854

532fc1b06d6863585bff8635ef91be1a9b2daf19 authored over 5 years ago
bazel syntax: expose Starlark.UNIVERSE

This constant contains all the universal predeclared bindings
described in the spec, such as Non...

6901c7919ca7cb2cd1f5592890930eb3ead6391c authored over 5 years ago
Remove the flag `incompatible_no_transitive_loads`.

#5636

RELNOTES: None.
PiperOrigin-RevId: 279183449

cdac07f18ff909cddfe55b7d0cd9280807c9d172 authored over 5 years ago
Update and overhaul runfiles documentation

This also incorporates some new examples from https://github.com/bazelbuild/examples/pull/129

R...

7828dae86a906d0c06db24e644f3d4308378d692 authored over 5 years ago
Remove _embedded_binaries path segment beneath install_base.

RELNOTES: None.
PiperOrigin-RevId: 279160551

3a5b710e2fa52d254eecc39496b0f4a8e4afdabc authored over 5 years ago
Include a timestamp in the bazel --client_debug log format.

RELNOTES: None.
PiperOrigin-RevId: 279154857

0c7e14fac38ccd781c8027c9eed77569f694901a authored over 5 years ago
Don't intern the intermediate String used for starlark String -> bazel Label conversions.

This String is parsed and split during the Label conversion process, so interning this String (t...

5e3df0a97d35529ed7ce0793ea51f8f5b0c6c03e authored over 5 years ago
Remove the ExecutionPlatformConstraintsAllowed enum entirely.

Fixes #8134.

Closes #10182.

PiperOrigin-RevId: 279141108

04be3f816aa36c5b80a519daa572659e69945fa9 authored over 5 years ago
bazel packages: don't return TreeMaps from native.existing_rule

This change does not include a regression test because it would be
oddly specific to a scenario ...

48b446efb3cd6b14e2aa5f8a50c6a58ab4d73888 authored over 5 years ago
Fix ErrorProne warnings in skylark tests.

PiperOrigin-RevId: 279111146

91ed0f32b75193530790c27c7414a865454f741c authored over 5 years ago
py2to3: migrate python_stub_template.txt

Add __future__ imports to ensure the stub works
with both PY2 and PY3. These are the only
PY3-re...

9c1f093b30665a1cc920c8a245b1042e03a99e23 authored over 5 years ago
Move over to using JniLoader.jniEnabled to simplify code.

RELNOTES:
PiperOrigin-RevId: 279092981

0415d6a4fc83451ac7ca80b95673d162e4316a06 authored over 5 years ago
Ninja parser include

Closes #10173.

PiperOrigin-RevId: 279090736

2b63d59bca797e67ccb7f9ee055a8d6078658f35 authored over 5 years ago
RELNOTES:Add support for tracking suspensions (sleeps or SIGSTOP) on macOS.

PiperOrigin-RevId: 279085037

ba7df7d06ae508c44e8468fa1a69a958d3096404 authored over 5 years ago
Refactor Java compilation output handling

into an AutoValue, instead of passing five different parameters around.

PiperOrigin-RevId: 2790...

58d46812993713b07d6402253fc8bd00fc571f7c authored over 5 years ago