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

Use system_repo rule in Debian build

Previously, we use `new_local_repository` to make binaries and headers under `/usr/bin`, `/usr/i...

6c723e5ff388af3254386c41c6852dba9586f12d authored over 4 years ago
Bootstrap with system jar files in Debian build

In the compile.sh script, we search all jar files under third_party directory and provide them t...

fcc7d4aeb2af0139f001d519e7231783b6e3dabf authored over 4 years ago
Fix proto compile and derived directory while bootstrapping from the original source

In Bazel's Debain build, we'll use Bazel's Java [bootstrap_toolchain](https://github.com/bazelbu...

89cfb7066d1a43280d68b23236c5d64331b5a22f authored over 4 years ago
Bootstrap JavaBuilder with Debian system jars (main)

The bootstrap_toolchain depends on jar files directly. We also need to replace them with system ...

37b3a09c468ea68ac880f08b5759f16572b51d4d authored over 4 years ago
Always use //src/java_tools/buildjar:bootstrap_toolchain

To build Bazel without downloading remote java tools, we'll have to use the bootstrap toolchain....

8e0f66aa4ab90b509b2af543347f8f57e4ec2a99 authored over 4 years ago
Remove unused files

RELNOTES: None
PiperOrigin-RevId: 313044843

4f2d50cefd1db2b099a6ef2296a6d14e6a7abd3a authored over 4 years ago
Switch to a more recent version of Stardoc

Pages like https://docs.bazel.build/versions/master/repo/http.html#http_archive-patches contain ...

8062ca450d3d1010026d36bd8f19ccb1bb932df9 authored over 4 years ago
Do .bzl load cycle detection by key instead of label

The inlining code path for StarlarkImportLookupFunction does its own cycle detection since it do...

6152425d599996573e1d0c5236198c689db68152 authored over 4 years ago
Tighten the types of some of the machinery surrounding .bzl skyframe inlining

Tighten SkyKey to StarlarkImportLookupValue.Key for the internal functions of StarlarkImportLook...

bc884e14f16ab7d1f6729a0485dfc281239d16a5 authored over 4 years ago
Rationalize StarlarkImportLookupValue.Key

This is refactoring work toward adding a new kind of .bzl loading context, for Bazel-internal .b...

7154be04665e2d957b2b38b624f50ff3d006fced authored over 4 years ago
Adds a missing space.

RELNOTES: None.
PiperOrigin-RevId: 312773125

034b09e810de42baac8e1a431eab6acd91b2c8a1 authored over 4 years ago
Add Logging for non-increasing Clock#nanoTime calls.

We see negative duration values when calling CriticalPathComponent#getElapsedTime and these valu...

f57b5c576d02e4a8e231142f46a72dfd06e11983 authored over 4 years ago
Desugar: Update the comment for the preconditions of adding `DESUGAR_JAVA8_LIBS` invocation replacement range

PiperOrigin-RevId: 312728212

9da485a16b19d7703ca8b135816712371370b4ce authored over 4 years ago
Automated rollback of commit c9b9b4bc4f2d2f629ba76d083b22ed847b89bde8.

*** Reason for rollback ***

Appears to be cause of docs.bazel.build breakage

I think it's beca...

30781fb121da7e3e4bb627586b26957beeec4425 authored over 4 years ago
Rename ActionExecutionValue#createSimpleFileArtifactValue and make it an instance method.

The name of the method is misleading because it doesn't create anything new, just gets it from a...

72d648a4e3ac9ad930a540e8858dbe4e893719c6 authored over 4 years ago
Make sure we communicate a BEP transport crash to the caller.

RELNOTES: None
PiperOrigin-RevId: 312696038

064d15dd8dca19fa9fdf5736f422c2fc99b33cef authored over 4 years ago
Implement --shutdown_on_low_sys_mem for macOS.

This extends the ServerWatcherRunnable to recognize memory pressure events
on macOS to determine...

91fc5f30b42a6c760c72aeca63c7926e2b0dad75 authored over 4 years ago
Tighten parameter types for markOmitted and injectDigest.

ActionMetadataHandler ignores non-Artifacts anyway. Additionally add a test utility for a throwi...

00c70f90505ba11108ee784cb8facdc5ed698f66 authored over 4 years ago
Fix MemoryPressureCounter JNI hooks on Windows.

The name of the native methods was wrong so calls to these functions would
fail at runtime.

Par...

97c5e5750508b75c39daae1cb47f01c13ae377dd authored over 4 years ago
Simplify Dependency and make it use AutoValue.

Part of work on toolchain transitions, #10523.

Closes #11460.

PiperOrigin-RevId: 312676534

1f6758f6a7426f1ebc48f4d1ba8538613e703e99 authored over 4 years ago
Migrate docs.bazel.build to use GitHub Flavored Markdown instead of Kramdown

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

RELNOTES:
PiperOrigin-RevId: 312625136

c9b9b4bc4f2d2f629ba76d083b22ed847b89bde8 authored over 4 years ago
bazel skyframe: eliminate maps where lists will do

The use of maps forced SkyKeys to be computed twice,
once to form the request, and a second time...

699a90a47b7ec78816f3b85b3ba8fd64837b3134 authored over 4 years ago
Prune description of InstrumentedFilesInfo

The bit about InstrumentedFilesInfo signaling that a rule provides _source_ files that could be ...

38db552e571eb82864c4f70d9414c635f387a687 authored over 4 years ago
Clean up Desugar Flag `--retarget_core_library_member` under `--config=android_java8_libs`

PiperOrigin-RevId: 312577088

e99816ff08dd4c4a37c7f8ce5d835729cdbce5ca authored over 4 years ago
Remove unused code: Legacy Android core library constructor invocations

PiperOrigin-RevId: 312569884

8981b74f1ff4d04e875a43375472bd3ea4f7311e authored over 4 years ago
Remove lib.runtime.commands from lib.runtime

Pre-work for splitting `.../lib:runtime`.

This change
- Renames `runtime/commands/ProjectFile...

10d7a160e0989a86dc18c34e785ee21ef37b4b40 authored over 4 years ago
When waiting for subprocesses in the process-wrapper, handle zombies.

Fix the new "wait for subprocesses" feature in the process-wrapper, which
is still behind the -W...

c6f0f41c8ee8f40b97b1c1c94ca9b75afb02d961 authored over 4 years ago
Default CriticalPathComponent duration time to 0 if there is a negative duration.

Clock#nanoTime may return different a time due to the "fixed event" being different in subsequen...

4e12ba6772d75f8cff5080558de1b54369c7fc49 authored over 4 years ago
Remove stale comment now that test_max_open_file_descriptors is fixed.

see: https://github.com/bazelbuild/bazel/issues/10679

RELNOTES: None
PiperOrigin-RevId: 312530658

1cf1d3ab24b01cc489d99a6f16c81ee005eb0d80 authored over 4 years ago
Allow re-exporting of module maps/headers from dependencies' `CcInfo`s when merging.

This change adds a new `direct_cc_infos` keyword argument to `cc_common.merge_cc_infos` that tak...

137b759c8f6d37d7512d621571aa9446d5c1ec4d authored over 4 years ago
Skylark -> Starlark for various methods, variables, constants, etc.

PiperOrigin-RevId: 312506803

b100b1d65f45864efb8e9855cdce6e3de2deec66 authored over 4 years ago
Add StarlarkBuiltinsFunction

This is the first step toward allowing predeclared symbols in BUILD and .bzl files to be overrid...

a61681ec7bbc45b7e22cede4f19a1e1c036495f8 authored over 4 years ago
Add override for worker mnemonic via execution requirements

Sometimes the same (heavy) binary is used for different actions that may
have different performa...

ade95d8fa7e5e2bbeb6da06574ba3143b35171f0 authored over 4 years ago
Allow blaze info to ignore starlark options

Fixes #11301

PiperOrigin-RevId: 312470710

2ec58f60ae1732f4c1d09330c4583050ac8d1f46 authored over 4 years ago
Phase out use of ExitCode without details in some tests

This makes it easier to restrict the use of methods that don't specify
details.

RELNOTES: None....

fbc43bbe48ca37f4ec0db2b80f5400e71f9640b0 authored over 4 years ago
Prepare SpawnMetrics to be used for workers

This introduces an enum `SpawnMetrics.ExecKind` to indicate whether
the metrics refer to remote/...

d9aa8aea0e248415e3a237f807aa909417dbe3c2 authored over 4 years ago
Encode VersionCommand failure with FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 312434572

6ef0983093d0a1a6fee142ab66f026a0c9719779 authored over 4 years ago
Encode RunCommand failures with FailureDetails

A followup CL will encode failures within runfiles construction.

RELNOTES: None.
PiperOrigin-Re...

01b33c24a33e562bbb20dccca6ee1e522eec2bbe authored over 4 years ago
Encode QueryCommand failures with FailureDetails

A followup CL will encode failures within query setup and evaluation.

RELNOTES: None.
PiperOrig...

ff2196170d97c5a38ccbbd0b10682f33b792dc6b authored over 4 years ago
Encode ProfileCommand failures with FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 312427187

bbd78692827611d8182fbff966cc64d3f2279637 authored over 4 years ago
Encode MobileInstallCommand failures with FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 312423138

a0f7eb1a706780c6b4de081b912320c1a157c836 authored over 4 years ago
Fix some broken links in toolchains.md.

PiperOrigin-RevId: 312423097

3a3f4284cb37a701cffe981156fcfa5aeefd12ee authored over 4 years ago
Reserves failure details field numbers for internal use

RELNOTES: None.
PiperOrigin-RevId: 312420210

80678d7629ef5123f734dce827b0d5812522557e authored over 4 years ago
Encode HelpCommand failures with FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 312416797

1c378162e0d8535222159dc2768668d4f3934fa1 authored over 4 years ago
Encode DumpCommand failures with FailureDetails

Includes some minor fixes to failure tracking and some code cleanup.

RELNOTES: None.
PiperOrigi...

6457ec3113136d3381ea220e08056ce67f5f7914 authored over 4 years ago
Encode CqueryCommand failures with FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 312411486

d84a5f30e927576eabcc197d863d8de7fc29a5cf authored over 4 years ago
Encode ConfigCommand failures with FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 312408964

2f1a78de3a9656f176f518689c5ed325a8c19425 authored over 4 years ago
Encode CleanCommand failures with FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 312355942

01e0d2398bd029e38d89b7759495bfda47f9676c authored over 4 years ago
Add a flag, --experimental_verbose_failures_filter, that gives finer control over failure reporting: rather than dump command lines for all failed actions, dump only for actions whose labels match a regular expression filter.

The existing --verbose_failures flag is still available as an equivalent for --experimental_verb...

b77bf3c7f8d2872ce7ed33f063ccf1cfc1ab22aa authored over 4 years ago
Stop using EXPERIMENTAL_BUILD_SETTING_API in StarlarkFlagGuardingTest becuase that flag is going away. Replace with EXPERIMENTAL_SIBLING_REPOSITORY_LAYOUT (chosen at random)

PiperOrigin-RevId: 312352442

6edeb84c1fee9df05099eafb7affe3f3330698e8 authored over 4 years ago
Do not re-run Ninja actions when only order-only inputs change.

RELNOTES: None.
PiperOrigin-RevId: 312347597

226ad7f1e2ca26bb41d4bd7ee6440fb73a564add authored over 4 years ago
Remove charset from ParameterFileWriteAction. The sole use of UTF-8 was a bug.

Generally when blaze has a String on its heap, the contents are encoded as
latin1, regardless of...

25aa8dacab894ea75cc35e249f4782877cd82f5b authored over 4 years ago
Allow InMemoryNodeEntry implementations to customize creation of DirtyBuildingState.

PiperOrigin-RevId: 312341883

9be33c8370ecd50f79bbde84c0b08996b5cb4836 authored over 4 years ago
Document that ActionAnalysisMetadata#getOwner() is never null, add some Preconditions checks to make that more clear, and ensure that ActionOwner's fields are never null except for the SYSTEM_ACTION_OWNER wart.

Also do some drive-by serialization annotation clean-ups and other housekeeping.

PiperOrigin-Re...

94ff76021c20550587f416859ea829394f0ed9da authored over 4 years ago
Re-implement javac-noparameters in JavaBuilder

PiperOrigin-RevId: 312326797

b1a8e383be178874051f91147cc90de66c8f51ba authored over 4 years ago
Introduce configuration transition fragment declarations.

See https://github.com/bazelbuild/bazel/issues/11258 for context.

This essentially converts Con...

ecb61eebbb93111b87a878ce920cd4914f7d47fb authored over 4 years ago
Add Builder class for Dependency.

Part of work on toolchain transitions, #10523.

Closes #11438.

PiperOrigin-RevId: 312304017

696e302b1765b2c7cfa9e24f4b9903ce39e27b60 authored over 4 years ago
Skylark -> Starlark for various methods, variables, constants, etc.

PiperOrigin-RevId: 312298717

773b95f947fbba51185db6548ba63c2008bed8ec authored over 4 years ago
Reserves failure details field numbers for internal use

RELNOTES: None.
PiperOrigin-RevId: 312289874

3b2843021702086568e896ebab6e40657a40025f authored over 4 years ago
Fix windows --watchfs

As discussed in #1931 --watchfs was made a no-op on windows in d04d7baa1605c8c3a637255bd61c00dba...

33106877277e6bfb3944b5b65b5d700fb781764e authored over 4 years ago
bazel syntax: disentangle StarlarkThread and Module

New interpreter API (if you don't use a helper function):

To call a function:

try (Mutabili...

09d1370d4f6d334d24059a9fe3b2f960658733d1 authored over 4 years ago
Reenable fsevents tests.

I've fixed a bunch of additional problems in fsevents (incorrect
handling of directory notificat...

9ec7232bb753e6e65743c448973cd971c919ce04 authored over 4 years ago
Fix error in dynamic_deps of cc_[binary|test]

It was incorrectly giving an error when the same shared library was linked more
than once.

Test...

5f083b8f5a073a3427d575aa54eac5b779226708 authored over 4 years ago
Split ConfigurationTransitionDependency into a new class

and break relation to the existing Dependency.

Part of work on toolchain transitions, #10523.
...

2a54659ec05d4f603754ed8843ea286ce5024cd9 authored over 4 years ago
Fix tiny format issue I noticed while looking at https://github.com/bazelbuild/bazel/issues/11428

Just some missing whitespace after periods.

RELNOTES:
PiperOrigin-RevId: 312256129

fe1c9cc73f9594ac3f436c729e0298500b2cd045 authored over 4 years ago
Move `--retarget_core_library_member` flag to text proto configuration.

- Unify and reuse `ClassMemberRetargetRewriter` for invocation site replacement logic.
- Prepare...

546f1a0c7d66e5cf91c1faa836afb22a29e7d11f authored over 4 years ago
Consolidate Rewriters of method invocation retargeting

- Move hard-coded class member retargeting into a text proto config file.
- Replace ad-hoc count...

c034d7109adb2060bc05ebba189d2a423acd09d4 authored over 4 years ago
Also suppress the AutoValue's processor 'mutable' warning

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

PiperOrigin-RevId: 312174307

d869c238572a703134cb6665fc343b7f9155bbe6 authored over 4 years ago
bazel skylarkinterface: move to net.starlark.java.annot

This is a breaking API change for copybara.

PiperOrigin-RevId: 312172086

b017468d07da1e45282b9d153a4308fdace11eeb authored over 4 years ago
Fix bug from 29bc580728eb

PiperOrigin-RevId: 312169944

2083aad9de6f092e3efcc51fdb0fb63e3e9a2d1e authored over 4 years ago
bazel packages: improve doc comment of Type.convert

BUG=153053875
PiperOrigin-RevId: 312160564

c006d36ae88606dc1c45ccf621ce26213d7f9c5a authored over 4 years ago
Permit omitting top-level action template expansion outputs.

If the outputs are omitted, just return OMITTED_FILE_MARKER from ArtifactFunction instead of att...

3b2967d2cd5ae06261e6cfda80f84b3019d56569 authored over 4 years ago
Parse exec properties attribute into exec group properties for RuleContexts.

Exec property keys can take two forms: "property" and "exec_group_name.property"

Note - this do...

6fe70c2fef70b8a3da3aa3cbea26c6bf60f17e13 authored over 4 years ago
Fix MacOSXFsEventsDiffAwareness to handle directory renames properly.

Tested: The MacOSXFsEventsDiffAwarenessTest are currently disabled due to
flakiness so I manuall...

d6095ccd781cf8364c20167cb075a2838665183f authored over 4 years ago
Allow setting test_tmpdir to outside of execroot for `blaze run`.

When running a test target using `blaze run`, we can specify the
`--test_tmpdir` parameter, howe...

5e266a29bfc9feccad2303097d3cf02d0c544f28 authored over 4 years ago
Fix Starlark globals page

RELNOTES: None.
PiperOrigin-RevId: 312139499

c0b97b19f7e06600d6b05e565294bfc27e15543c authored over 4 years ago
Create a clearer distinction between normal tree artifact children and action template expansion outputs.

Two different factory methods are used: createTreeOutput for normal tree artifact children and c...

1d8d138183995ee41bbdb5b7ee8b6c023e558fba authored over 4 years ago
java.starlark.net: rename com.google.devtools.starlark

This change renames the Java packages of the Starlark
interpreter and REPL command.

The Bazel t...

cb5dc080dae009c43b30c2981ee7590e8f9c2ea4 authored over 4 years ago
Break cyclic dependency between lib.runtime and lib.runtime.commands

Pre-work for moving `.../lib/runtime/commands` into its own package.

This change
- Renames `r...

a749f00102684a4efc698b84f285d8d453fde9af authored over 4 years ago
Complete example on "bazel info bazel-bin"

PiperOrigin-RevId: 312116430

29bc580728ebedc16db1c532d2e24201429e3720 authored over 4 years ago
Fixing typo from embeded to embedded

The word `embeded` should have been spelled as `embedded`.

Closes #11416.

PiperOrigin-RevId: 3...

a067335aef9987c1841cc6aa92f8975760c874ee authored over 4 years ago
Skylark -> Starlark for various methods, variables, constants, etc.

PiperOrigin-RevId: 312113900

61ec8d1bec3c8281a12e17c4498816d945c72058 authored over 4 years ago
Make sure to wait for all subprocesses in the process-wrapper.

This is take 3 of https://github.com/bazelbuild/bazel/commit/7828118ea8f4150aa1eae4ab3133935ffe2...

b07b799cdf25661f1d59a8fd9d941c702886d3b8 authored over 4 years ago
Fix suppression of AutoValueImmutableFields in BazelModuleContext

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

PiperOrigin-RevId: 312090740

35aeb9d56d57b1ef474170f9ab0a2d36e8836e3a authored over 4 years ago
bazel syntax: break dependency on lib.profiler

...by injecting the wall-time profiler from a
static initializer in lib.packages.

PiperOrigin-R...

8329068a6551f67a2c45337dcfbc806621ead3db authored over 4 years ago
Don't crash in RetainedHeapLimiter when no tenured GC collectors are found: some JVMs in the wild may not have what we expect. Instead, disable the functionality and log the names, which should help add the appropriate collector names in a future Bazel release.

Closes #8775

PiperOrigin-RevId: 312086127

d59f903d50e204a1a85fe5c60641525b68291334 authored over 4 years ago
bazel syntax: stop using concurrent.Immutable annotation

The @Immutable annotation specifies that it is for documentation only.
Historically lib.syntax h...

121224e73780aa6d97988780c2bd1a2fa8a87e6b authored over 4 years ago
Make it possible to do `bazel query @bazel_tools//...` without errors.

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

Closes #11404.

PiperOrigin-RevId: 312081393

9ef27943fabcffd9038e19fbb4b79793cf25cc73 authored over 4 years ago
Don't start server on shutdown.

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

RELNOTES: None

Closes #11419.

PiperOrig...

c235a73c6b82b629fc6c33411ac87b426392ad77 authored over 4 years ago
Ignore diff notifications for the root directory.

The MacOSXFsEventsDiffAwareness implementation reports change events for the
root directory/ies ...

b03765aa1944976ea22cb3f90ca81682be105f0b authored over 4 years ago
Add more context to exception

This was helpful in debugging https://github.com/bazelbuild/bazel/issues/11392

Closes #11396.

...

8cb80f9a55e46577b5730e50f2b2f0cbb9d47533 authored over 4 years ago
Don't retry UNAUTHENTICATED gRPC responses

These failures will not be resolved by simply retrying, they require
performing some kind of aut...

3fd04ed102b9e6924d1981d3c89e6a687f7c492e authored over 4 years ago
Make it possible to do `bazel query @bazel_tools//...` without errors.

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

Partial commit for third_party/*, see #11...

22d7e77f60f98187c7134165cdd55775df6a1c7e authored over 4 years ago
Clean up incorrect Javadoc from http://https://github.com/bazelbuild/bazel/commit/02ce2a6a9700fd09fc6a7c944d7ef79abf9dbf4e.

PiperOrigin-RevId: 312065931

c52cfa4332ea37c2f961d0cfa38e409454931e7f authored over 4 years ago
Fix broken link in documentation for --dump

- Clarified in the documentation of @Option.help that it should be in plain text
- Also removed ...

989d064cb3719a2d20de32c14e62218d8f2c21ef authored over 4 years ago
Fix recommended rules block in external BE.

RELNOTES:
PiperOrigin-RevId: 312052011

5e08e464944fbc9400679269b32ef1e12d7a89ae authored over 4 years ago
Update outdated codeowners file.

Closes #11420.

PiperOrigin-RevId: 312041267

611e9840ce6ccecc1d5ac69a3785946e11555ce4 authored over 4 years ago
Link to Recommended Rules from external Build Encyclopedia.

RELNOTES:
PiperOrigin-RevId: 312036871

ac8c4ca0ba071cdde01b89d31cf387726d17140d authored over 4 years ago
Add missing gnupg dependency.

Otherwise it doesn't work in a Ubuntu docker container.

RELNOTES: None

Closes #11418.

PiperOr...

30f0bc55b01eb256dfa9465c5d50d29471ed1caa authored over 4 years ago
Correct link to patch utility functions.

Closes #11413.

PiperOrigin-RevId: 311841550

0932d0e9fc9fb68e0745f1d5c0b46ca34b6b6f54 authored over 4 years ago