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 `Comparable<T>` interface support to Desugar `@AutoValue` unit classes

- This is to support to sort the collection of these types with a default comparison, e.g. use `...

a43e0e7b24ad73a74af26490750fb5c3c36d16a6 authored over 4 years ago
Add "nonconfigurable" to appropriate common attributes.

This automatically happens for most attributes from automatic docgen.
But common attributes stil...

889ae22496cc9a71c593275fc0d1fc073fa1cae1 authored over 4 years ago
The great Skylark -> Starlark class migration:

Final class renaming:
SkylarkCallableProcesser -> StarlarkMethodProcessor

PiperOrigin-RevId: ...

898e6b1c5cf32b18e398c972812d849e51c558ef authored over 4 years ago
The great Skylark -> Starlark class migration:

SkylarkCallable -> StarlarkMethod
SkylarkGlobalLibrary -> StarlarkGlobalLibrary

Both of thes...

8345b792b755a33c4035b2d1dc46c5be05201f58 authored over 4 years ago
Reuse Type-based desugaring helper method for generated classes

PiperOrigin-RevId: 311777967

2c185d1d5d18e21cde9ddf9b65685606bce02c38 authored over 4 years ago
Move Type-based desugaring to a separate method

PiperOrigin-RevId: 311777536

86b235a6a47aa34ea9e83c21626948fd4a932e51 authored over 4 years ago
Make graph bigger so it's easier to see

PiperOrigin-RevId: 311772592

15db61f3b9106dc0693ce04d3b6e8eef6a0183c4 authored over 4 years ago
Encode TestCommand failures with FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 311771553

1db010527c50cbfe30ce81586885ed26e9bc8c99 authored over 4 years ago
Clear exit code in BlazeRuntime#afterCommand() so that even if beforeCommand() is not called on the next build, we won't get a stale exit code, and will emit a CommandCompleteEvent.

Explicitly call out that CommandCompleteEvent and CommandStartEvent are not symmetric (they've n...

dcbbc9ddf319270f178110203c177f1b0e6b18a8 authored over 4 years ago
Update macOS install instructions: Homebrew formulae, Bazelisk

First of all, clarify the situation with the two Homebrew packages.

The default homebrew/core f...

376b75648c32c013c7d88170dbba0d5bd4e0edc5 authored over 4 years ago
Remove dead code.

PiperOrigin-RevId: 311762020

be8e5110538eacb0cb2f4e10835deada07d31a46 authored over 4 years ago
Automated rollback of commit e81c3287cae2d5f98597ef47b1ee1b8219a35f45.

*** Reason for rollback ***

Rollforward: Remove logging files packed in the jar which should in...

767598c42c8930117de75fbbae8fd287847caf74 authored over 4 years ago
Encode TargetPatternsHelper failures using FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 311759493

1bbc3c24d062eb1df67eff61feb06c983162c4f1 authored over 4 years ago
Encode aquery failures using FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 311745177

79ae97f953c90902dbe8f051cd213b2a80c3c8da authored over 4 years ago
Update the documentation for platform-related providers.

Fixes #11306.

Closes #11394.

PiperOrigin-RevId: 311741698

ed40ff986acc00567f7903115a9f042ef93158e6 authored over 4 years ago
Clean up ExitCode uses without details

This CL reduces the uses of an AbruptExitException constructor without
details and conveys detai...

3ce647f06cf28b87708461f427cf3a51ecb8a2c2 authored over 4 years ago
Document that --output_user_root cannot be used for user sharing any longer.

This hasn't been true since unknown commit (2014), and changing this behavior
would expose us to...

0f8cecf40c450e6a1cf9371a6681ce85caf9bf41 authored over 4 years ago
Merge SkylarkClassObject into ClassObject

RELNOTES: None.
PiperOrigin-RevId: 311727988

154b28a66adde011031296a9464052165c68b0fc authored over 4 years ago
Update BlazeExecutor to use ModuleActionContextRegistry and SpawnStrategyRegistry.

Part of the rollforward of https://github.com/bazelbuild/bazel/commit/37aeabcd39fe326d1c4e55693d...

40b6074c0aaa919752b257120148fe09669ad990 authored over 4 years ago
Catch SocketException instead of BindException to handle disabled IPv6

**Problem:**
`StarlarkDebugServerTest` and `DebugServerTransportTest` fails with error `java.net...

2ed2479384a721767e4047bc42122bc1322853a4 authored over 4 years ago
Convert "A User's Guide to Bazel" to markdown, take 2

RELNOTES:
PiperOrigin-RevId: 311721224

3a634fadc0fe52ee562ce3e44f14c9d3c704cad8 authored over 4 years ago
Replace code example blocks with links to the bazelbuild/examples repo

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

RELNOTES:
PiperOrigin-RevId: 311718814

2bb73dae4b504ec696c77206e96a70e3b4385c29 authored over 4 years ago
Split .../lib:runtime

This change creates packages for `runtime/mobileinstall`, `server`, and
`server/signal`.

Update...

e21dcabb0f3efa594a8fbfbb5e5e7acdacf410f8 authored over 4 years ago
Update install-redhat.md for bazel3 package

Per discussion at https://github.com/bazelbuild/bazel/issues/10133,
Bazel 2.x is packaged as baz...

357282fa857a007555ae053afc827283a3e402d6 authored over 4 years ago
Automated rollback of commit ccbc72a120b46191444c22c4269bcdcf9902cb40.

*** Reason for rollback ***

Uncovered a bug in ctx.attr.* and ctx.rule.attr.* values coming fro...

cb28627be954422379556848e8baeb9d6ec69328 authored over 4 years ago
Automated rollback of commit c7e1e2680fc81f258cf2d450419f97654293656b.

*** Reason for rollback ***

This change breaks Android Auto's support for Java 8 APIs in Java 7...

eaf855bbdaf4871953b4f3caf5a55c1433a7c543 authored over 4 years ago
Bound width of graph image so it doesn't get huge

PiperOrigin-RevId: 311598550

7d6119fad0af804eafc68c8486473d0a4cd7e669 authored over 4 years ago
Delete ctx.template_action and ctx.experimental_new_directory

The functions have been deprecated for a long time and are disabled by --incompatible_new_action...

049d69b0f876eca0cee2f59123daa3156fb8a1e8 authored over 4 years ago
Clean up some LazyArg issues: should use utility method.

PiperOrigin-RevId: 311570419

46eb725fb5863170f8360808a04b8c08c961c5c7 authored over 4 years ago
The great Skylark -> Starlark class migration:

BazelEmbeddedSkylarkBlackBoxTest
SkylarkSemanticsConsistencyTest
AndroidSkylarkTest
CppCo...

3eb7402b8df10dfe87cb64ce177d06fb9f04c44e authored over 4 years ago
Delete ctx.empty_action

The function has been deprecated for a long time and is disabled by --incompatible_new_actions_a...

9ce269bea7d660763b32d7437900ba86a4e3fc3d authored over 4 years ago
Remove a usage of AndroidAaptVersion.

Previous passes only removed instances of AAPT1. Version is always AAPT2, unless if it's null (...

28177a62cb9ca2d1c913067457b5b66ded43008c authored over 4 years ago
Expand documentation for features

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

RELNOTES: None.
PiperOrigin-RevId: 311538009

186062eb1f1123ab014a40b0d279b82f3d61447a authored over 4 years ago
Flip --incompatible_objc_compile_info_migration to true

See https://github.com/bazelbuild/bazel/issues/10854.

RELNOTES: Flip --incompatible_objc_compil...

882cc0a911557414864ce875cb5415470ae5a8e2 authored over 4 years ago
Add a link to provider guide from provider docs

Fixes #11310

RELNOTES: None.
PiperOrigin-RevId: 311535433

21c5480ccab17cf65ea7edc006978aa054119ad0 authored over 4 years ago
Fix provider-based links to be relative to current provider overview.

Fixes #10725.

RELNOTES: None.
PiperOrigin-RevId: 311535042

9bbc38f50eb46814d123a3ef4b95fc9a6c17bc08 authored over 4 years ago
Add Debian build support for android_common

f3a1ee124da559ee482aab4c2fd139eafdb6a782 authored over 4 years ago
Add targets for replacing android_common library in Debian build

Working towards: https://github.com/bazelbuild/bazel/issues/9408

RELNOTES: None
PiperOrigin-Rev...

4da75103dafbc5c795040b736e70d134a4941b74 authored over 4 years ago
Automated rollback of commit 5d98324022a156542b768849d4dedcde49eb67d0.

*** Reason for rollback ***

This was helpful in the past and recently added on request of Bazel...

294d6946a2814aefa60223cd95ab3372fbf1432b authored over 4 years ago
Improve documentation for installing Bazel on Windows

Improvements:

- Moved optional steps to the new "Best practices" section
- Addressed comments i...

a6e1d2e43abf2d0d330991949fad882c197a639a authored over 4 years ago
Add mention of package_group's own visibility

Follow-up to #8982.

RELNOTES: None
PiperOrigin-RevId: 311500526

13934f0846b10880e5b96c0bd584684fda1a3def authored over 4 years ago
Centralize base styles for docs.bazel.build using bazel-website's css

The base style.scss is already identical between the two sites; this PR pulls it from bazel-webs...

762c27d2cdc8d66cc4f91a141ec667150e8a5f39 authored over 4 years ago
Automated rollback of commit bb34deeb2949ef19ea383301ed991a117c0e9328.

*** Reason for rollback ***

Breaks aGMM build.

*** Original change description ***

Remove Des...

e81c3287cae2d5f98597ef47b1ee1b8219a35f45 authored over 4 years ago
Document cc_toolchain to avoid unnecessary builds

Document that tags = ["manual"] should be used.

Fixes #10641

RELNOTES:none
PiperOrigin-RevId: ...

dcd19067212bfe2fb7eb2c404c2aa0cf3850752b authored over 4 years ago
D8 desugar: Handle full classpath jars as bootclasspath when required

RELNOTES: None.
PiperOrigin-RevId: 311479833

e70ac0161c9730a7cdc4295b01de0d80ba79bb7d authored over 4 years ago
Remove DesugarClassAttribute

- No longer used, the functionality has been moved to an method attribute

PiperOrigin-RevId: 31...

bb34deeb2949ef19ea383301ed991a117c0e9328 authored over 4 years ago
Add an example of malloc/custom_malloc attrs for cc_api_rules

With a comment that notes that exposing the --custom_malloc flag is just for when you need to ma...

627e38190d3349b9d8ebba4f58d1b5ebc95d56a1 authored over 4 years ago
Reinstate build encyclopedia into the sidebar nav, with light rearranging of some links.

RELNOTES:
PiperOrigin-RevId: 311444021

99715ac9728c74164e4ef0f1339f8df01b5f2d36 authored over 4 years ago
Include -Werror (not just -Werror:) in options normalization

previously we were still passing -Werror through to javac, but handling
-Werror: in JavaBuilder,...

c0e39efccce5ef0482c8aef7aa669a01fc669967 authored over 4 years ago
Exclude Pre Java 7 class file (MajorVersion 50 or less) from Desugaring

- Some third party library jars contain pre Java 7 class file.
- These jars do not need to be de...

c7e1e2680fc81f258cf2d450419f97654293656b authored over 4 years ago
Fix formatting

An internal tag was not closed properly.

RELNOTES: None.
PiperOrigin-RevId: 311422220

dad21edeeaca1a5f539730dbede1a1e7f6b0ffeb authored over 4 years ago
Fix escaped {{ in string documentation

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

Thanks to StackOverflow
(https://stackov...

1057827dc7725a425f4b14147d594b8a97073e16 authored over 4 years ago
Simplify visibility docs

Correct legacy uses of "rule" terminology to "target". Eliminate extra example verbosity.

Follo...

3faaf0383ae759407ed09779d0069eee5151e8d2 authored over 4 years ago
bazel syntax: stop creating wall-time profiler spans for each function call

We have a CPU profiler now, which is more accurate in the presence of
parallelism, as every runn...

5d98324022a156542b768849d4dedcde49eb67d0 authored over 4 years ago
Add defaults to facilitate removing deprecated struct fields.

transitive_static_lib should be removed in coordination with https://github.com/bazelbuild/bazel...

c7dc024dbe9b84610646c3bcfa97f68ef63bb659 authored over 4 years ago
[RFC] Expose tree_relative_path to File API in Starlark.

I have a minimal doc at[]

PiperOrigin-RevId: 311406045

9970b50665dde7197d73131d863613d6758f518a authored over 4 years ago
Expand visibility documentation

- Expand documentation of exports_files
- Fix the visibility page (the header was missing).
- Do...

1c297ba79fcc26f408c326037dc0e5b2ce26b8a9 authored over 4 years ago
RELNOTES[INC]: The startup option --fatal_event_bus_exceptions is now a no-op and will be removed soon.

PiperOrigin-RevId: 311394651

ac7099c65c82d5b11d65685ef1b070761c2b6b53 authored over 4 years ago
Fix handling of default licenses and distribs in query

Manual roll-forward of https://github.com/bazelbuild/bazel/commit/d5f918f2a2574f7363c9ef1ad9c01c...

ccbc72a120b46191444c22c4269bcdcf9902cb40 authored over 4 years ago
Add section about memory and performance concerns to SBC bazel docs.

This steals a graph explosion example from the internal scalability doc.

#6525

PiperOrigin-Rev...

aea28a84579d0335eba62212355ec10d47edd22b authored over 4 years ago
When a missing file is encountered, inform SkyframeActionExecutor, so that any interrupted actions don't spam the console.

Remove duplicate "missing file" error that was always less informative than a later one (to make...

a6dc3edf2f054b55f1bd25bec1d67722ced7e7aa authored over 4 years ago
Gut CommandStartEvent and CommandCompleteEvent. They're not carrying anything that the subscribers can't figure out on their own.

PiperOrigin-RevId: 311385020

d18b08a1f8729490c84391cb353845a3418ac65e authored over 4 years ago
Add a getter for CommandEnvironment#waitTime.

PiperOrigin-RevId: 311384374

6a21a6eddf39eac48982725893c27371ecf7f2b0 authored over 4 years ago
Refactor CommandEnvironment to be more final: make workingDirectory, relativeWorkingDirectory, waitTime(InMs) and commandStartTime final, since they were available at initialization time.

These final fields will be used in the sequels in preference to mutable fields transmitted via e...

45b568bde7769441acc6468a1710156ad2d9780c authored over 4 years ago
The great Skylark -> Starlark class migration:

JavaSkylarkApiProviderApi
JavaToolchainSkylarkApiProviderApi
SkylarkConstructor
SkylarkIn...

47a99f316193b9f1865d0feb1a2a085505661859 authored over 4 years ago
Increase the visibility of predefined build settings.

I was tempted to provide more detailed examples (like a full cycle
of defining and using in a `s...

c212051c99160fa86e81af18b047186ea0f3605c authored over 4 years ago
Update documentation of visibility

Fixes https://github.com/bazelbuild/bazel/issues/8982
Documents https://github.com/bazelbuild/ba...

b925787599b85a44b88246bc660d5564108456d1 authored over 4 years ago
Move documentation of 'visibility' to a separate page

Visibility is a core concept (you have to know about when you create a 2nd package).
It shouldn'...

c44ee628c698358e11e4918ba394e74e6dfba3c7 authored over 4 years ago
The great Skylark -> Starlark class migration:

AppleSkylarkCommon
ObjcProviderSkylarkConverters
SkylarkTestingModule
AspectValueKey.Skyl...

5c8a5f55b9bd2455ed6392f5f334a3b4669199e4 authored over 4 years ago
Fix experimental_disable_instrumentation_manifest_merge doc.

PiperOrigin-RevId: 311353007

564137a8fa2785e24277a4f846abdffe1e0f0687 authored over 4 years ago
Don't crash when the same conflicting actions are built twice. https://github.com/bazelbuild/bazel/commit/1a4066af0ae1123546c792f034da1870f78e54a3 reversed a boolean :(

PiperOrigin-RevId: 311352369

4b96c3d0bba143b149de43bbadc44e02933f59c4 authored over 4 years ago
Make injectRemoteFile consistent with injectRemoteDirectory.

Now both take a RemoteFileArtifactValue instead of the individual parameters. This allows us to ...

b67aaba237e52d3e14e062f5cf0bd1e4513cf073 authored over 4 years ago
Replace last uses of ExecutorInitException with AbruptExitException

Bazel code never meaningfully distinguished between the two.

RELNOTES: None.
PiperOrigin-RevId:...

bae56660504f43e40b8a9373a884bfb62bf7d83f authored over 4 years ago
Improve analysis_test_transition documentation

This fixes a broken link to transition(), and recommends the reader use the existing unittest.bz...

8eb0a29713e1dbfc636c79f5a0322f190120bf5d authored over 4 years ago
Fix crash when config_setting values are parsed as multiple values.

config_setting's contract says that for flag_values = {"key": "val"},
"val" must be a single val...

b44ea8cd670e753635ca6be209a4ef9153422b76 authored over 4 years ago
Update and clean up macOS installation instructions

* Update old URLs
* Use consistent capitalization
* Emphasize the existence of bazelbuild Homebr...

e25cc8a4c507a6d66e2631311f62eee119c55cf7 authored over 4 years ago
Reword a few paragraphs in the "External Dependencies" page

- Rearranged some sentences to clarify meaning
- Noted "workspace rule" as a less commonly used ...

1b7ffb093ef4dc330ee14f0b9a22cc2d08021954 authored over 4 years ago
Fix broken 'workspace' link in BE to point to skylark/lib/globals.html#workspace

The documentation for this function no longer exists in be/functions.html.

RELNOTES:
PiperOrigi...

fe2290f75be57d8eeebbea78d1acb4dd2689b60a authored over 4 years ago
Fix docs for the workspace() function: it's a function, not a command.

RELNOTES:
PiperOrigin-RevId: 311308327

c6e2ab071f8ecc8635c862a56916af9e8246772d authored over 4 years ago
Remove "Return" in docs for Skylark struct fields in CppConfigurationApi

Closes #2930.

PiperOrigin-RevId: 311307777

077e4c22c2dcc32b5e46e11d22826f11e6e10770 authored over 4 years ago
Fix link in repository rule docs

C++ example now points to the right place in code browser

Fixes #11129

RELNOTES:none
PiperOrig...

0dbf21a1566131b71d31ac493186a9fe2b3605c4 authored over 4 years ago
Fix C++ string include

This file uses functions like `strrchr` that are provided by string.h,
it seems like somehow thi...

618f7c073ced6b43098c78571dd084115097840e authored over 4 years ago
Replace ExitCode.SUCCESS use as an argument with #success methods

Specifying non-success ExitCodes without FailureDetail data will
gradually be phased out.

RELNO...

07cbdceae5e656882c811571a40cec23f64c0384 authored over 4 years ago
bazel syntax: start disentangling EvaluationTestCase

This change causes various tests that formerly extended
SkylarkTestCase to extend its superclass...

4444f1a348692086e596a0525d9119d3a6b6cc95 authored over 4 years ago
Make the number of packages we log metrics for configurable and add tests

Sets the default to 10, down from the original 50, which could generate a lot
of output.

This c...

a8a50cfa3279e008f2848c9ee569a1fb706c7d51 authored over 4 years ago
Exclude private method invocation from `shouldUseInlineTypeConversion`

- Trim false positive debug logging: "Missing base method lookup: ..."

PiperOrigin-RevId: 31124...

2acb24b444784fc6329a6219be9eda952c5149cd authored over 4 years ago
Remove treeArtifactContents from OutputStore.

treeArtifactContents acts as a temporary cache prior to the full tree artifact being constructed...

04c546fd4e36462e701bef6c05fa1ad116deee59 authored over 4 years ago
Implement -Werror: in JavaBuilder

PiperOrigin-RevId: 311233509

4cf7a65acabb3309310e016cc299d10f4cd711ae authored over 4 years ago
Remove an unused parameter from ConfigurationResolver#resolveConfigurations.

PiperOrigin-RevId: 311223640

0bbb20e638783f08a8a2db374577bc67cb734699 authored over 4 years ago
The great Skylark -> Starlark class migration:

SkylarkConfigurationField
SkylarkConfigurationFieldProcessor
SkylarkAspectClass
AndroidSk...

18694cd7a94597dcd04f1224635fa66129b6acf6 authored over 4 years ago
Improve DefaultInfo Starlark documentation.

Fixes #3015.

RELNOTES: None.
PiperOrigin-RevId: 311214959

058dd91d33c010f28ffaf848a6c63110d39299ec authored over 4 years ago
Unix domain sockets need to be created in /tmp due to path length limits

Fixes #11089.

RELNOTES: None.

Closes #11366.

PiperOrigin-RevId: 311214354

57728e9a1c103cf6b9b0fe6f2effe49aa213c884 authored over 4 years ago
Unconditionally fall back to the transitive classpath on *errors*

PiperOrigin-RevId: 311208771

8d487e28ade55330b8a5571aa279ee39cb28f781 authored over 4 years ago
Log top package loading events

Useful for understanding where time goes in the loading phase without needing to
explicitly use ...

456494a70664d742163079006626786a689a3fcb authored over 4 years ago
Log the local resources (RAM and CPU) that Blaze determines are available.

see: https://github.com/bazelbuild/bazel/issues/1001
RELNOTES: None.
PiperOrigin-RevId: 311198698

06269bf5e66aeded3fdf57817647c3d4edbdcc4d authored over 4 years ago
Support empty extrema

Supporting empty impl's natively seems simpler than ad-hoc solutions.

RELNOTES:None
PiperOrigin...

1678ed86be619ad7006d26804a960c2bc44d47a1 authored over 4 years ago
Expose --custom_malloc in cpp configuration fragment

That allows rules to do something like:

attrs = {
...
"malloc": attr.label(
def...

c451590a8768e36e4eb3aa5e002d405c3266a51c authored over 4 years ago
Provide transitive digest of bzl files for each Starlark Module.

Replace the optional label in Module with a context object, storing arbitrary
additional data. T...

9f2cab5d84678e492d8f5848525633f1c73f0994 authored over 4 years ago
Mention Windows argument-handling syntax in Actions API docs

Fixes #3104.

RELNOTES: None.
PiperOrigin-RevId: 311172249

60b2eaf0e1cccb3c9ea9a61d47a0602ad4c2fee5 authored over 4 years ago
Add a mechanism to pass extra flags to the process-wrapper.

This adds a new --process_wrapper_extra_flags repeated flag that takes
extra flags to pass to th...

59183b6abb2994ff021dbeafc7f3c136f0218caa authored over 4 years ago