| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
parameters of the skylark attr module.
RELNOTES: None.
PiperOrigin-RevId: 204797954
|
|
|
|
|
|
|
|
|
|
| |
Supporting tools in inputs introduces a slow linear scan. Such tools should be moved to the 'tools' attribute. If --incompatible_no_support_tools_in_action_inputs is set the inputs are scanned, but a helpful error message is issued to the user.
Eventually we will remove the slow scanning. Errors will surface in the execution phase instead of during analysis, and the resulting error messages will be less obvious.
RELNOTES: None
RELNOTES[INC]: With --incompatible_no_support_tools_in_action_inputs enabled, Skylark action inputs are no longer scanned for tools. Move any such inputs to the newly introduced 'tools' attribute.
PiperOrigin-RevId: 198996093
|
|
|
|
|
|
| |
This CL aslo enables a presubmit check for correct formatting of all bzl files in //third_party/bazel.
PiperOrigin-RevId: 198857055
|
|
|
|
|
|
| |
Closes #5044.
PiperOrigin-RevId: 198399012
|
|
|
|
| |
PiperOrigin-RevId: 192587935
|
|
|
|
|
|
|
|
|
|
|
|
| |
Backport recent changes to build_tar tool in bazelbuild/rules_docker: https://github.com/bazelbuild/rules_docker/pull/310
- add --empty_file and --empty_dir flags to build_tar.py, allowing
creation of empty files and dirs with specified mode.
- expose those flags as empty_files and empty_dirs parameters to
pkg_tar rule.
Closes #4837.
PiperOrigin-RevId: 190610460
|
|
|
|
|
|
|
|
| |
Prepare pkg.bzl to be compliant with upcoming Skylark changes. With this change,
one can use pkg_tar even if using --all_incompatible_changes.
Change-Id: Iff0ed50bda1f93d9f606b783295b049bdf15d242
PiperOrigin-RevId: 190443156
|
|
|
|
| |
PiperOrigin-RevId: 188182739
|
|
|
|
|
|
|
|
| |
...so that bazel does not complain about internal files when
run with --all_incompatible_changes.
Change-Id: I9a12a7ab0cd6a92351fe17addd601d531f203aff
PiperOrigin-RevId: 170694212
|
|
|
|
|
|
|
|
| |
Put the label of the target in the warning message. Without it, it's
hard to figure out which target one should fix.
Change-Id: I694737e80ed74250ea793402443eaf5d2a13d622
PiperOrigin-RevId: 166184377
|
|
|
|
|
|
|
|
|
| |
So that the user knows the real action to do.
Fixes #3401
Change-Id: I1f7ab258b22f832f31c35c83ff52b33bddf0732a
PiperOrigin-RevId: 165931509
|
|
|
|
|
|
|
|
| |
In the future += on lists will work like .extend (by mutating the list) instead
of copying the list items to a new list (current behavior). Some .bzl files
need to be cleaned up to be compatible with both behaviors.
PiperOrigin-RevId: 165528261
|
|
|
|
|
|
|
|
|
|
| |
The existing support for including a flat list of labels was moved to the `srcs` attribute.
See https://github.com/bazelbuild/bazel/issues/3317 for context and motivation.
Closes #3318.
PiperOrigin-RevId: 161645944
|
|
|
|
|
| |
Change-Id: Ic8c57c0ce78b5875135d5d1f19629ee40fd8f5f2
PiperOrigin-RevId: 153718869
|
|
|
|
|
|
|
|
| |
--
Change-Id: Ia6c94304fded25de48eda2060c5ec11368ff172c
Reviewed-on: https://cr.bazel.build/8991
PiperOrigin-RevId: 148286095
MOS_MIGRATED_REVID=148286095
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132422029
|
|
|
|
|
|
|
| |
--
Change-Id: Ib2066597f3aeec2b160dd56fd19c60d618cb925d
Reviewed-on: https://bazel-review.googlesource.com/#/c/4280
MOS_MIGRATED_REVID=131699503
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pkg_deb can have either conffiles or conffiles_file parameter that propagates
the list of conffiles into the deb archive.
Also the tests in //tools/build_defs/pkg were fixed to run against the rules
from the source tree and not from the bazel distribtution.
--
Change-Id: I61c447feef16511acbb0078d91954dcd7d3375f4
Reviewed-on: https://bazel-review.googlesource.com/#/c/5610
MOS_MIGRATED_REVID=131391925
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126687108
|
|
|
|
|
|
|
|
|
|
| |
Declare openjdk-9-jdk as Conflicts
Progress towards #1456
--
Change-Id: I67c17b78f90f81dbcc9c39bf6f3915789662fa94
Reviewed-on: https://bazel-review.googlesource.com/#/c/3951
MOS_MIGRATED_REVID=126402113
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, _short_path_dirname would take a short path like "libfoo.jar",
rfind would return -1, sp[:-1] would return "libfoo.ja", and then
_dest_path would strip that prefix off of "libfoo.jar", leaving just "r".
Also added some unit tests for these functions.
Fixes #1253.
--
MOS_MIGRATED_REVID=122527723
|
|
|
|
|
|
|
|
|
| |
line
Big pkg can run over the command line limit.
--
MOS_MIGRATED_REVID=115950963
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=113052852
|
|
|
|
|
|
|
|
|
|
| |
These are quite handy for integration with apt repository management
tooling such as reprepro.
--
Change-Id: I865fba846b2c0690ddcc558484462dd3c3e62373
Reviewed-on: https://bazel-review.googlesource.com/#/c/2291/4
MOS_MIGRATED_REVID=108603643
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Various tools will break if deb filenames don't follow the right
format.
Retains a symlink from the <rulename>.deb to the new filename for
compatibility.
--
Change-Id: Ib8ba5b61fcbfe95469f0d9296a932b2a468bc4c2
Reviewed-on: https://bazel-review.googlesource.com/#/c/2290
MOS_MIGRATED_REVID=108590335
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Roll-forward with fixes:
- Tests were missing for xzcat
- xz output was not supported
- bz2 input was missing declaration
--
MOS_MIGRATED_REVID=108325435
|
|
|
|
|
|
|
| |
Fixes #618.
--
MOS_MIGRATED_REVID=107957576
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was ending up installed as /bazel.
Also, the documented way of telling pkg_tar not to strip off the prefix
didn't work.
--
Change-Id: I593d17690526c614697369cab543aff1ba67de0a
Reviewed-on: https://bazel-review.googlesource.com/#/c/2222/
MOS_MIGRATED_REVID=107229260
|
|
This refactor a bit the docker rules to reuse the tarball construction.
Also introduce the debian archive for the release process.
RELNOTES[NEW]: Debian and tar packaging is now supported
(see tools/build_defs/pkg/README.md).
--
MOS_MIGRATED_REVID=105053604
|