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

Remove JavaCompileActionBuilder#build's dependency on RuleContext

this is a noop pre-factoring for experimenting with using an ActionTemplate
with JavaCompileActi...

e7380c52f945636f9d0cfe5b0c6faab1ced2b737 authored over 5 years ago
RuleContext.Builder: expose Starlark semantics

For various verification tasks in build(), the RuleContext.Builder passes
itself as context. Ver...

3805300fd7d219a8d4db1830f45338a269bb3718 authored over 5 years ago
RuleContext: support visibility check for labels

...instead of only for rules. Separating out the check allows
checking visibility against other ...

a85af94aef37b166e0e72f8b0ce0f2cdd5090e8e authored over 5 years ago
Fix "bazel crash in async thread" error for BES local file upload

The gRPC library uses StatusRuntimeExceptions (SRE) for error reporting. Before this change we w...

142d7d4b9dcc069b9e3fa9359a5ef4b905ec309d authored over 5 years ago
Rename *SandboxfsProcessTest to *SandboxfsProcessIntegrationTest.

This is to make room for unit tests and common code for them, which would
clash with the previou...

6859ad10205526b54b41470a13482923a8d18176 authored over 5 years ago
Handle packages with errors in TestsInSuiteFunction.

Clients of PackageFunction have to be careful to handle partially valid package results. Package...

351302a2b7c03d135347c08defa2266a12bfd67c authored over 5 years ago
Remove DigestHashFunction.MD5. MD5 collisions are easily generated, so we have

stopped using MD5 for security-relevant hashes. Nor is MD5 is a good choice for
a fast-but-insec...

c92e0da9662397518153303fcf60fc6311052a10 authored over 5 years ago
Implement Action.args

This new field on Action is guarded by a new experimental flag, --experimental_action_args. If e...

2b6a435a1c5bb683f3e69e92ca878af6e119918e authored over 5 years ago
Add @StarlarkDeprecated for marking a Starlark symbol as deprecated in docs

This change does not extensively mark all such deprecated symbols in the Starlark API, but intro...

95766f89818614b997ba3b37a3a59bce653536ce authored over 5 years ago
Clean up .jdeps handling

This un-does changes from https://github.com/bazelbuild/bazel/commit/1898f41b807d846d3553db645e6...

8e4b3d3cbac18c653a78ba15f670bf25e05ccd56 authored over 5 years ago
Fix typo in URL.

PiperOrigin-RevId: 277149933

78fd06ff59a9de2b74f702f4f1e4212006c7678d authored over 5 years ago
bazel syntax: delete AugmentedAssignmentStatement

It forced most clients to duplicate their handling of AssignmentStatement.

PiperOrigin-RevId: 2...

bbea57557a80716ae09aaef62a1a7f0b9f097ceb authored over 5 years ago
bazel syntax: remove spurious import

Also, remove spurious repeated srcs file.

PiperOrigin-RevId: 277123549

f16d9495a74793c8c99fcc8d139462b3ad725940 authored over 5 years ago
select(): fix ambiguous multiple match error with aliases

Fixes https://github.com/bazelbuild/bazel/issues/10042. See there for context.

Closes #10066.

...

1ae1fbaf559e25b274b44c984d7afe401b329df0 authored over 5 years ago
Consolidate artifact creation for generated class outputs

PiperOrigin-RevId: 277105930

4588e3ec485baca92007120d5cadf02e658636e2 authored over 5 years ago
No longer allow exceptions to action conflict checking.

Before, we did not allow two output artifacts in the same build to prefix each other, eg "out/fo...

d0ce12d6f8140edd4644e4a2777620d3bbfbb1dc authored over 5 years ago
Remove trailing slash in example clone command

The example is:
git clone https://github.com/bazelbuild/examples/

But if you rewrite urls in ...

32fc437a20061c0adea03900162beb9af92bef29 authored over 5 years ago
Automated rollback of commit e92b2d997875db8db70e0c4ff37e52a94c0d4a35.

*** Reason for rollback ***

gflags is deprecated in favor of Abseil.
Abseil is restored in Baze...

1b149637ba2341f229bf5d470c52c6a9163069a0 authored over 5 years ago
bazel syntax: make LoadStatement+Binding constructors private

PiperOrigin-RevId: 277074157

8f811689acd73887fab6564ece996b136d27c954 authored over 5 years ago
Delete abandoned function

Not sure/didn't bother to track down when this became unused.

RELNOTES: None
PiperOrigin-RevId:...

13321e80038b57061ca668cf72d4d4a1ae189992 authored over 5 years ago
Restore //third_party/py/abseil

Apparently python-gflags is deprecated and advises
to use abseil-py.

See https://pypi.org/proje...

5ada1402f7945a7c0336e3ffc8b3e3dda93fc856 authored over 5 years ago
bazel syntax: consolidate syntax printing

The complete algorithm is now in NodePrinter,
rather than spread over dozens of files.
The only ...

9dd9ca6d70dafa3ab241b948f0e0e7e1d66125b2 authored over 5 years ago
Fix broken internal read/write remote caching link.

Closes #10115.

PiperOrigin-RevId: 277043789

17c8600b16c2763d37401c09d6706f2c3d5883ce authored over 5 years ago
update bazel-remote remote caching docs

* Use the name "bazel-remote" consistently.
* Clarify bazel-remote's status.
* Mention that both...

9e8bde59b6c9c224d2b6d2ba8eef730f13eff484 authored over 5 years ago
Remove dead code referenced only by a javadoc-induced import.

Remove incorrect comment. The hashes xor'ed together by DigestUtils
are of (path, digest) *pair...

d336dd85d7e53708311153cbf20270235633c406 authored over 5 years ago
Use JsonWriter instead of hand-crafting JSON.

With the upcoming sandboxfs protocol rewrite, we'll have to start accepting
JSON responses as we...

54db08b55ef9fc4b7ef3deb322d584570d2d3fcb authored over 5 years ago
Add allowlist for targets to opt out of resource shrinking.

PiperOrigin-RevId: 276764719

8013b1cb1fbce9181d04fa640ae80f31142015f3 authored over 5 years ago
Simplify the sandboxfs map/unmap interface to work in terms of "sandboxes".

Bazel creates a top-level directory within sandboxfs for each action and
makes sure that these h...

19c3d975255356071d24eefca2492816f46a00a2 authored over 5 years ago
Automated rollback of commit 7c2174fea2b50af8fbf10367835b820af29700f6.

*** Reason for rollback ***

Breaks the nightly

*** Original change description ***

bazel synt...

83dd65263f83edda62eb196b66dc4012021fe11f authored over 5 years ago
Automated rollback of commit 50a7e14e3df5513572f1ac3275786f243b51c930.

*** Reason for rollback ***

This is stacked on top of https://github.com/bazelbuild/bazel/commi...

8ce9d84aa054cfd126da16190f5ad5dcb268a827 authored over 5 years ago
Remove --force_multigroup_accounting from tests.

All of the uses of this flag in this change were to enable orhpaned artifact detection. However,...

df4845fa38abd9ce57745e76e2266913c5f2995b authored over 5 years ago
Update documentation about allowed characters in BUILD labels

RELNOTES: Fix documentation on allowed target names.
PiperOrigin-RevId: 276705062

d0aac3d1f60b28e64d202dcfbe1560b96a44de43 authored over 5 years ago
Make all initial inputs of SpawnActions that do input pruning available to extra actions.

RELNOTES:
PiperOrigin-RevId: 276672813

59d3a05942bcd8591b78aa54915ad420ab44b23f authored over 5 years ago
Remove //third_party/py/abseil

This makes migrating Bazel's Python scripts to PY3
easier, because we don't have to update to a ...

a7bc98f5f5f65a5982c4c72735f6f1a75a5e7259 authored over 5 years ago
aquery_differ no longer depends on Abseil.

This is the only Python script in the Bazel source
tree that uses abseil-py. I'm planning to rem...

e92b2d997875db8db70e0c4ff37e52a94c0d4a35 authored over 5 years ago
bazel syntax: delete ExtraArgKind

The extra arguments are now computed from the invoke
method's parameter types. We use Class inst...

50a7e14e3df5513572f1ac3275786f243b51c930 authored over 5 years ago
bazel syntax: make Node constructor private

Also:
- delete Node.isNewScope
- mark Node.{get,set}Location final
- AllocationTrackerTest: call...

ce4b8440a01d113f68f479041fde5571f62a6354 authored over 5 years ago
Refactor hardcoded documentation URL

RELNOTES: None
PiperOrigin-RevId: 276542220

3f6bab16dcefa42fdfe6d1acefa37c30c1ed8f2f authored over 5 years ago
Minor refactoring: Extract a method for Fileset-specific logic in completion context.

RELNOTES: None
PiperOrigin-RevId: 276526728

47d22bce8db27d20588624cfea121e4b97b27934 authored over 5 years ago
Add 'incompatible_default_to_explicit_init_py' flag

This effectively changes the default value of legacy_create_init to false.

Technically, the att...

89f8d37dd2b637c6a9889a64639a52ca79486350 authored over 5 years ago
Add internal type JsInfo to the list of non-bootstrap globals.

PiperOrigin-RevId: 276516134

ad1db8bbec003599b886abb0bdbefc7cf34be703 authored over 5 years ago
bazel syntax: delete BuiltinFunction.Factory

The mechanism existed so that functions like glob could
be closures over the PackageContext, whi...

7c2174fea2b50af8fbf10367835b820af29700f6 authored over 5 years ago
Remove includeLocations and includeRuleInputsAndOutputs subclass hooks

This was from before we had flags for these things.

PiperOrigin-RevId: 276503421

ce00ced5e957a94b726b8b429f4a95d6e34a6686 authored over 5 years ago
List fields on CcLinkingOutputs

RELNOTES: List fields on CcLinkingOutputs.
PiperOrigin-RevId: 276490537

08fea66ebdd1f69a09614ceb6cae201c04de66ad authored over 5 years ago
Fix buildifier warnings in @rules_cc

Fixes:

* Enabled buildifier on the Bazel CI again
* Added Skydocs where missing
* Moved public ...

1a256687da8c6e5191ba06e89da59c21534bb115 authored over 5 years ago
Fix aquery crashing bazel with malformed queries.

Also, exclude the stack trace from the error message.

Before:
$ blaze aquery 'outputs(*some_pat...

56babb6c14bad0c859b6540f7c729a36a794717e authored over 5 years ago
Replace sandboxfs --version parsing with new GnuVersionParser.

While doing this, get rid of the pre-mount version check performed "out of
band" to check if san...

ab4f976cab5745031f409c77af20676116c7031f authored over 5 years ago
Visibility cleanup

PiperOrigin-RevId: 276361804

0137480f824f43a358671c4d1a03273cc4314045 authored over 5 years ago
Export build files to hook up the versioning package into the build.

Missed earlier because this package was not yet put to use... and thus things
broke when trying ...

e1898a0e50ed031f00008362b12dd401798b4340 authored over 5 years ago
Fix potential race between close and write in NativeFileOutputStream.

The close() method uses a flag (closed) to track whether it has been
called and the write() meth...

eebad9808ace9e9d9691e4d7d73677c453ce92c2 authored over 5 years ago
Document that --version doesn't need to be run from a workspace

PiperOrigin-RevId: 276337578

586fa8b264cb2b2f841dc56cd0d85f27f0f5bdb7 authored over 5 years ago
Fixed documentation typo.

PiperOrigin-RevId: 276324443

77e5b92b1804bdf686a880db573ba248b9a38e97 authored over 5 years ago
Comment fixes for analysis_test

RELNOTES: None.
PiperOrigin-RevId: 276301078

eddc9bca313ead768f1c7e37ca274a4152e515e2 authored over 5 years ago
Activate strict header checking for objc when include scanning is on

Contrary to internal comments, objc without include scanning is
consistent with strict header ch...

df75f36572ac06955e703c1a33831cf20877a119 authored over 5 years ago
Remove experimental warnings and improve documentation for analysis tests

RELNOTES: None.
PiperOrigin-RevId: 276271186

ed2e46917fe8cc1bf1a10f4c91e77ae491965644 authored over 5 years ago
Add a parser to extract version numbers from GNU-like programs.

This new GnuVersionParser processes the output of programs that honor the
--version flag and who...

af61e548aa9125bb3997c57002a8a23f68dbabc9 authored over 5 years ago
Fix NPE in Chunker#seek()

Chunker initializes its data source lazily to not exceed open file handle limits. We
received a ...

01d7f97d3ed69c07746cb3454a309e82f6a94d1a authored over 5 years ago
Remove the large test, as it is flaky because of OOM while copying the big amount of generated data.

Closes #10088.

PiperOrigin-RevId: 276230356

dbc514ba0fa458182bc2e0697c5e5faac1e6bb8e authored over 5 years ago
Write final fields for library classes.

PiperOrigin-RevId: 276165877

0244da93401d5bc3161883d49b194cb547887cd4 authored over 5 years ago
Remove experimental warning from analysis_test_transition

RELNOTES: None.
PiperOrigin-RevId: 276160217

93583983c592fd2d114c759826f4c3c58819274f authored over 5 years ago
Support flag overrides of config settings in external repositories.

The user-defined flags documented at https://docs.bazel.build/versions/1.0.0/skylark/config.html...

fff730963765f27c95adefe5b7703dd205b38690 authored over 5 years ago
Signal dynamic scheduling interrupts with a special exception type.

This allows strategies to detect when the dynamic scheduler stopped them
and to take special act...

42b3be219e6f15aaf69d8de2edf925a2725151cb authored over 5 years ago
bazel syntax: delete StarlarkThread.{setup,setupOverride}

setupOverride was used only to override the "native" module
for WORKSPACE files. Now, Configured...

bffb6874dbb78399eef27fb8bbe458bbea575619 authored over 5 years ago
Update BUILD file for --incompatible_restrict_string_escapes

Change generated by buildifier --lint=fix

RELNOTES: None.
PiperOrigin-RevId: 276093064

fec3da358fdf08bd3251632110ca6ac236b771a6 authored over 5 years ago
Rename FileSystem#createChannel() into createReadableByteChannel()

- as it is more correct and the channel is read-only
- also, explicitly specify the READ open op...

03be73edcf5d41bbef31220f9ebf86f1ee629103 authored over 5 years ago
Run `buildifier --lint=fix -r`

RELNOTES: None.
PiperOrigin-RevId: 276088391

af26567811aeda6f18c0cb0eb422c824940cac46 authored over 5 years ago
Fix deleteTreesBelow crash if top directory goes missing.

This is a repeat of https://github.com/bazelbuild/bazel/commit/49076cc6694e10170c2640048adbc1b1e...

33b9f9dce8935504dd2524827d651b48f4c1ce65 authored over 5 years ago
Automated rollback of commit 49076cc6694e10170c2640048adbc1b1efd5c810.

*** Reason for rollback ***

The newly added tests applied to all file systems, not just the
Uni...

e5d1d43aac4be557cadde1c5d596590a6bef8912 authored over 5 years ago
Add FileSystem.createChannel() method for creating java.nio.channels.ReadableByteChannel for reading a file.

Required to support reading big Ninja files, related to:
[https://github.com/bazelbuild/bazel/pul...

4785a955a1c5b1a14b65e1c03eca4b0483e84537 authored over 5 years ago
Fix deleteTreesBelow crash if top directory goes missing.

The deleteTreesBelow method starts with a check to see if the given path
is a directory and abor...

49076cc6694e10170c2640048adbc1b1efd5c810 authored over 5 years ago
Make .bazelignore affect globs, as it should.

Fixes #7433.

RELNOTES: None.
PiperOrigin-RevId: 276023691

7abdcb482367a8cc7d4aa1585c49be512a22b670 authored over 5 years ago
Remove unused dependencies: System.exit

PiperOrigin-RevId: 276017455

eb3978b4c8a2b5dcb584acc6934d2b2e26358886 authored over 5 years ago
Add a very simple parser for semver.

The integration with sandboxfs relies on the output of "sandboxfs --version"
to determine which ...

2d7158daa2839ff197d58bdb26bda5194b629830 authored over 5 years ago
Remove unnecessary destroyProcess function.

This was obsoleted by the introduction of the Subprocess.destroyAndWait()
generic method.

RELNO...

c73c308e25abab3652b20610e2955b1ab7c39f36 authored over 5 years ago
Move logic to wait for a process in a noninterruptible manner to Subprocess.

The Subprocess class already had this functionality in it, but it was hidden
behind the destroyA...

5d1339dc311dd67338a722c759abad1d8b2961d5 authored over 5 years ago
Expose native Python 2/3 transitions to starlark.

To use the transition, define a rule with a "python_version" string attribute. Valid values are:...

f6bfbdc534a12b77d376e0743548335712da764e authored over 5 years ago
Prevent faulty List/Dict type inference for SkylarkCallable methods

Institute a static check (via annotation processor) that any instances of generics in @SkylarkCa...

0451e58beede0495f56c17443322d510de231439 authored over 5 years ago
Add table link destinations to markdown_tables

Sourcetree fix for https://github.com/bazelbuild/stardoc/issues/19

RELNOTES: None.
PiperOrigin-...

35e641b5fa96bb1b4fb573870a66ecc1937ef02c authored over 5 years ago
Make query2 test package structure match main

PiperOrigin-RevId: 275867141

693dc655f08e6059028ed88a35c507cd2d3b72d7 authored over 5 years ago
Update docs for 1.1.0

Closes #10073.

PiperOrigin-RevId: 275819637

5a2ec76f0b974e6b501a6de4767cc090f88e48dc authored over 5 years ago
Release 1.0.1 (2019-10-21)

Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6

Cherry picks:

+ a0e3bb207fe2044120a2555a...

f15bfb392cc1e926db8f3aa690cae9b37d9f83e8 authored over 5 years ago
Implement parallel file processing for the case of parsing Ninja files

The main ideas behind this implementation are:

1) using the NIO with direct buffer allocation f...

ad04c1abe923203b2868ea51a447e32a705f2e0c authored over 5 years ago
Report cancelled test runs as cancelled

Previously, we reported cancelled runs as ERROR, with both a link and
the output of the test log...

5cb9194123a5f193a6f1f9a120a531125f44e54d authored over 5 years ago
Update "six" library from 1.10.0 to 1.12.0

The newer version has features we need to easily
migrate our .py scripts from PY2 to PY3 syntax....

866133e8f9d53691761e55e32ca9fafbdb34550a authored over 5 years ago
Release 1.1.0 (2019-10-21)

Baseline: d9fe1d4078c25912427c9b2e79e115f4ee9b7ab8

Cherry picks:

+ 0a8071af47223989e9ba335e...

e693c1977a4b8705a030bc0bc3e4220be72f3af7 authored over 5 years ago
Add option to disable announcing the JSON profile location.

e.g.
blaze build --noexperimental_announce_profile_path

#9988

RELNOTES: None
PiperOrigin-RevId...

f62586a84fd93f584508d8cc999f2b6bd9f7c481 authored over 5 years ago
Use Stopwatch to measure elapsed time.

System.currentTimeMillis() can "travel" backwards in time.

RELNOTES: None
PiperOrigin-RevId: 27...

a3c29c44d3ef6f4b1dd33240b9972cda4eca1a4f authored over 5 years ago
Gracefully handle case where dependency_mapping_files is empty

RELNOTES: None
PiperOrigin-RevId: 275789823

07eb53d72eb6db4076397305d67ac385be99e664 authored over 5 years ago
Fix up race condition asserting on g_sleep_assertion value.

Follow up on https://github.com/bazelbuild/bazel/commit/386688b4f2139a951d74865c6b7f03bf7bd4f222...

049a639a3ddc6c8cfb5a23f845bbd2e0ad111d99 authored over 5 years ago
Add a cquery mode that shows which configuration fragments rules need.

Usage:

$ blaze cquery 'deps(//:mytarget)' --show_config_fragments=direct
$ blaze cquery 'deps...

966dc2328a8565103e514f898673fd8eb037b9c0 authored over 5 years ago
Run query2 tests from query2 package

Gets rid of duplicate tests, moving it to the more focused location. I didn't
port the tags over...

890aaf3205a91c7e4ea7c36bdd5dc07dc220aae0 authored over 5 years ago
bazel syntax: document the ultimate goal of all the API changes

...in the form of not-yet-implemented functions.

PiperOrigin-RevId: 275530947

bf6ac612c5f179c01441ca88c7e80b3d7cf6946e authored over 5 years ago
bazel syntax: remove all external calls to StarlarkThread.setup

...and all but 1 apiece to StarlarkThread.setupOveride and to
StarlarkThread.update. The thread ...

d54a4993b3dca850d91491efe39b9dfa344334c5 authored over 5 years ago
Split testutils out of query2 tests

And make it so that the query tests actually test...

PiperOrigin-RevId: 275499006

092b74151226dbf3a42aff9500b56caf8c881fe4 authored over 5 years ago
Add python zip file to a output group

After this change, users can get the python zip file of a certain
target without using `--build_...

6e71b5fc0658cfe1740d17a49e933e8ee07f4b82 authored over 5 years ago
Fix typo: missing closing parenthese

Closes #10054.

PiperOrigin-RevId: 275454379

a555cfd1571ea4f77f0f67c39aff775d49636215 authored over 5 years ago
Wipe tree artifact directories when cancelling a local spawn.

When we enable dynamic execution without sandboxing, the local spawn is
allowed to run until the...

0dd9ae90834bb08be116301553b88d0df8b0631e authored over 5 years ago
bazel packages: delete EmptyEnvironmentExtension

It appears to be unnecessary.

PiperOrigin-RevId: 275391229

23134ea9a07266229142186fd042771ffc811640 authored over 5 years ago
Remove vestigial test code verifying that a non-existent command line argument doesn't exist.

PiperOrigin-RevId: 275361681

7d711b4573eede2f87c91e798e842b2846805029 authored over 5 years ago
Remove dead code around kept_resources.txt, an artifact which used to be sent to AAPT2.

This information is nowadays in a resource_optimization.cfg file passed to `aapt2 optimize --res...

a13e303d3ed9aa6843e19ec2b593ec83e70cb611 authored over 5 years ago