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

Migrate from .java provider to JavaInfo

Old legacy java provider is deprecated.

Fixes #9288.

Closes #9292.

PiperOrigin-RevId: 266354777

18c0509985eb18bf53b53757b4fc3a818187cf42 authored over 5 years ago
propagated for cc_library and cc_binary

Part of #8830

RELNOTES[NEW]: tags: use `--experimental_allow_tags_propagation` flag to propagat...

94c24b356db509d627b705e0a33f9c61666c16a9 authored over 5 years ago
Client: convert IFileTime to use Path

Benefits of a Path abstraction instead of raw
strings:
- type safety
- no need to convert paths ...

a32bc59d2472b9cd33c5bf54c2fc10431b9f5358 authored over 5 years ago
Automated rollback of commit 7acffaf50c027e38571f64a30b4dd84084d2d8e6.

*** Reason for rollback ***

Breaks internal targets.

PiperOrigin-RevId: 266288093

4311d6d5caa05485d8dedaaa90c09d65e7bc1340 authored over 5 years ago
Disable all doclint checks in JavacTurbine, since javadoc doesn't matter for header compilation. Unbreaks doclint:reference errors from {@link}s to classes not on the reduced classpath.

(+ drive-by typo fix)

PiperOrigin-RevId: 266257916

74a36407a3ade53696828f46109a14fb25e30549 authored over 5 years ago
Factor out visitation logic of label-entailed deps into a common utility method.

The new common utility method permits an arbitrary streaming visitation, which allows us to main...

dd0960b623ab09565ea230f1cad61d8d769d6904 authored over 5 years ago
Reroute dependencies on bazel_skylib's lib.bzl to their specific sources

RELNOTES: None.
PiperOrigin-RevId: 266256481

7e10a4db3d3b525a7953a1eba6724ed0921b9847 authored over 5 years ago
Expand FileSymlinkException subclasses' java visibility for serialization.

PiperOrigin-RevId: 266226521

6e299196142dffc0f9e3bd0109d3ee5151d7388b authored over 5 years ago
Add @bazel_tools//tools:bzl_srcs target

This target globs all bzl files under @bazel_tools//tools under a single filegroup.

Progress to...

1ba9f0ff0b073d7af482b446de29adcd98c43844 authored over 5 years ago
Add the name of the spawn runner to CriticalPathComponent.

CriticalPathComponent collects the metrics from the spawns for executed
actions, but does not co...

70d0c3ec91ccd5df848ab46949126ef10f9e0e0b authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 266216985

a7f3155d72657041d8daf0ae63608b4fe1107081 authored over 5 years ago
Add isBuildRunfileLinks() and isRunfileLinksEnabled() to RunfilesSupplier

This is to allow the local execution strategies to query whether a runfiles
tree should/may be c...

0ab85003e713f644aeb1913499b5f56487de7248 authored over 5 years ago
Do not have an edit button for documentation of the repo rules

...as these files are generated by stardoc, hence simply linking to a
mardown file with the same...

d34affce81873c92d65f7f1ae170efb5101f2640 authored over 5 years ago
Document some client-side commands

Add simple documentation for --version

PiperOrigin-RevId: 266152039

52a0bcfd327588a351f84ae9e548de74f07a954f authored over 5 years ago
Accept hpp files as objc headers

hpp is a valid objc++ file extension. It should be accepted.

Closes #9086.

PiperOrigin-RevId: ...

407cfe160fd738daf327fd6c29c274e6f68789d6 authored over 5 years ago
Client: convert more members and functions to Path

Convert server_exe and server_cwd from raw strings
to Path.

Converts jvm-related functions to a...

822663aea2c4af41f30852edd3b9fac02915d374 authored over 5 years ago
Make --workspace_status_command work with "Builds without the Bytes".

Fixes #8385

Due to a typo in delete() stable-status.txt would not get deleted
between builds. M...

5c02b92c45b5422971b3164685d9edb771367a1b authored over 5 years ago
Fix incorrect RunfilesSupplier in TestRunnerAction

Create a valid RunfilesSupplier in the TestRunnerAction and remove the workarounds
in the test s...

a30df55267db0cc5566f8121934ce0f45c0c85c5 authored over 5 years ago
Remove legacy JavaSkylarkApiProvider.

--incompatible_disallow_legacy_java_provider (see #7598) is now a no-op and moved to the graveya...

7acffaf50c027e38571f64a30b4dd84084d2d8e6 authored over 5 years ago
Use maybe in the implicit suffix jdk.WORKSPACE.

Don't override the repositories defined by users with the same name.

Closes #9277.

PiperOrigin...

4130781659ed9c871c6ad3226133648b3bcc9b4f authored over 5 years ago
Factor out convenience methods and constants in RunfilesSupport

and BuildConfiguration.

RELNOTES: None
PiperOrigin-RevId: 266106620

40e3f6b9a91f39abab8ed0362eaa144c8618dd55 authored over 5 years ago
cc_configure.bzl: mark repository_rules as configure

So that the auto configuration can be re-done by `bazel sync --configure`.

Related to #9213.

C...

e1a6877240b212b192506f5269053f4ded263ee7 authored over 5 years ago
Flip --incompatible_windows_bashless_run_command

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

RELNOTES[INC]: Windows: --incompatible_wi...

daac5a9f12de09f4dc446120405280c7ad6027df authored over 5 years ago
Simplify signature of SymlinkTreeHelper.createSymlinks

Pass an execRoot and outErr instead of the whole ActionExecutionContext. That way the method can...

1c85fa02326198f3df5d1e970b0ef5bcd354e1fd authored over 5 years ago
Flip --incompatible_disallow_legacy_java_provider.

Fixes #7598.

RELNOTES: None.
PiperOrigin-RevId: 266081966

c8a32f2bdb6cf77aeec2be16ded49632c9699e3e authored over 5 years ago
Flip --incompatible_restrict_named_params to true.

RELNOTES: Make a number of parameters of Starlark builtin functions positional-only (as opposed ...

65ecfea2f3e05b2372431d922a4d029bacd08ca0 authored over 5 years ago
Use isNotEqualTo rather than isNotSameInstanceAs, for boolean params.

The current code works in practice because auto-boxing calls Boolean#valueOf, but it's confusing...

c91fa30994b52de4ddab52071c94399e50880410 authored over 5 years ago
Fix link to android_local_test example in the Bazel Android tutorial

RELNOTES:
PiperOrigin-RevId: 265983111

66fa3366b5b8e7e56c50a86883761d1e5146e89a authored over 5 years ago
Introduce Aapt2OptimizeAction, a ResourceProcessorBusyBox action for running `aapt2 optimize`.

PiperOrigin-RevId: 265976976

4de57920e4ae95a2a09301e26f10b9da80380149 authored over 5 years ago
Flip incompatible_no_target_output_group to true

RELNOTES: The Target.output_group field in Starlark is removed. Use OutputGroupInfo instead. See...

259b8dd0c99187101591f057bbf305a6ab4c19bf authored over 5 years ago
bazel syntax: remove unused function

This intentionally trivial CL is part of an experiment to quantify
obstacles in the development ...

1ada3e634051b5e22ba2e0d6e0f7100c882bff29 authored over 5 years ago
Expand on Android app docs to more resources on Maven dependencies and testing.

RELNOTES:
PiperOrigin-RevId: 265917385

244769ec90c3557ad3b08b6bb1e0848f689519ca authored over 5 years ago
Update documentation for 0.29.0 release.

Closes #9273.

PiperOrigin-RevId: 265916750

a583cbc392fedc0ebb770e5a1104a01b15fee5c2 authored over 5 years ago
Fix a typo in Javadoc for FutureSpawn::wrap.

RELNOTES: None.
PiperOrigin-RevId: 265916162

aff820e745f1fcdec06ce82b8bf9ebf3a0e343ea authored over 5 years ago
bazel syntax: rename UserDefinedFunction to StarlarkFunction

This CL is a pure renaming.

PiperOrigin-RevId: 265911662

3fcfbe14ddec34889c5e3fe33415af2cf9124e7c authored over 5 years ago
Client: convert self_path to Path

Benefits of a Path abstraction instead of raw
strings:
- type safety
- no need to convert paths ...

c099341dd3426508f940f566c40ac2d3d93e2506 authored over 5 years ago
Release 0.29.0 (2019-08-28)

Baseline: 6c5ef5369a3ffceb8a65cc159a2fff1401242810

Cherry picks:

+ 338829f2633e91ae0492ee41...

f791df0aada91c38018ad98b3b40a528ff226204 authored over 5 years ago
bazel syntax: first steps towards Environmental remediation

- make Frame interface private.
- replace "dynamic frame" by simpler mechanism of "Starlark thre...

0c8f22e07a6fb7c31b2a9564a9ce4ae1196bb594 authored over 5 years ago
Add additional Github urls for the java_tools zips.

As of java_tools javac11-v4.0 the releases are also uploaded on Github under [the java_tools rep...

70eea9343d4106cdbd549dfd089ec35cba8ef63b authored over 5 years ago
Prepare tests for flipping --incompatible_disallow_legacy_java_provider.

Progress on #7598.

RELNOTES: None.
PiperOrigin-RevId: 265874920

b774f65768eae01b5930dbec770eaca920ee3e82 authored over 5 years ago
Permit alternate implementations of the SkyFunction used for COLLECT_PACKAGES_UNDER_DIRECTORY.

Also add a few simple unit tests for COLLECT_PACKAGES_UNDER_DIRECTORY.

RELNOTES: None
PiperOrig...

50951dd3bf5bae023f21f62e76ed3d7863404263 authored over 5 years ago
Have exec-server require that install and output base are set

The intention is that users are extra hands-on with server lifecycle and
environment management....

5df3cf865fc48d1338fcd8d4944f78e9095c3498 authored over 5 years ago
Remove JVM arg as a way to enable resource path shortening.

PiperOrigin-RevId: 265746397

756096de03e165ef95b56728ae31afa2833caf5c authored over 5 years ago
HttpDownloader: fix searching in distdirs

To include (and search first) by the basename of the main URL and
not only the destination which...

d2a5b330fe3fe1a7f913a3ce2cf2969a872f7d75 authored over 5 years ago
bazel syntax: rename StarlarkFunction to StarlarkCallable

...since that's the abstraction, and many subclasses are not Starlark functions.

A follow-up ch...

10167a89ff50f13b1a985f5052f7a90768a56fd8 authored over 5 years ago
Simplify the documentation of the aspect function parameters

This should simplify the documentation of these aspect parameters. It took me way too many re-re...

3f119a7a2dba4ba072aa9076d85102a50b36bb30 authored over 5 years ago
Client: convert output_base to Path

(Roll-forward of commit 242acd6c07ccfe380bddf8d5a719c1cdfd6fdfb9 that was rolled back
by commit ...

6f6653937e872996cea2826d91fb140e83c762f6 authored over 5 years ago
Automated rollback of commit 242acd6c07ccfe380bddf8d5a719c1cdfd6fdfb9.

*** Reason for rollback ***

TAP has detected 10 or more targets failed to build at https://gith...

505ca7e3036b328908dd57702278d1cf4641aba5 authored over 5 years ago
Client: convert output_base to Path

Benefits of a Path abstraction instead of raw
strings:
- type safety
- no need to convert paths ...

242acd6c07ccfe380bddf8d5a719c1cdfd6fdfb9 authored over 5 years ago
Upgrade java_tools version.

Closes #9255.

PiperOrigin-RevId: 265660760

b321444237467f8730d01db634d43c8b0ea8d91b authored over 5 years ago
Document that ctx.actions.symlink() and .declare_symlink() are only available when --experimental_allow_unresolved_symlinks is set.

RELNOTES: None.
PiperOrigin-RevId: 265650395

177731fe7cee35bf86f047af4f49042ad176962a authored over 5 years ago
Add support for thin LTO optimization in Bazel

Usage: CC=clang bazel build //foo:bar --features=thin_lto -c opt

RELNOTES: Bazel now supports T...

e2a9e4a3fc99d018e04753f702a6498a4099d2ae authored over 5 years ago
third_party: update google-auth-library to 0.17.1

49d99f36b0332c8938c3fd9b165d8b3b1ff39e40 authored over 5 years ago
bazelrc: support --enable_platform_specific_config

When the value of this flag is true, a host platform specific config
section will be enabled if ...

59755455034a998cdedfb7b086aea3ad78419381 authored over 5 years ago
Fix Some Compilation Errors for Strict C++ Toolchains

Commands like `coverage` which compile zlib and ijar can error out if the user's C++ toolchain h...

f1bbe586fd305714f5240dfb90fcf8664b22f415 authored over 5 years ago
Remove usage of obsolete "useCompiledResourcesForMerge" option

It's on by default in RPBB.

PiperOrigin-RevId: 265592116

75d97c2bfc57887392ae01c68cb40b45257da551 authored over 5 years ago
Remove ConditionalEdges from OutputFormatter#output

It's only implemented by --output=graph, there's a TODO to apply it to other
formats but it's ef...

e4d2e24bfef357edd7d48f86219d1ec803063cb9 authored over 5 years ago
exec-server fails if a server already exists

exec-server is intended to be used by users who want to maintain full control
of a servers lifec...

f0af98524096e47f0cf5406f00c8db4058daf3e2 authored over 5 years ago
Lift non-core methods out of OutputFormatter

About 80% of OutputFormatter (by LOC) was utility methods that weren't part of
the actual interf...

9d07c782421d645bbf0b85d6c087ed7685d819aa authored over 5 years ago
Move aquery and cquery related tests to proper java package

Preparing for splitting up BUILD packages - I had started with BUILD packages
but realized I had...

b32f841f2ac58fbef5b246fdb0cfd6425d9c42ef authored over 5 years ago
Update remote Android tools

This integrates https://github.com/bazelbuild/bazel/commit/7f5f81330d56f653dfc1af057984f0e9fbb3b...

73f5be9139c7149370987db4fa37c63fe46e6222 authored over 5 years ago
Automated rollback of commit fdcde7c6a8f249460ea5894004b367163187d3ed.

*** Reason for rollback ***

https://groups.google.com/d/msg/bazel-discuss/mEozlTRuqbw/Age0rkNFB...

2592d2429cef5028422ce296091e44e49bbaf23c authored over 5 years ago
Targets can now be configured add exec_properties on top of the platform's exec_properties

See https://docs.google.com/document/d/1w3fu8zu_sRw_gK1dFAvkY2suhbQQ82tc0zdjet-dpCI/edit#heading=...

b5082465a16620085fae6184dcacc240b7467431 authored over 5 years ago
Automated rollback of commit 2656be560fab3542fe3132670d0d16a36fd88f0a.

RELNOTES: None.
PiperOrigin-RevId: 265537590

c91a9535302f13521a8875c384ff0b87639ce149 authored over 5 years ago
Add sha256 and sha256_src attributes to maven_jar

..and print warnings if sha256 or sha256_src aren't used, like this:

> `WARNING: /usr/local/goo...

bc9ff0c5f1dc1c592fd8e604e81de0357c78e47a authored over 5 years ago
Make JsModuleContextProvider accessible from Starlark as JsModuleInfo.

PiperOrigin-RevId: 265499116

75b98f0a5ecf575b6a5d257e46a3d99af61101e6 authored over 5 years ago
Fix aspect.vm test template to appropriately grab aspect name

RELNOTES: None.
PiperOrigin-RevId: 265491059

9b0a2fee7c6196dd663586c391f947cbf5702b68 authored over 5 years ago
Fix docs for genrule.local.

RELNOTES: None.
PiperOrigin-RevId: 265460046

00164db511ad9d52e852d745170de06cfc423b29 authored over 5 years ago
Client: introduce Path class, convert server_dir

Benefits of a Path abstraction instead of raw
strings:

- type safety
- no need to convert paths...

ce1f0c58ca3edeba7e56d2cb69d9f62258cbd877 authored over 5 years ago
Wire up --incompatible_disallow_unverified_http_downloads for maven_server

Force usage of either HTTPS or HTTP w/ SHA-1. Note that SHA-1 is still susceptible to collision ...

06d79dd21801caca08bda3c281c7bba04dbcdbb7 authored over 5 years ago
Fix for a syntax error in bash completion script.

This error made bash produce unnecessary 'bash: [: missing `]'' on autocomplete.

RELNOTES: None...

532778d174c9126676394c71f58f66e86437fb7b authored over 5 years ago
Bazel client: reduce mutability

Use some final values instead of mutating a
struct's state. This makes the code easier to
read.
...

7c91751ae799f25522a19306488ada8a0185fb49 authored over 5 years ago
Add a test verifying that renaming is applied to visibility

Change-Id: I35e9eb013680924c17112a35976561204a8da593
PiperOrigin-RevId: 265434039

48c120343e14d7a0bd52c51908c4edd7ede62274 authored over 5 years ago
Automatic code cleanup.

PiperOrigin-RevId: 265432250

d1634315c11fedbbbb94234b58b205e47f227c21 authored over 5 years ago
C++: Move CcLinkingContext into its own file

Just an automatic refactoring done with Intellij, nothing else changed.

RELNOTES:none
PiperOrig...

972accf87ba93a7d671c9a70460b4c1380e10252 authored over 5 years ago
Windows: export generated DEF file from cc_library via 'def_file' output group

We already have 'def_file' output group for cc_binary, but it's
generated from all transitive de...

99fc5f84b6f0134216889d7926d2bc21be79bd5a authored over 5 years ago
Refactoring: include exec_properties as a separate field in Spawn and change the code to use that instead of the platform.

This is in preparation for target level execution properties
(See https://docs.google.com/documen...

0dc53a2217f32da737410883158d42c41b6d1d61 authored over 5 years ago
Add missing word in comment and delete empty line.

RELNOTES: None
PiperOrigin-RevId: 265149865

4ba404f7ed0473df3f0effa016c107ef677464f6 authored over 5 years ago
Remove defaults from Apple device types and versions

These defaults are very prone to getting out of date, which makes these
fields detrimental to ru...

903a7b91dc1a668275f92052e6bbef78678c764c authored over 5 years ago
Expose getPlugins() to Starlark.

RELNOTES:
PiperOrigin-RevId: 265125096

59395bdbf99b79a4f499973ddcd0a33ddd096690 authored over 5 years ago
Replace wrapped_ar on macOS with libtool

Previously there were some inconsistencies with which tool was used to
link in different scenari...

4dfc83d5f11e9190e9e25dee4c7dc2a71cd7b8fd authored over 5 years ago
correct version command

Closes #9194.

PiperOrigin-RevId: 265118281

b4a7ad1607d6cd6b7264bded4927c4c61e9cae1a authored over 5 years ago
Throw an exception when a too-deep depset is flattened

This addresses a bug where depsets with depth in the multiple thousands would result in a generi...

2656be560fab3542fe3132670d0d16a36fd88f0a authored over 5 years ago
Throw an EvalException when declaring a file with sibling in another package

This creates a build failure in such scenarios instead of a Bazel crash.

RELNOTES: None.
PiperO...

aae224dfe2cee09e16253a0cfb9f43fd3ab7778a authored over 5 years ago
Internal refactor - expose PrintVersionInfo to other parts of the client.

PiperOrigin-RevId: 265064647

89b3b87721a5eca450b84fe9c0aa860046b8b771 authored over 5 years ago
Multithread BFS in TraversalInfoRootPackageExtractor using a ParallelVisitor.

RELNOTES:
None.
PiperOrigin-RevId: 265063633

566b738ce44a686c87588a0e882d4188917ef6b3 authored over 5 years ago
Clarify documentation on --max_idle_secs=0

"This option specifies how long, in seconds, the Blaze server process should wait before it exit...

cf988cda3b835cf96e30ac3418468311f5297d21 authored over 5 years ago
Fix proguard target for default conditions.

Fixes #9116.

Closes #9217.

PiperOrigin-RevId: 265016641

9e53b56e5bd01c50cdb8bda105e26dba9015067f authored over 5 years ago
Replace .java with JavaInfo provider.

Progress on #7598.

Closes #9230.

PiperOrigin-RevId: 265016605

900d8db1f2fd9507ca743520df0c982aecb437c4 authored over 5 years ago
Add load statement for @rules_proto to //tools/jdk:BUILD.java_tools

Closes #9202.

PiperOrigin-RevId: 265016468

38fb90c3637276e026a75e5afef3af6b72c12410 authored over 5 years ago
repository mapping lookup: convert to canonical name first

By the way we propagate the information in which repository we are in,
we always have a reposito...

76ed014e77d7b862f6eb2894600ae525ea570f11 authored over 5 years ago
Client, refactor: simplify nullary flag handling

Nullary startup flags (e.g. --[no]master_bazelrc)
are registered with
StartupOptions::RegisterNu...

5697da941db7ebb7ce1ec214da12a08f8c717b24 authored over 5 years ago
Improve error handling for missing/invalid server JVM.

Tell the user if the error was caused by a bad --server_javabase option, and
return a standard e...

166efd601f2536a1bf53634073d4ae4e10ea8c0d authored over 5 years ago
Split up the query2 package

Instead of managing tedious overlapping globs we explicitly break things into separate
packages....

e749677580197d469ff688b732ccd87c9ebfc2dd authored over 5 years ago
Remove legacy reference to AndroidParsedDataDeserializer

As of https://github.com/bazelbuild/bazel/commit/f54c2aeec89e9de176815ce68a11f3f8dbe50c93, Blaze...

7f5f81330d56f653dfc1af057984f0e9fbb3b3c3 authored over 5 years ago
Use rules_android in Android tutorial

This change updates [Bazel Android Tutorial](https://docs.bazel.build/versions/master/tutorial/a...

fdcde7c6a8f249460ea5894004b367163187d3ed authored over 5 years ago
Always print the gRPC status code when it's not okay.

Sometimes a failed grpc::Status doesn't have a message, in which case Bazel can log unhelpful me...

ab89a6e4981a2629b818609e511a850740d611cf authored over 5 years ago
Allow further customization of how the SkyKeys are inferred from the --universe_scope flag value.

RELNOTES: None

PiperOrigin-RevId: 264874419

697d219526bffbecd29f29b402c9122ec5d9f2ee authored over 5 years ago
repository_rules.md: also mention the `bazel sync` command

The documentation on repository rules describes the invalidation mechanism
for repository rule. ...

e9518ec8014bdd962b39517f5f76931536751056 authored over 5 years ago
Clean up some unchecked/rawtype warnings

RELNOTES: None
PiperOrigin-RevId: 264851514

7a079c40744d11726c567c41fb61bc79836f1db3 authored over 5 years ago