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 key() method to ToolchainContext.

Cleanup leading to toolchain transitions, #10523.

Closes #11337.

PiperOrigin-RevId: 311148682

bd7abd68e7ca646d1ff16f8f9433e70c05f77fd8 authored over 4 years ago
Increase HttpConnectorMultiplexerIntegrationTest timeout to 20 seconds from 10 seconds. 10 seconds seems to be close to the time it takes for the test to run, and flaked about 1 to 2%.

Also bump the timeout scaling factor for HttpConnector from 0.1 to 0.15, so that HttpConnector.R...

b9786cae0aca3b33ff48da056f09e076b1f20ff6 authored over 4 years ago
Explicit description about reproducible rules.

Added small clarification when workspace rule may return None, to signify that the rule is repro...

d74f0599422c8eb8697e00bd0504d92de453c48b authored over 4 years ago
Make ModuleCodec include exported bindings. Pretty embarrassing that it wasn't and that no integration tests were failing. Will look into that if we decide to keep serialization for these objects.

Also add testing functionality to not test stable serialization when it's not useful, and remove...

4bbda0b5c89605f3f3a04e115d4a806d7bc1c1ae authored over 4 years ago
docs: hide 'edit this page' link on command-line-reference docs as the page is generated

Hides the 'Edit this page' link on the command line reference docs, as this page is generated an...

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

SkylarkRuleConfiguredTargetUtil
SkylarkExecutionResult
SkylarkOS
SkylarkPath
SkylarkRep...

d7c1cefc8c082fd7119470436f366c618d1eea06 authored over 4 years ago
Rename UnloadedToolchainContextKey to ToolchainContextKey.

Cleanup leading to toolchain transitions, #10523.

Closes #11336.

PiperOrigin-RevId: 311112930

6083711f58d65be5d359e78fbd440257212f3748 authored over 4 years ago
Fold killDelay into ProcessWrapper.

The kill delay setting comes from the --local_termination_grace_seconds
option (it's not specifi...

79a201b924c3007736d7cbeec7d7898e00b9a0c7 authored over 4 years ago
Fail with a more useful warning when --output_base=/tmp/something

Fix the documentation to not suggest using /tmp for output_base

PiperOrigin-RevId: 311110102

90f244f3c2d11ad0df530210d16a89b4f53e829a authored over 4 years ago
Remove overwrittenVariables in CppCompileAction, forcing usage of getOverwrittenVariables()

Allows removing some of the confusing state, making at least this aspect
of CppCompileAction mor...

f7764faa4eddb60e00540b4a5512ecfd33bf4269 authored over 4 years ago
Use compile action inputs to calculate overwritten modules when requesting command line arguments.

We need consistency in the outputs for when the action is executed and
when it is retrieved from...

9f9c152754ba49a18d696ed8d46b00beda2e8b79 authored over 4 years ago
Use `default_testonly = True` in the style example

This keeps consistency with the later section that recommends to use boolean values for boolean-...

0d3f62d423014b7dd0120b0d6fc05254493af003 authored over 4 years ago
Bazel docs: Fix minor errors in Java tutorial

RELNOTES: None
PiperOrigin-RevId: 311098574

007cba070e8eb5261efbeda90c38f161378fa0af authored over 4 years ago
Remove broken links to user manual from tags documentation.

There is no sandboxing entry in the user manual.

Fixes https://github.com/bazelbuild/bazel-webs...

93f7ae9c97ee93deb0b6fdf83b0af87f5b3119e9 authored over 4 years ago
Add Debian support for more Java targets

Working towards #9408

3531c86ed0ee58447c93258ee8a20fd2e7dc1807 authored over 4 years ago
Replace protobuf with Debian system libs

The build should pass with --override_repository=com_google_protobuf=$PWD/tools/distributions/de...

54cdb54aaf4261e98ee9a8ce92f067359bae0b99 authored over 4 years ago
Introduce flag to disable manifest merging when android_binary is used for instrumentation testing.

PiperOrigin-RevId: 311062899

9a6997d595fbf3447e911346034edfbde7d8b57e authored over 4 years ago
Remove obsolete fragments list from `fragments` docs

Fixes #2929

RELNOTES: None.
PiperOrigin-RevId: 311012174

3dc38e3c32821f2671b930cd4f0f565ea96d7e40 authored over 4 years ago
Update docs to note assembly source files are allowed in objc_library.srcs

Fixes #3724.

RELNOTES: None.
PiperOrigin-RevId: 311003017

65b0ae3e98d82912d5db2d02017ebc42f9fb40b8 authored over 4 years ago
Undocument a seemingly internal symbol

The symbol "__do_not_use_fail_with_incompatible_use_cc_configure_from_rules_cc" has a pretty sca...

8ae0a4c26de5255e873b914ab3884030e2985e8b authored over 4 years ago
Document `repo_mapping` for native repository rules

Progress toward #10410

I manually verified this bootstrapped the new documentation for native r...

cb2eecc044c856a930f55cf767295d42a271533b authored over 4 years ago
Encode ModuleActionContext and SpawnStrategy registry failures with FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 310988342

e5451e274a5a6bb19938d39edda8d8b9c4ef8482 authored over 4 years ago
Add implicit repo_mapping documentation via Stardoc

Progress toward #10410

RELNOTES: None.
PiperOrigin-RevId: 310981965

56f45eb341b6b5960c4e26aacc1d347f844f38f4 authored over 4 years ago
Add new IncludeScanning category and code to failure details.

Add INITIALIZE_INCLUDE_HINTS_ERROR failure code to AbruptExitException in IncludeScanningModule....

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

SkylarkModules
SkylarkRuleClassFunctions
SkylarkRuleContext
SkylarkAspect
SkylarkDefine...

d281df7d5e21de8d557cf24687f060a872b4ad66 authored over 4 years ago
Starlark API: use relative links

Since the documentation is versioned, we need to use relative links in
order to preserve the cor...

79b0a54117b12359f2144bf85d191a70f31afa35 authored over 4 years ago
Improve docs for ToolchainInfo.

Closes #11360.

PiperOrigin-RevId: 310956397

af685cf89e1351227c4b734a6ae3b7a8f23578d7 authored over 4 years ago
Create package .../devtools/build/lib/bugreport

Updates #10930

Closes #10921.

PiperOrigin-RevId: 310956354

84ef2c8a1e1448286cb6774c14de9a668c22041b authored over 4 years ago
Encode DynamicExecutionModule failures using FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 310954810

5e1bff5406bdce9d831736c8602c70d7a7557006 authored over 4 years ago
Document that aspects can use toolchains

And remove obsolete Experimental warning.

Fixes #8558.

Closes #11357.

PiperOrigin-RevId: 3109...

a652088f3b2571f4fbae14b2c944ace33ed39c4d authored over 4 years ago
Upgrade some headings so they appear in the navbar

Closes #11335.

PiperOrigin-RevId: 310953836

e2bd302f13bd75a678ba5eb3d04f76667d78ff7b authored over 4 years ago
Encode ExecutionTool failures using FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 310948599

b976a8bc8f91ab06f1446f9ad72985b74aed5282 authored over 4 years ago
Clarify purpose of use_param_file.param_file_arg

Fixes #10616

RELNOTES: None.
PiperOrigin-RevId: 310945181

d43641cdc20b73d8838050a4c41d919c7dcebe7d authored over 4 years ago
Remark that labels in label_list must be "unique" in docs

Fixes #2821

RELNOTES: None.
PiperOrigin-RevId: 310941091

cd7dcbf974bf95d608844d9797fdf3660cb4e8ae authored over 4 years ago
Add comments

Just a few things that would've helped me while reading this file top to bottom.

RELNOTES: None...

f4f9193286924af67d534387e3e6bd715e67a9b5 authored over 4 years ago
Update documentation for platform-related rules and functions.

- Add documentation for toolchain_type
- Fixes #3691
- Improve documentation for register_...

6694f8a4bc9a2c6a8d2f70f2fc97837732949423 authored over 4 years ago
Link to flag docs from cpp config docs

RELNOTES: None.
PiperOrigin-RevId: 310934713

04df44101a88dd5d2402d306d75e2887aa3f8333 authored over 4 years ago
Add targets for more Debian Java libraries ready for replacing

Working towards: #9408

Follow up change: https://github.com/bazelbuild/bazel/pull/11353

Closes...

e466b787835cf131a318e13708dc69d65231bea4 authored over 4 years ago
Implement stricter checks for adding shared library as non-versioned library.

A library provided with the name "foo.so" must be linked to using
"-l:foo.so" and not "-lfoo" (w...

2a48fe48b778a6fa98f32397b8cfabc0b36fb217 authored over 4 years ago
Document --action_env in the user manual.

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

RELNOTES:
PiperOrigin-RevId: 310926775

38b1feedc24bed44c310546f6726f9d961cca083 authored over 4 years ago
Remove iossim from third_party

1f80e8f4c1906cd2e0f0db429d41d8d3a1c8babf authored over 4 years ago
Replace ExecutorInitException with AbruptExitException in ExecutorLifecycleListener and reserve failure details field numbers for internal use.

RELNOTES: None.
PiperOrigin-RevId: 310921555

7319c8a1bb77bd3bef4755c3fe49c6ae28456046 authored over 4 years ago
Fix up preconditions arguments in ActionMetadataHandler.

This avoids calling toString on artifacts.

RELNOTES: None.
PiperOrigin-RevId: 310918327

11b90ee6b7576050aaf4a6ff274dedd28763e757 authored over 4 years ago
Add link to the Rules Tutorial from the Rules documentation

RELNOTES: None.
PiperOrigin-RevId: 310913729

4e734f506ad2d2e8a589d1b8d9c78adab98a6cf0 authored over 4 years ago
Turn ProcessWrapperUtil helper functions into a ProcessWrapper class.

This will make it easier to carry the process-wrapper configuration around.
In particular, I wan...

511cfd918b753e149256922aeb9638d0c53e3df4 authored over 4 years ago
Fix documentation to say that both JDK 8 and 11 are supported

RELNOTES: None
PiperOrigin-RevId: 310907019

a9de41c643cbfdc34151952440aa0045ac2aef85 authored over 4 years ago
D8 desugar: Handle overlapping bootclasspath and classpath

Also filter out known platform classes from classpath.

RELNOTES: None.
PiperOrigin-RevId: 31089...

b5f647313e64dd827bc3dbce89963922d4b665ef authored over 4 years ago
Move DependencyKind subclasses into DependencyKind.

Cleanup leading to toolchain transitions, #10523.

Closes #11338.

PiperOrigin-RevId: 310897592

74ae9b4160100665fbf7522d3bd63ea0c5514e7b authored over 4 years ago
Enable default values for (exceptional) multiple options.

Multiple options (allowMultiple = true) used to silently ignore their specified default values. ...

11346a2af577805f3def3e7e912b18f937de3317 authored over 4 years ago
Disallow default values for multiple options.

Only the following multiple options from now on are allowed to have default values:
- several op...

724fdf15c00f2b6d66ac2ee4eb071bf5a0a04a8c authored over 4 years ago
Clarify that Bazel can be run from a subdirectory of the workspace root, not just the root itself

RELNOTES: None
PiperOrigin-RevId: 310889126

38edf55c841de6c3da0a6ca2e869aa805417c046 authored over 4 years ago
Remove a duplicate link in CONTRIBUTING.md

RELNOTES: None
PiperOrigin-RevId: 310887299

8c44e9c2abda60fba764c7833c5c10b8a9c94492 authored over 4 years ago
Convert non-informative multiple options' default values (e.g. "n/a") to "null".

Multiple options (allowMultiple = true) used to silently ignore their specified default values. ...

d5a2904d822a5f396ff0c1a3feb748ec52bf905a authored over 4 years ago
Mark DownloaderTestSuite as flaky.

RELNOTES: None.
PiperOrigin-RevId: 310869208

416f4ac71059aa0567fadf5c75b015655f564c75 authored over 4 years ago
Move NestDigest creation up to desugarOneInput

- In preparation for reusing the single-pass pre analysis phase before the transformation phase....

f17c403b2365ff0268b0ecae2e00e95fcad9d36b authored over 4 years ago
Document JDK selection with --java_toolchain and --javabase flags.

This is a common user journey, and I'm surprised that we don't have this documented anywhere.

h...

6bc292d5a7d307eddd45dc42835476d5facb4cf4 authored over 4 years ago
Automated rollback of commit d3ff5734d14a4afcfd4cd7fac48b183f77722ea0.

*** Reason for rollback ***

b/156131121

*** Original change description ***

Implement -Werror...

ae8f4d4343d56eb6cb443752bfa57ed22109b28e authored over 4 years ago
Migrate "@DesugarIgnore" Tool Hint from class-level attribute to method-level attribute.

#desugar #new-android-api-support #desugar-shadowed-api

- As discussed in the design review, it...

2601d1244f088e601720acb9484277b465e9efc8 authored over 4 years ago
Refactor `NestAnalyzer` to a General Pre-Pass `InputPreAnalyzer`

#desugar #new-android-api-support #desugar-shadowed-api

- This to move all pre-pass analysis to...

8257c83960992d53db334aa01689f5403aa7b72b authored over 4 years ago
Implement -Werror: in JavaBuilder

PiperOrigin-RevId: 310636051

d3ff5734d14a4afcfd4cd7fac48b183f77722ea0 authored over 4 years ago
bazel syntax: replace map with callback for module loading

This change replaces the map of Modules, keyed by name, provided
at thread creation, with a call...

dfcda9e1fb417af94884b319d40ce747b2b7c871 authored over 4 years ago
Tolerate unexpected exception types in SkyframeBuilder: no need to crash.

PiperOrigin-RevId: 310614062

b79848d3c8bc601ffa190cc797efed0af7cf92d3 authored over 4 years ago
bazel syntax: rename StarlarkSemantics.DEFAULT_SEMANTICS -> DEFAULT

It's a mouthful.

Another breaking API change for Copybara. Sorry. One day this will all be over...

b85d0b71c878029384caf94041701ad7839796c6 authored over 4 years ago
bazel packages: simplify createRuleClassStarlarkThread

And rename to setStarlarkThreadContext.

No behavior change.

PiperOrigin-RevId: 310596677

67741547553699c274caae95204424fb8b7b140a authored over 4 years ago
Reduce preconditions check to a warning log. This is only a sanity check but didn't take into account that an extra expansion can come about with any implicit requirements.

PiperOrigin-RevId: 310591258

50ae960dbcf8a5d5596c1e5d5905bc56ea27d817 authored over 4 years ago
Add new Sandbox category and code to failure details.

Add sandbox initialization failure code to AbruptExitException in SandboxModule. Replace Executo...

6fbebc8642b44120cb0714a8b7460a10025f91cf authored over 4 years ago
Remove philwo from CODEOWNERS.

Always being added as a reviewer to PRs in these directories is just too much. I think our triag...

a75cc0ba7f714551669f0a5143640486292eb61f authored over 4 years ago
Plug some "missing file" holes.

1. When a tree artifact fails to create its directory, wrap the IOException immediately, since i...

5311ba382ec513de31618f0d4d0f8f46a0c886c8 authored over 4 years ago
Replace "" (empty string) default values of multiple options with "null" (round 2).

This is preparation for turning on parsing of default values for multiple (allowMultiple = true)...

f33234a58b0416c1c21607854f5aa6433a8d3886 authored over 4 years ago
Replace ExecutorInitException with AbruptExitException for BlazeModule and reserve failure details field numbers for internal use.

RELNOTES: None.
PiperOrigin-RevId: 310571516

dd05ad158fa71083b29f55ef2dde49fc2ddc5c0a authored over 4 years ago
When a shared action depends on a shared completion future, don't assert that the future is pending, even if the environment didn't view the future as done when it was added as an external dep: the future can transition to done (by being cancelled) in a race with the environment's checking.

PiperOrigin-RevId: 310563362

f251342b13849560cf4559616eef6656a04e97dc authored over 4 years ago
Add new FailureDetail Category "FetchCommand" and "SyncCommand".

Add DetailedExitCodes to BlazeCommandResult for FetchCommand and SyncCommand.

RELNOTES: None.
P...

8d37c0eceeb04b96fe2ff38765d225d34ab1c5a8 authored over 4 years ago
Add new FailureDetail Category "ActionCache".

Add ActionCache initialization failure code to ActionCache FailureDetails and used it for Execut...

2e1104e717f5841e01739a5927766a1ae475bfcf authored over 4 years ago
Allow bazel run on windows to handle Ctrl+C signals

Currently bazel run on windows prevents the process it's running from receiving Ctrl+C events.

...

6933b7349b5d9ea1a51ee6f13144066183043d76 authored over 4 years ago
bazel syntax: delete StarlarkFile.contentHashCode

It has moved to skyframe.ASTFileLookupValue.
Also, improve error messages related to ASTFileLook...

4a997745eede9fb66d46d1f5e65fd1df26793a13 authored over 4 years ago
Allow replace zlib with Debian system libs

Create an additional BUILD.tools file for zlib

Rename BUILD.tools to BUILD.bazel for embedded s...

2a07773baa0f64bb5b467df77088130486ffb3e9 authored over 4 years ago
Add java-diff-utils-4.0.jar to third_party

27234582b6fabcb7d4e142ddb5c31dbd79b0a6ab authored over 4 years ago
Replace the usage of 'usual' with 'explicit' or 'non-phony', depending on context, in Ninja code

This makes the code slightly clearer to read.

Closes #11330.

PiperOrigin-RevId: 310526014

a33fcdefd7dfa2e1b50593cbb540ccaaf27a7956 authored over 4 years ago
Add debian_build config setting to BUILD.tools

Make sure bazel_bootstrap_distfile_test still works after #11300

RELNOTES: None
PiperOrigin-Rev...

d8cc7099a22373efb9e4cbc0e146d69b30bd5448 authored over 4 years ago
Fix zlib build in tests after distrib integration

Address test failures caused by #11300:
https://buildkite.com/bazel/bazel-bazel-github-presubmit...

b5f352121caff22b671de8e144809d13e81bfe3d authored over 4 years ago
Fix camelCasing the method name.

RELNOTES: None
PiperOrigin-RevId: 310508754

23d8ebb6a02bd928e239a52d0bd36efd1210f7b0 authored over 4 years ago
bazel collect: depset: rename toCollection to toList

PiperOrigin-RevId: 310489915

0de69d0d6d6479a2d5dfc666d43c8e1391875efd authored over 4 years ago
bazel syntax: delete StarlarkThread.Extension

This change replaces every use of Extension by Module.
Extension was a pair of a globals diction...

1d93d26d9900328dcba0026bf21cb45cc37a4596 authored over 4 years ago
Extract PackageLoadingListener from Package.Builder.Helper

Plan is to use this to log exceptional package loading events for the sake of
improved introspec...

00806c840e44d837c86d89eb2263c8edea4a18c5 authored over 4 years ago
Add option to filter events from UI

At the moment there is not an option to easily control the verbosity of Bazel UI. The `ui_event_...

7c67d1ddf7b6db608e86f2e5a915fb8687101f5f authored over 4 years ago
Ignore @debian_cc_deps for embedded_tools_deps_test

In the normal Bazel build, the embedded tools won't depend on anything under @debian_cc_deps.

F...

d8de9acd71f1e26ead8881beffca7c2e80e4590b authored over 4 years ago
Use the correct variable name.

PiperOrigin-RevId: 310379124

3f18f48d9c7d3a28ebd0440a81b7edcc99c4ff0e authored over 4 years ago
Fix an incorrect comment.

PiperOrigin-RevId: 310378631

5c482981107722a0f1cea862646a186c5989a4ad authored over 4 years ago
Dynamically linking to zlib in the Debian build

Related https://github.com/bazelbuild/bazel/pull/11300#issuecomment-624711504

Working towards h...

0e1600ac271b8c337403aa7fae8e4d7be928fbd1 authored over 4 years ago
Automated rollback of commit 9a00c789ea46dcb8c73e513ad1ba234a8417fff3.

*** Reason for rollback ***

Added fix for unconfigured dependencies causing analysis failure.

...

412e03c4e2c696deeb827c874d10b2393371c866 authored over 4 years ago
Add gregestren and jin to documentation CODEOWNERS for Bazel Github

RELNOTES:
PiperOrigin-RevId: 310358153

6853c7e533371d9e465a434e46029163ba7a8947 authored over 4 years ago
Fix possible subprocess leak.

If closing the output stream fails and throws an IOException, we'd not run
the cleanup code to k...

89ac3c0f313b58da164c3e12f9b64cabf2af280e authored over 4 years ago
Enables Desugar-Shadowable API Auto Desugaring for all Android Platform Types

#desugar #new-android-api-support #desugar-shadowed-api

- This change fully launches the automa...

dcead939ba5fe39d61da6a18a6f83d75e1117f46 authored over 4 years ago
Add a TestType utility enum that can be used to detect if Bazel is running in a test, and use it throughout our codebase.

PiperOrigin-RevId: 310249628

2143cf8d9a54f507d028f15503099ffde438ca60 authored over 4 years ago
This change adds package name to the java class which uses the default java package

RELNOTES: None
PiperOrigin-RevId: 310227948

886cdc96752896db96f6d07e3571ceaec101e899 authored over 4 years ago
Reserves failure details field numbers for internal use

RELNOTES: None.
PiperOrigin-RevId: 310182478

571e9d527150840a7f71d3ad1dc6b00d6d31bd42 authored over 4 years ago
Encode SpawnActionContextMaps failures using FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 310171337

b8e0254a920c28da22e04c3fc75e0e077553d412 authored over 4 years ago
Anchor input fetches to source action id

Provide the specific action id via RequestMetadata which provided an
action input artifact when ...

3ef8fb98e7becaac160003f5c24f35914b764bb9 authored over 4 years ago
Document what create_linking_context_from_compilation_outputs returns

It's just a tuple, so document what's actually in the tuple, like
cc_common.compile.

Closes #10...

259c20068dab11fee03b54b40149037f2ac9f722 authored over 4 years ago
Add .tcc as accepted cc_library header extension

Closes #11158.

PiperOrigin-RevId: 310145440

bdd08003d859c6dba027a4c3cefb18ec15a4f503 authored over 4 years ago