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

Have LocalDiffAwareness handle the situation of a modified file not

being under the watch root gracefully by throwing a BrokenDiffException.

DiffAwarenessManager#ge...

6e5909df3005ac518bdbc9867ef1eff9c3d96e62 authored over 5 years ago
Extend process timeouts in xcode_configure.bzl

With the existing timeouts the processes would occasionally fail on slow machines, causing unnec...

818bc017ac44c35ea574f44af66f54ac9f85999b authored over 5 years ago
bazel packages: don't execute BUILD files with static errors

...such as scanner, parser, validator, or BUILD dialect errors.

Upcoming interpreter improvemen...

cd8353b2d263b1e5fee101a491569400d6550ed4 authored over 5 years ago
bazel syntax: move duplicate-load-symbol check from Parser to Validation

Identifier resolution, including reporting of duplicate bindings,
is the job of the validation p...

7433b1c83a2270d6a6f67118a26ea1d300f52390 authored over 5 years ago
Remove unused device_debug_entitlements.plist

I assume this was previously used with `--device_debug_entitlements` but
now that flag only surf...

33cec54914918d9952773a25a8d2f8a066e3fe47 authored over 5 years ago
Remove unused --extra_entitlements flag

This was never read

Closes #9427.

PiperOrigin-RevId: 272013891

d348504eaa3cf32374f25e1b34dad76d7c91bb03 authored over 5 years ago
Make our tests green again.

RELNOTES: None.
PiperOrigin-RevId: 271932400

beed3377b3fc02877773d8658a4638dd79cd7742 authored over 5 years ago
Fix small typo

PiperOrigin-RevId: 271902619

342b89e77cf7eac7e4e3f1fced4fc9b20da035e4 authored over 5 years ago
Add a comment for a mysterious Boolean map value

PiperOrigin-RevId: 271892448

e83bffb39b78aa2df4a3a6c2b04f54acdab8fe71 authored over 5 years ago
[RPBB] Take the closest dependency for annotating R classes (or not)

Previously, if a library had a layout with "@+id/snackbar_text" and also
depended on the Materia...

1664d54293749a58d4dbdcf06c9c203de84f1ab1 authored over 5 years ago
Make `visibility` documentation more verbose and explicit about the interaction with `default_visibility`.

RELNOTES: None
PiperOrigin-RevId: 271646862

df69527e0c877f7faf98d01da0c47c55e183c439 authored over 5 years ago
Refactor addNativeDeclaredProvider to not implicitly add a legacy key

This should be a functional no-op.
Native rules which need to propagate a legacy key should decl...

5736bbc86171fb8095e19dde19fee90db38f2ada authored over 5 years ago
Fix documentation typo

PiperOrigin-RevId: 271577842

88480418d6a5d5d9b893f23c3c704764ecd021bc authored over 5 years ago
Documentation: suggest use of the 'manual' tag with failure testing

RELNOTES: None.
PiperOrigin-RevId: 271576247

634059873300b9ea6a0903d1043089752e9d99e8 authored over 5 years ago
Fix crash in CollectLocalCpuUsage.

It is possible for time to travel "backwards" (currentTimeMillis() returning a value smaller tha...

f3d42db540ac64ba4df36b612788a5191dd0219c authored over 5 years ago
Move verbose console logging of build-level IDs to the logger.

PiperOrigin-RevId: 271570241

fdfa00cb28dd59d0e149e52daff2460181d54a6d authored over 5 years ago
fix build for Power

The zip -d flag will error if it doesn't find that extension.
This is a fix for Power, but doesn...

5cff4f1edf8b95bf0612791632255852332f72b5 authored over 5 years ago
A flag --remote_default_platform_properties should invalidate the action cache

If the contents of this flag change then skyframe actions should also be invalidated.

Closes #8...

38af41d2645e751808b185992709706c9d278443 authored over 5 years ago
bazel syntax: stop Starlark execution at the first execution error

The Starlark spec requires that execution stop at the first execution
error. However, Blaze's BU...

bb0d36a740ba3e7fe63653aebd56ddd443328e05 authored over 5 years ago
Perform the resource name obfuscation optimization based on presence of ProGuard specs, rather than `-c opt`.

Includes a bit of refactoring around how we determine whether resource shrinking is to be perfor...

1c2128bea5fe5e67acabb62b3b5fa69a9336da4b authored over 5 years ago
bazel syntax: rename BuildFileAST -> StarlarkFile

This change was 100% mechanical, thanks to the distinctive name.
We do not attempt to rename loc...

66d099e9760aa49b8d93844bd81e9b8c147225dc authored over 5 years ago
remote: add a causal relation between a failure to delete a temporary?

? file

and the failed download.

This should provide more details about the root cause of #9399...

4dc78a02095011b8dc4c5c8b8c2f3e241e3ee087 authored over 5 years ago
Create new DefaultInfo for java_host_runtime_alias instead of propagating the same object.

Fixes #9391.

Closes #9398.

PiperOrigin-RevId: 271345582

54b4d3d04669b1dac5cc7e101d5ce9dc5c6b5f42 authored over 5 years ago
Windows: prevent //src:package-bazel* hanging

src/package-bazel.sh now creates a temp directory
and uses that as its root for all output.

Bac...

a9a0f691dec7c32f0323f97d70363bc3a8c89ab7 authored over 5 years ago
Clean-up for list-based strategy selection

Removed unused code after list-based execution strategy was enabled by default

Closes #8970

Cl...

21c313cdd1d1480363ed6c56e1b3300f4a0926a7 authored over 5 years ago
toolchain_vanilla: Unset source and target language level versions

Closes #9415.

The main feature of toolchain_vanilla definition is to support newer
Java languag...

847df729528f6e5919ec8374247eadf792cba544 authored over 5 years ago
bazel syntax: rename Environment -> StarlarkThread

The environment features are about to be removed.

This is inevitably a breaking API change (sor...

a3421e204f22e478382bb8487b96df9dcd8e463a authored over 5 years ago
Add some more testing hooks to BugReport and BlazeCommandDispatcher

PiperOrigin-RevId: 271171850

8108d1ab27c819752dc08391e2e355acc714856c authored over 5 years ago
Mark PackageFactory's glob.include as 'named'

This is a functional no-op, as @SkylarkSignature (as a legacy bug) allows *every* parameter to b...

e36b6825dd35668759f2f35bcd9bea5d49777573 authored over 5 years ago
bazel syntax: remove EvalExceptionWithJavaCause

Also, remove unnecessary constructor of EvalException.

PiperOrigin-RevId: 271158622

93f215f8797fc731b498796d57db7efe6efb4795 authored over 5 years ago
Fix English grammar error (a misplaced modifier) in Bazel summary.

The adverb "only" is meant to limit what is rebuilt ("what is necessary")
and not what is done (...

7dd9ab5572b3bc072a703e35f27fe5a987de6550 authored over 5 years ago
Increase number of shards from 2 to 4.

There is no worker shortage so far and the setup overhead on Macs seems be less
than 2 minutes a...

c2252c6dec18935880dc02e858356cc697e90738 authored over 5 years ago
Also for default attributes correctly convert strings to labels

...by taking the applicable repository mapping into account, instead
of simply assuming it is em...

f371448bf047b294557f6fc1ecec04dcefc62f93 authored over 5 years ago
Update aapt2 executable.

PiperOrigin-RevId: 271118864

b8639974deab560c43ca6b86e966c62c71118719 authored over 5 years ago
Fix BuildIntegrationTest to add a strategy module

This was missing from the test setup, blocking open sourcing tests that
actually need one. The o...

2f124194d5d9d45db566d277e7eff946f6e2a580 authored over 5 years ago
Propagate 'inmemoryUnusedInputsList' from target to host config.

RELNOTES:
PiperOrigin-RevId: 271096291

79187d90899310803a5f890347012443a201bee3 authored over 5 years ago
HttpConnectionMultiplexer: extract header computing function

...to make it testable. Also add a test, as suggested in
https://github.com/bazelbuild/bazel/com...

973c0f453004e9489a91a7fff0dd26f93e43bc99 authored over 5 years ago
Windows: implement getCorrectCasing

Implement getCorrectCasing: a function that
normalizes a path and returns the case-correct
versi...

06d2f6d8ad1a7cde19c064e54e31dad7bd8cfdcf authored over 5 years ago
Updated Aapt2OptimizationActionTest to actually run aapt2.

PiperOrigin-RevId: 271076749

0900c3fdae05708e1e55838988a4946e586f8c6f authored over 5 years ago
bazel syntax: abolish Environment.StarlarkContext

The bulk of this change eliminates parameters of type
StarlarkContext in annotated methods, repl...

7fa0dd27d0a6a05d5838a1d0847b2f48336defe8 authored over 5 years ago
Fix formatting for BEP documentation

The link format used in this doc doesn't work with our site renderer.

See https://docs.bazel.bu...

15023aadaa9ff5f768f96b19215130775e07c6c2 authored over 5 years ago
Doc fix: Starlark transitions no longer experimental

PiperOrigin-RevId: 271027071

752c11b30a632075993d555d7533ff0935c08cf2 authored over 5 years ago
Docs: ctx: Add more cross-reference links

So readers don't have to manually find the referent when they want to learn more.
Assuming reade...

057a5e633941b6a0626bb4357749aebb66d70b92 authored over 5 years ago
bazel cmdline: make cmdline depend on syntax, a reversal

Historically, the interpreter had many dependencies on Label.
Now, they are all broken, and the ...

e95eca85e905da98423c0150e98c2b0fc96aaa3a authored over 5 years ago
bazel syntax: delete unused BaseFunction.unconfiguredDefaultValues

PiperOrigin-RevId: 270967691

298fcb8198878211e60bec2e10fbb755b6e651ad authored over 5 years ago
Add build request id to the command started event.

PiperOrigin-RevId: 270961472

0c994af3fcd1c5ae10ede73f1af11ce41846cb12 authored over 5 years ago
Automated rollback of commit 22d1ef7f866e74d8d1f1d322ce072150b00ca3f0.

*** Reason for rollback ***

Breaks nightly TGP.

PiperOrigin-RevId: 270960700

9394c71047d292d30b6963da503610712e6e8837 authored over 5 years ago
bazel syntax: delete SkylarkImport

https://github.com/bazelbuild/bazel/commit/b2e1fe367269103e127718131163cd702cefcdff caused skyfr...

83439e690144a841ed62f830399c3922007015ad authored over 5 years ago
Remove resource path shortening optimization from Aapt2ResourcePackagingAction.

This is dead code - optimizations now get performed from Aapt2OptimizeAction.

PiperOrigin-RevId...

b66f3f585cf642f7c8acc1145e88dee8e88b659b authored over 5 years ago
Move GoogleAutoProfilerUtils.java to an unused target.

See my comment in the BUILD file in https://github.com/bazelbuild/bazel/pull/9283/commits/227871...

611ed929d018243335a5165fd9d473b849ccbb41 authored over 5 years ago
Ensure that with "android_resources_strict_deps" we can still build a library

with a styleable that depends on another library further away.

Since we can emit valid placehold...

11ae1ec64ec20fb2578e2445893e6352639ef373 authored over 5 years ago
bazel syntax: make several deprecated Runtime.* declarations private

PiperOrigin-RevId: 270938450

1ef148c71fcc1142fa514b9d7fe09d2634082677 authored over 5 years ago
Fix newline handling in markdownCellFormat

Fixes https://github.com/bazelbuild/stardoc/issues/6

RELNOTES: None.
PiperOrigin-RevId: 270938140

3221a6c91f706abbe559c918e0170e41b0fe90d4 authored over 5 years ago
Rewrite documentation on rule outputs

Separates that out into a subsection of the section on Files.

Start with the preferred way to c...

e127b442ba50ebd695b2b86f7ad702c92f2f4730 authored over 5 years ago
bazel syntax: delete Runtime.setupModuleGlobal, two overloads

The only call, from copybara, has been inlined and simplified in unknown commit.

PiperOrigin-Re...

ba3886ac490e1ace440fd1311a267b6bf845f75a authored over 5 years ago
Windows, Bazel client: respect envvars

Respect HOME for the home directory, and USER and
USERNAME for the user name, before trying to f...

b698e20cb9640bb7f3a6934224960233dac03ef8 authored over 5 years ago
Use wrapped_clang for C++ link actions on Apple targets.

The `cc_wrapper.sh` script doesn't perform substitution of Bazel placeholder strings like `__BAZ...

268268833110b2cf2f2dfcc4fb51f1b06cf9b2a3 authored over 5 years ago
Remove dead link in functions doc ToC

In b970b2488a55e476f8773a837698c77ecaf2d18e the docs for workspace were removed from this page i...

d556e53066c208e3f8e9f96e95bfec45f8e45d55 authored over 5 years ago
bazel syntax: relax type of GlobalFrame.withLabel

The "label" of a frame may be any piece of metadata.
In Bazel, when present, it is always a Labe...

a645e606c2f0810d9f0e8c7fcd7e969af472ce78 authored over 5 years ago
bazel syntax: delete Environment.getCallerLabel

The calls to it were removed in https://github.com/bazelbuild/bazel/commit/8be3468c9b16ee8ec4366...

38be9ddc26170d4e48f915e213f76286d3bfaed5 authored over 5 years ago
Better handling of legacy provider syntax corner cases

RELNOTES: None.
PiperOrigin-RevId: 270750090

22d1ef7f866e74d8d1f1d322ce072150b00ca3f0 authored over 5 years ago
Make sure to log execv errors from "bazel run".

This makes all helper Execute* functions "final" by marking them
ATTRIBUTE_NORETURN and ensures ...

8cb0ec2ac0ecdcd42ca94836fe76fcecba4ae3e4 authored over 5 years ago
Support ~ in query label expressions

Change-Id: Ie2565e53737f69c305cf11ae9cb3cda9a3b39152

Closes #9233.

Change-Id: I8a589cd83880202...

0342cee4cf3f8147e5a1ab012853c930a76b0ffe authored over 5 years ago
bazel syntax: move Environment.callerLabel to BazelStarlarkContext.analysisRuleLabel

BazelStarlarkContext is the application state carried by each Starlark thread
created by Bazel/B...

8be3468c9b16ee8ec436628827f3443674b7b70d authored over 5 years ago
Remove grouping comments from FileSystemUtils.

Remove comments added to group methods in FileSystemUtils -- they do not add
value nor make it t...

67fa629762aa9e6a50679605d0873ca0397b18ed authored over 5 years ago
Remove flogger dependency from Starlark

The only place where Starlark dependency uses flogger is `NestedSet`
handling of futures.

Remov...

90bef86f56eb6f0fee24e0b0c05820fa4d26728f authored over 5 years ago
Make include scanning work with objc

RELNOTES: None
PiperOrigin-RevId: 270687055

f0d8653c9c2a7fc02c8e47236ea341ae19394264 authored over 5 years ago
Bazel client: fix string conversion functions

The string conversion functions now work for
non-ASCII input:

- Fixed WstringToCstring (UTF-16 ...

b864ced191ce479a2bce54be696bde033fda151a authored over 5 years ago
Add support for tree artifacts in include scanning

RELNOTES: None
PiperOrigin-RevId: 270672924

8b873b2f60552161e2f6e09950ab13e48e717b09 authored over 5 years ago
Windows, VFS: stat treats junctions as symlinks

FileStatus.isSpecialFile() no longer returns true
for junctions.

This allows FileSystem.direntF...

0c5fb2197c304055e46f56390f6332e61aad71ce authored over 5 years ago
Prevent action-cache duplicate suppression

Exceptions that are reused between download futures must not be added to
the suppression of them...

f7a31b30f5319639c36a6c6b1c14f358597d98d2 authored over 5 years ago
Use Bazel CI sharding on tasks that benefit from it.

This cuts down our presubmit times to ~29min. Further improvements will follow from migrating al...

f7e9ca7e39a58cf4ff37f6509e5d497c321a1834 authored over 5 years ago
bazel syntax: delete IfStatement.ConditionalStatements

An if/elif/else chain is now represented using a new IfStatement for each elif.

This reduces th...

fd8b8e1e4d11ab26220404f4e66779a3eacf0e15 authored over 5 years ago
bazel skyframe: break dependencies on SkylarkImport

Currently, at parse time we construct a SkylarkImport for each load
statement, applying various ...

b2e1fe367269103e127718131163cd702cefcdff authored over 5 years ago
Make sure CommandCompleteEvents have the right exit code on hard crash

PiperOrigin-RevId: 270307582

82c7f48b4628ebbec18123afdbed701bbaa605e2 authored over 5 years ago
Allow patch arguments to be specified as function parameters

There are many scenarios where the patch function is useful, other
than when directly applying a...

b892fd22b8a6572f23dbff47c98cf4c9fef68c19 authored over 5 years ago
Propagate InterruptedException from OutputService

All blocking APIs should have a way to return an interrupted status.

PiperOrigin-RevId: 270280905

85b07739d7f7586728c834184d5e1937e6f67ba8 authored over 5 years ago
Readd support for authentication and .netrc

Now that the root cause of #9327 is fixed in e38d83871b39ed5f69cad903fa97e90b47a59875.

This rev...

c3d73f704f415248dc0f92d77e171cfd1fb1f327 authored over 5 years ago
bazel syntax: break Printer -> Label dependency

The only use of Label is in WorkspacePrinter, which can be moved near one of its callers.
The ot...

40fa8152da8424e5f3402c2d0457747cdc42f658 authored over 5 years ago
Apply repository-mapping also to target patterns

Target patterns are to be read in the name space of the main
repository. This namespace, however...

94e6cf6bb9aadbd2c8eb95f7bae85be5a3650092 authored over 5 years ago
Try to improve the runfiles documentation

* Link to relevant API documentation
* Targets do not have a transitive_runtime_files attribute,...

6193cfd60b5c16d12fab7f280460d611d45ff041 authored over 5 years ago
Clean up skydoc_test

RELNOTES: None.
PiperOrigin-RevId: 270085139

07e0369d82f5df9fae84c208d0c21a1ba2f6127e authored over 5 years ago
Add extension points to support testing BazelBuildEventServiceModule.

RELNOTES: None.
PiperOrigin-RevId: 270053348

01bbbef04ee4f356c2f36c0e3f99efbc622e93c7 authored over 5 years ago
Extend XcodeVersionRule to tag Xcode versions with their origin (local or remote).

RELNOTES: None.
PiperOrigin-RevId: 270048445

87506825333846359462f37d92b6f7bd2119f109 authored over 5 years ago
Make the dynamic spawn scheduler use cross-cancellation between spawns.

This modifies the dynamic spawn scheduler so that each pair of concurrent
spawns has the ability...

0bf5bbd90f3fd702fc838d9a144b599ad0490c4d authored over 5 years ago
bazel syntax: move value operations out of syntax classes

BinaryOperatorExpression:
- move compare, in, plus, minus, mult, divide, etc into EvalUtils
- mo...

a628e786b380e4ba96316e8458b5702e8e4ba578 authored over 5 years ago
Respect --record_full_profiler_data in the JSON profile.

RELNOTES: None
PiperOrigin-RevId: 270015852

e0ffbde5a66c1efd23ad4552341385c917d1dee1 authored over 5 years ago
Simplify ProfilerTask setup.

RELNOTES: None
PiperOrigin-RevId: 269986000

b10a91eb3ae5da3267e3348192bb1f6b0034430b authored over 5 years ago
Wire up the resource optimization config file from shrinker to optimizer.

This replaces the usage of the AAPT2 "whitelist" which is going away due to its ambiguous name a...

935e0bb3ca02507ee0580842bbe21fe7c6974946 authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 269939206

e79dfd4085243d02c5fb743f5f35ed83f7881a9b authored over 5 years ago
Update Aapt2OptimizeActionBuilder to use new `aapt2 optimize` flags.

PiperOrigin-RevId: 269937268

82d1957209e25d39b380a8470bd87560e1273694 authored over 5 years ago
Add --min_sdk_version to DexBuilder.

RELNOTES: None
PiperOrigin-RevId: 269914077

4d8f20c5588231ae5117697d44fc1aa29865bbc8 authored over 5 years ago
Add JsModuleInfo to the list of non-bootstrap globals.

This unblocks effort to move js_module to Starlark, see[]

RELNOTES: None.
PiperOrigin-RevId: 26...

d40a466d2de0700adb3d0ee1c57aed3c80b634d9 authored over 5 years ago
Try to bring some more clarity into DynamicSpawnStrategyTest.

The tests derived from strategyWaitsForBothSpawnsToFinish were really
difficult to understand du...

02c56438fa447df9e3fcc680d6ad53c6cbd52981 authored over 5 years ago
Use Java 8 Predicate in FileSystemUtils.

FileSystemUtils uses the Guava predicate, replace it with the java.util
version.

RELNOTES: None...

604d3a1d1ab869182b84ccfe976f8b7b5e6d1a51 authored over 5 years ago
bazel syntax: remove FuncallException

The purpose of this exception is unclear.
In practice, MethodDescriptor.call turns all exception...

42720adcbaca6622d8fab92f70834c70754e73cd authored over 5 years ago
bazel packages: remove attribute locations

Currently, along with the value of each rule attribute, Blaze records
the optional source locati...

706d75b172dba318a9fecc106fa15b6d01eb21c1 authored over 5 years ago
Further improve error message.

RELNOTES: None
PiperOrigin-RevId: 269829330

b1e1aeb7962a846abef9f50362a04ad5145efcda authored over 5 years ago
skydoc: break dependency on SkylarkImport

This concept is going away from lib.syntax.

PiperOrigin-RevId: 269828148

3189258ec4716b9d6242ed74e544c678a4ca145a authored over 5 years ago
PathFragment factory methods guarantee EMPTY_FRAGMENT is only empty PathFragment.

RELNOTES:
None.
PiperOrigin-RevId: 269818481

272ffed20cc8e8146e545a04c21dbd227dc65905 authored over 5 years ago