| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Fixes #912.
--
MOS_MIGRATED_REVID=114941859
|
|
|
|
|
|
|
|
| |
The example implies that this works for an existing binary, but if the rule is a file then it doesn't work. This changes it so that users will know that the allow_files option exists and they likely want it in this case.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/892
MOS_MIGRATED_REVID=114849501
|
|
|
|
|
|
|
| |
This the tutorial part of change for https://github.com/bazelbuild/examples/issues/10.
--
MOS_MIGRATED_REVID=114677244
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114428005
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114372166
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
This change broke internal docs and is no longer needed because the
documentation pipeline will automatically take care of converting these to
.html
for the external site.
*** Original change description ***
Fix links in http://bazel.io/docs/skylark/
--
MOS_MIGRATED_REVID=114364411
|
|
|
|
|
|
|
| |
RELNOTES: Add instrumented file provider support to Skylark rules.
--
MOS_MIGRATED_REVID=114255963
|
|
|
|
|
|
|
| |
workspace file in the repo.
--
MOS_MIGRATED_REVID=113822978
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Issue that caused the rollback (#819) is resolved
*** Original change description ***
Automated [] rollback of [].
*** Reason for rollback ***
Prerequisite for rolling back j2objc base workspace change
*** Original change description ***
Remove base_workspace from bazel setup
I also removed a couple places the documentation referred to it incorrectly.
There are still a couple of blog posts that mention it, but that seemed okay.
RELNOTES: A bazelrc with --package_path set is no longer required for Bazel to
find its tools. This also means that building //......
--
MOS_MIGRATED_REVID=113259357
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is to avoid confusion between rule(), which declares a new build
rules, and native.rule(), which can only be used in macros to inspect
the BUILD file processed so far.
native.{rule,rules} is maintained and marked deprecated to smooth the
transition for early adopters.
--
MOS_MIGRATED_REVID=113250194
|
|
|
|
|
|
|
| |
Removes extraneous '\' characters before shell script comments.
--
MOS_MIGRATED_REVID=113239711
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=113236916
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Prerequisite for rolling back j2objc base workspace change
*** Original change description ***
Remove base_workspace from bazel setup
I also removed a couple places the documentation referred to it incorrectly.
There are still a couple of blog posts that mention it, but that seemed okay.
RELNOTES: A bazelrc with --package_path set is no longer required for Bazel to
find its tools. This also means that building //... should work to build
everything in the workspace without including Bazel's own targets.
--
MOS_MIGRATED_REVID=113164089
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=113137648
|
|
|
|
|
|
|
| |
I thought Jekyll would translate these, but apparently not?
--
MOS_MIGRATED_REVID=112977415
|
|
|
|
|
|
|
|
| |
Apropos issue #776. This hint in the doc would have saved me from filing a bogus bug.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/778
MOS_MIGRATED_REVID=112972220
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112766331
|
|
|
|
|
|
|
|
|
|
|
|
| |
I also removed a couple places the documentation referred to it incorrectly.
There are still a couple of blog posts that mention it, but that seemed okay.
RELNOTES: A bazelrc with --package_path set is no longer required for Bazel to
find its tools. This also means that building //... should work to build
everything in the workspace without including Bazel's own targets.
--
MOS_MIGRATED_REVID=112604261
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112598805
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112573386
|
|
|
|
|
|
|
| |
Fixes #790
--
MOS_MIGRATED_REVID=112563137
|
|
|
|
|
|
|
|
| |
Because `appengine_war` is not defined by default, `bazel build` fails unless loading. It would be nice to add the code to load the rule in the tutorial.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/794
MOS_MIGRATED_REVID=112415835
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rule.
Add native.rules(), which returns all previously defined rules.
These primitives can be used to write Skylark extensions that aggregate over the contents of a BUILD file, eg.
def instantiate_if_needed(name):
n = name + "_wrapped"
if not native.rule(n):
py_test(name = n , ... )
def archive_cc_src_files(tag):
all_src = []
for r in native.rules().values():
if tag in r["tags"] and r["kind"] == "cc_library":
all_src.append(r["srcs"])
native.genrule(cmd = "zip $@ $^", srcs = all_src, outs = ["out.zip"])
RELNOTES: Support aggregation over existing rules in Skylark extensions
through native.rules and native.rule.
--
MOS_MIGRATED_REVID=112249050
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112248853
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112231484
|
|
|
|
|
|
|
| |
It isn't necessary anymore.
--
MOS_MIGRATED_REVID=112132272
|
|
|
|
|
|
|
|
| |
See https://groups.google.com/forum/#!topic/bazel-discuss/xPe-oaqWZ6s
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/787
MOS_MIGRATED_REVID=112129205
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112099756
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112039216
|
|
|
|
|
|
| |
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/764
MOS_MIGRATED_REVID=111832176
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=111607647
|
|
|
|
|
|
|
|
|
| |
threads!
Fixes #748
--
MOS_MIGRATED_REVID=111468883
|
|
|
|
|
|
|
| |
to aid in diagnosing issue #748.
--
MOS_MIGRATED_REVID=111360258
|
|
|
|
|
|
|
| |
Fixes #743.
--
MOS_MIGRATED_REVID=111028988
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was originally written before sandboxing was enabled and I didn't notice
that src/ contained a header.
I've also removed the -Iexternal/gtest lines, since they're no longer needed.
Fixes #734.
--
MOS_MIGRATED_REVID=110790783
|
|
|
|
|
|
|
| |
Fixes #587.
--
MOS_MIGRATED_REVID=110785300
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110770240
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110473220
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110391328
|
|
|
|
|
|
|
| |
targets.
--
MOS_MIGRATED_REVID=110275427
|
|
|
|
|
|
|
|
| |
I got the "command not found" error for add-apt-repository on a clean Ubuntu installation and I think that the docs can be friendlier if they specify this :)
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/691
MOS_MIGRATED_REVID=110062139
|
|
|
|
|
|
|
| |
(Written by Philipp Wollermann.)
--
MOS_MIGRATED_REVID=109919187
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109881691
|
|
|
|
|
|
|
|
|
|
| |
- Add mitigation of the common problem to the documentation
- Add indication on how to activate sandboxing on some machine (GKE nodes for example)
Fixes #433
--
MOS_MIGRATED_REVID=109879921
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In particular:
- Separate the implementation of maven_server into a RepositoryFunction and one that creates the MavenServerValue (ideally, maven_server wouldn't exist but we'll have to make to for the time being)
- Refactor the logic of determining whether an external repository needs to be re-fetched to RepositoryDelegatorFunction
- Make RepositoryFunctions not be SkyFunctions anymore (they are called from RepositoryDelegatorFunction, though, who *is* a SkyFunction)
- Add a Skyframe dirtiness checker that makes --nofetch RepositoryValues not be cached
- Add a bunch of test cases and javadoc
There is only one wart that I know of that remains: changes to BUILD files of new_* repository rules that weren't refetched when their RepositoryValue was initiall created on server restart won't take effect. This is because we don't add those BUILD files to the created RepositoryValue. This will fix itself once the ExternalFilesHelper refactoring is submitted.
--
MOS_MIGRATED_REVID=109768345
|
|
|
|
|
|
|
| |
target patterns and are thus neither built nor tested by invocations like "blaze test //my/project/..."
--
MOS_MIGRATED_REVID=109251573
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108717933
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108606372
|
|
|
|
|
|
|
|
| |
Also use a largely less optimistic timeline.
We will update it each time we complete a milestone.
--
MOS_MIGRATED_REVID=108604966
|
|
|
|
|
|
| |
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/633
MOS_MIGRATED_REVID=108359851
|