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
this is a noop pre-factoring for experimenting with using an ActionTemplate
with JavaCompileActi...
For various verification tasks in build(), the RuleContext.Builder passes
itself as context. Ver...
...instead of only for rules. Separating out the check allows
checking visibility against other ...
The gRPC library uses StatusRuntimeExceptions (SRE) for error reporting. Before this change we w...
142d7d4b9dcc069b9e3fa9359a5ef4b905ec309d authored over 5 years ago
This is to make room for unit tests and common code for them, which would
clash with the previou...
Clients of PackageFunction have to be careful to handle partially valid package results. Package...
351302a2b7c03d135347c08defa2266a12bfd67c authored over 5 years agostopped using MD5 for security-relevant hashes. Nor is MD5 is a good choice for
a fast-but-insec...
This new field on Action is guarded by a new experimental flag, --experimental_action_args. If e...
2b6a435a1c5bb683f3e69e92ca878af6e119918e authored over 5 years agoThis change does not extensively mark all such deprecated symbols in the Starlark API, but intro...
95766f89818614b997ba3b37a3a59bce653536ce authored over 5 years agoThis un-does changes from https://github.com/bazelbuild/bazel/commit/1898f41b807d846d3553db645e6...
8e4b3d3cbac18c653a78ba15f670bf25e05ccd56 authored over 5 years agoPiperOrigin-RevId: 277149933
78fd06ff59a9de2b74f702f4f1e4212006c7678d authored over 5 years agoIt forced most clients to duplicate their handling of AssignmentStatement.
PiperOrigin-RevId: 2...
bbea57557a80716ae09aaef62a1a7f0b9f097ceb authored over 5 years agoAlso, remove spurious repeated srcs file.
PiperOrigin-RevId: 277123549
f16d9495a74793c8c99fcc8d139462b3ad725940 authored over 5 years agoFixes https://github.com/bazelbuild/bazel/issues/10042. See there for context.
Closes #10066.
...
1ae1fbaf559e25b274b44c984d7afe401b329df0 authored over 5 years agoPiperOrigin-RevId: 277105930
4588e3ec485baca92007120d5cadf02e658636e2 authored over 5 years agoBefore, we did not allow two output artifacts in the same build to prefix each other, eg "out/fo...
d0ce12d6f8140edd4644e4a2777620d3bbfbb1dc authored over 5 years ago
The example is:
git clone https://github.com/bazelbuild/examples/
But if you rewrite urls in ...
32fc437a20061c0adea03900162beb9af92bef29 authored over 5 years ago*** Reason for rollback ***
gflags is deprecated in favor of Abseil.
Abseil is restored in Baze...
PiperOrigin-RevId: 277074157
8f811689acd73887fab6564ece996b136d27c954 authored over 5 years agoNot sure/didn't bother to track down when this became unused.
RELNOTES: None
PiperOrigin-RevId:...
Apparently python-gflags is deprecated and advises
to use abseil-py.
See https://pypi.org/proje...
5ada1402f7945a7c0336e3ffc8b3e3dda93fc856 authored over 5 years ago
The complete algorithm is now in NodePrinter,
rather than spread over dozens of files.
The only ...
Closes #10115.
PiperOrigin-RevId: 277043789
17c8600b16c2763d37401c09d6706f2c3d5883ce authored over 5 years ago
* Use the name "bazel-remote" consistently.
* Clarify bazel-remote's status.
* Mention that both...
Remove incorrect comment. The hashes xor'ed together by DigestUtils
are of (path, digest) *pair...
With the upcoming sandboxfs protocol rewrite, we'll have to start accepting
JSON responses as we...
PiperOrigin-RevId: 276764719
8013b1cb1fbce9181d04fa640ae80f31142015f3 authored over 5 years ago
Bazel creates a top-level directory within sandboxfs for each action and
makes sure that these h...
*** Reason for rollback ***
Breaks the nightly
*** Original change description ***
bazel synt...
83dd65263f83edda62eb196b66dc4012021fe11f authored over 5 years ago*** Reason for rollback ***
This is stacked on top of https://github.com/bazelbuild/bazel/commi...
8ce9d84aa054cfd126da16190f5ad5dcb268a827 authored over 5 years agoAll of the uses of this flag in this change were to enable orhpaned artifact detection. However,...
df4845fa38abd9ce57745e76e2266913c5f2995b authored over 5 years ago
RELNOTES: Fix documentation on allowed target names.
PiperOrigin-RevId: 276705062
RELNOTES:
PiperOrigin-RevId: 276672813
This makes migrating Bazel's Python scripts to PY3
easier, because we don't have to update to a ...
This is the only Python script in the Bazel source
tree that uses abseil-py. I'm planning to rem...
The extra arguments are now computed from the invoke
method's parameter types. We use Class inst...
Also:
- delete Node.isNewScope
- mark Node.{get,set}Location final
- AllocationTrackerTest: call...
RELNOTES: None
PiperOrigin-RevId: 276542220
RELNOTES: None
PiperOrigin-RevId: 276526728
This effectively changes the default value of legacy_create_init to false.
Technically, the att...
89f8d37dd2b637c6a9889a64639a52ca79486350 authored over 5 years agoPiperOrigin-RevId: 276516134
ad1db8bbec003599b886abb0bdbefc7cf34be703 authored over 5 years ago
The mechanism existed so that functions like glob could
be closures over the PackageContext, whi...
This was from before we had flags for these things.
PiperOrigin-RevId: 276503421
ce00ced5e957a94b726b8b429f4a95d6e34a6686 authored over 5 years ago
RELNOTES: List fields on CcLinkingOutputs.
PiperOrigin-RevId: 276490537
Fixes:
* Enabled buildifier on the Bazel CI again
* Added Skydocs where missing
* Moved public ...
Also, exclude the stack trace from the error message.
Before:
$ blaze aquery 'outputs(*some_pat...
While doing this, get rid of the pre-mount version check performed "out of
band" to check if san...
PiperOrigin-RevId: 276361804
0137480f824f43a358671c4d1a03273cc4314045 authored over 5 years ago
Missed earlier because this package was not yet put to use... and thus things
broke when trying ...
The close() method uses a flag (closed) to track whether it has been
called and the write() meth...
PiperOrigin-RevId: 276337578
586fa8b264cb2b2f841dc56cd0d85f27f0f5bdb7 authored over 5 years agoPiperOrigin-RevId: 276324443
77e5b92b1804bdf686a880db573ba248b9a38e97 authored over 5 years ago
RELNOTES: None.
PiperOrigin-RevId: 276301078
Contrary to internal comments, objc without include scanning is
consistent with strict header ch...
RELNOTES: None.
PiperOrigin-RevId: 276271186
This new GnuVersionParser processes the output of programs that honor the
--version flag and who...
Chunker initializes its data source lazily to not exceed open file handle limits. We
received a ...
Closes #10088.
PiperOrigin-RevId: 276230356
dbc514ba0fa458182bc2e0697c5e5faac1e6bb8e authored over 5 years agoPiperOrigin-RevId: 276165877
0244da93401d5bc3161883d49b194cb547887cd4 authored over 5 years ago
RELNOTES: None.
PiperOrigin-RevId: 276160217
The user-defined flags documented at https://docs.bazel.build/versions/1.0.0/skylark/config.html...
fff730963765f27c95adefe5b7703dd205b38690 authored over 5 years ago
This allows strategies to detect when the dynamic scheduler stopped them
and to take special act...
setupOverride was used only to override the "native" module
for WORKSPACE files. Now, Configured...
Change generated by buildifier --lint=fix
RELNOTES: None.
PiperOrigin-RevId: 276093064
- as it is more correct and the channel is read-only
- also, explicitly specify the READ open op...
RELNOTES: None.
PiperOrigin-RevId: 276088391
This is a repeat of https://github.com/bazelbuild/bazel/commit/49076cc6694e10170c2640048adbc1b1e...
33b9f9dce8935504dd2524827d651b48f4c1ce65 authored over 5 years ago*** Reason for rollback ***
The newly added tests applied to all file systems, not just the
Uni...
Required to support reading big Ninja files, related to:
[https://github.com/bazelbuild/bazel/pul...
The deleteTreesBelow method starts with a check to see if the given path
is a directory and abor...
Fixes #7433.
RELNOTES: None.
PiperOrigin-RevId: 276023691
PiperOrigin-RevId: 276017455
eb3978b4c8a2b5dcb584acc6934d2b2e26358886 authored over 5 years ago
The integration with sandboxfs relies on the output of "sandboxfs --version"
to determine which ...
This was obsoleted by the introduction of the Subprocess.destroyAndWait()
generic method.
RELNO...
c73c308e25abab3652b20610e2955b1ab7c39f36 authored over 5 years ago
The Subprocess class already had this functionality in it, but it was hidden
behind the destroyA...
To use the transition, define a rule with a "python_version" string attribute. Valid values are:...
f6bfbdc534a12b77d376e0743548335712da764e authored over 5 years agoInstitute a static check (via annotation processor) that any instances of generics in @SkylarkCa...
0451e58beede0495f56c17443322d510de231439 authored over 5 years agoSourcetree fix for https://github.com/bazelbuild/stardoc/issues/19
RELNOTES: None.
PiperOrigin-...
PiperOrigin-RevId: 275867141
693dc655f08e6059028ed88a35c507cd2d3b72d7 authored over 5 years agoCloses #10073.
PiperOrigin-RevId: 275819637
5a2ec76f0b974e6b501a6de4767cc090f88e48dc authored over 5 years agoBaseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Cherry picks:
+ a0e3bb207fe2044120a2555a...
f15bfb392cc1e926db8f3aa690cae9b37d9f83e8 authored over 5 years agoThe main ideas behind this implementation are:
1) using the NIO with direct buffer allocation f...
ad04c1abe923203b2868ea51a447e32a705f2e0c authored over 5 years ago
Previously, we reported cancelled runs as ERROR, with both a link and
the output of the test log...
The newer version has features we need to easily
migrate our .py scripts from PY2 to PY3 syntax....
Baseline: d9fe1d4078c25912427c9b2e79e115f4ee9b7ab8
Cherry picks:
+ 0a8071af47223989e9ba335e...
e693c1977a4b8705a030bc0bc3e4220be72f3af7 authored over 5 years ago
e.g.
blaze build --noexperimental_announce_profile_path
#9988
RELNOTES: None
PiperOrigin-RevId...
System.currentTimeMillis() can "travel" backwards in time.
RELNOTES: None
PiperOrigin-RevId: 27...
RELNOTES: None
PiperOrigin-RevId: 275789823
Follow up on https://github.com/bazelbuild/bazel/commit/386688b4f2139a951d74865c6b7f03bf7bd4f222...
049a639a3ddc6c8cfb5a23f845bbd2e0ad111d99 authored over 5 years agoUsage:
$ blaze cquery 'deps(//:mytarget)' --show_config_fragments=direct
$ blaze cquery 'deps...
Gets rid of duplicate tests, moving it to the more focused location. I didn't
port the tags over...
...in the form of not-yet-implemented functions.
PiperOrigin-RevId: 275530947
bf6ac612c5f179c01441ca88c7e80b3d7cf6946e authored over 5 years ago
...and all but 1 apiece to StarlarkThread.setupOveride and to
StarlarkThread.update. The thread ...
And make it so that the query tests actually test...
PiperOrigin-RevId: 275499006
092b74151226dbf3a42aff9500b56caf8c881fe4 authored over 5 years ago
After this change, users can get the python zip file of a certain
target without using `--build_...
Closes #10054.
PiperOrigin-RevId: 275454379
a555cfd1571ea4f77f0f67c39aff775d49636215 authored over 5 years ago
When we enable dynamic execution without sandboxing, the local spawn is
allowed to run until the...
It appears to be unnecessary.
PiperOrigin-RevId: 275391229
23134ea9a07266229142186fd042771ffc811640 authored over 5 years agoPiperOrigin-RevId: 275361681
7d711b4573eede2f87c91e798e842b2846805029 authored over 5 years agoThis information is nowadays in a resource_optimization.cfg file passed to `aapt2 optimize --res...
a13e303d3ed9aa6843e19ec2b593ec83e70cb611 authored over 5 years ago