| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Fixes #1087
--
MOS_MIGRATED_REVID=118919990
|
|
|
|
|
|
|
| |
Fixes #1043
--
MOS_MIGRATED_REVID=118039426
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117123912
|
|
|
|
|
|
|
| |
fully implemented but still being guinea pigged.
--
MOS_MIGRATED_REVID=116694206
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116693888
|
|
|
|
|
|
|
| |
cpp, java, jvm) to the documentation.
--
MOS_MIGRATED_REVID=116092594
|
|
|
|
|
|
|
|
|
|
| |
* Add support for rules with capital letters, such as Fileset
* Add support for static page headings with periods.
* Run the expander on the HTML doc for the name attribute.
* Add functions to initial rule index.
--
MOS_MIGRATED_REVID=115925884
|
|
|
|
|
|
|
|
|
|
|
| |
time ago where glob(['**'], exclude_directories = 0) doesn't match the package's directory. Also add tests for this behavior.
Also update Skyframe globbing to have these semantics. Any discrepancy has always been problematic, but now that we have Skyframe-hybrid globbing it's a lot more dangerous and consequential.
Alternatives considered: do this the other way around (keep the stale documentation as-is and instead update legacy globbing). This would potentially require changing existing usages from stuff like 'data = glob(["**"], exclude_directories = 0)' to 'data = [x for x in glob(["**"], exclude_directories = 0) where x != '']'. I think this is too messy, so long as there is a valid use-case for globs matching directories in the first place.
--
MOS_MIGRATED_REVID=115511504
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL implements a new `${link rule.attribute}` syntax which can be used to
reference the documentation of rules and attributes of other rule families. For
example, `${link cc_library.deps}` will generate a link to the documentation for
the `deps` attribute of the `cc_library` rule. Similarly, this syntax can also
be used to reference sections of static documentation, for example
`${link common-definitions.label-expansion}`.
--
MOS_MIGRATED_REVID=115492361
|
|
|
|
|
|
|
| |
docgen variables.
--
MOS_MIGRATED_REVID=115204049
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
documented rules.
Currently, we are generating an empty page for the Protocol Buffer rules on
bazel.io because the rule definition exists but all the rules are set as
undocumented. In cases like these, the docgen should neither generate a page
nor any links for the rule family.
Fixes #882
--
MOS_MIGRATED_REVID=114834947
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114441410
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=113822158
|
|
|
|
|
|
|
| |
parameter.
--
MOS_MIGRATED_REVID=113730588
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=113658912
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The JAVAC "Make" variable is the javac packaged with the host JDK, which is not
necessarily the same version used to compile java_library rules.
Users should typically use java_library directly. If a manual javac invocation
is required, BazelJavac uses the same javac version and flags as java_library.
In the rare cases where the host JDK's compiler is actually desired, prefer
`$(JAVABASE)/bin/javac` to `$(JAVAC)` for clarity.
--
MOS_MIGRATED_REVID=113386241
|
|
|
|
|
|
|
| |
...and this documentation is incorrect.
--
MOS_MIGRATED_REVID=113198846
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Violates layering - genrule should not depend on platform- or language-specific parts.
*** Original change description ***
Add a DEVELOPER_DIR make variable to genrules to propagate the apple xcode environment variable DEVELOPER_DIR to commands.
If $(DEVELOPER_DIR) is included in the genrule command, we bootstrap the XCODE_VERSION_OVERRIDE environment variable to the command.
The contract with the actual action executor is, if XCODE_VERSION_OVERRIDE is present in the environment, to additionally bootstrap the DEVELOPER_DIR absolute path to the command.
--
MOS_MIGRATED_REVID=112951074
|
|
|
|
|
|
|
|
|
|
| |
environment variable DEVELOPER_DIR to commands.
If $(DEVELOPER_DIR) is included in the genrule command, we bootstrap the XCODE_VERSION_OVERRIDE environment variable to the command.
The contract with the actual action executor is, if XCODE_VERSION_OVERRIDE is present in the environment, to additionally bootstrap the DEVELOPER_DIR absolute path to the command.
--
MOS_MIGRATED_REVID=112605616
|
|
|
|
|
|
|
| |
Fixes #790
--
MOS_MIGRATED_REVID=112563137
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112394770
|
|
|
|
|
|
|
| |
deprecated.
--
MOS_MIGRATED_REVID=112392227
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke build of Bazel tests on ci.bazel.io
See http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=ubuntu_15.10-x86_64/280/console
Found using git bisect and /tmp/bazel-bin build --nobuild //src/tools/generate_workspace/src/main/java/com/google/devtools/build/workspace:workspace
*** Original change description ***
Factor implementation of bazel-specific cpp logic out of devtools/build/lib/BUILD into subpackage, to allow the objc implementation to extend that logic without a circular dependency. In particular, create a subpackage at lib/bazel/rules, and move relevant targets that were in lib/bazel down to the subpackage.
--
MOS_MIGRATED_REVID=111632586
|
|
|
|
|
|
|
| |
devtools/build/lib/BUILD into subpackage, to allow the objc implementation to extend that logic without a circular dependency. In particular, create a subpackage at lib/bazel/rules, and move relevant targets that were in lib/bazel down to the subpackage.
--
MOS_MIGRATED_REVID=111602013
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Skylark into their own package. This allows, e.g., classes in the syntax package to access classes in the cmdline package without creating circular dependencies.
While we're here:
- Removed a couple of unused BUILD deps flagged in [].
- Updated SkylarkRuleImplementationFunctionsTest to remove non-ASCII characters and
clarify the intent of the test.
--
MOS_MIGRATED_REVID=110360763
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
documentation passed to templates.
* This simplifies the logic in BuildEncyclopediaProcessor, reducing the number
of various different data structures we use for generating different pages.
* This also makes RuleFamily more similar to the BuildLanguage proto, which we
we may consider using in the future for the native rule docgen since the
Skylark docgen will be using BuildLanguage.
--
MOS_MIGRATED_REVID=110265727
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109571074
|
|
|
|
|
|
|
| |
target patterns and are thus neither built nor tested by invocations like "blaze test //my/project/..."
--
MOS_MIGRATED_REVID=109251573
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109185795
|
|
|
|
|
|
|
| |
Variables pages.
--
MOS_MIGRATED_REVID=109178629
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108985661
|
|
|
|
|
|
|
| |
documentation.
--
MOS_MIGRATED_REVID=108019887
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107987328
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107048547
|
|
|
|
|
|
|
|
|
|
| |
RELNOTES: Tests, genrules, and Skylark actions without the
"requires-network" tag will no longer be able to access the network.
--
Change-Id: I6f7ad209142c6cfa2ad0318adf3dcfbc9af3d724
Reviewed-on: https://bazel-review.git.corp.google.com/#/c/2221/
MOS_MIGRATED_REVID=107043709
|
|
|
|
|
|
|
| |
Fixes #529
--
MOS_MIGRATED_REVID=106883457
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
previous commit
Document and test how rules can run without the sandbox.
The only documentation about usable tags values was in a weird place,
along with duplicated information about flaky tests.
--
Change-Id: Ib98a0a5c582890512161ecf9f5d89c8e78d9ad68
Reviewed-on: https://bazel-review.googlesource.com/#/c/2220
MOS_MIGRATED_REVID=106858070
|
|
|
|
|
|
|
| |
the BUILD documentation.
--
MOS_MIGRATED_REVID=106515647
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=106493557
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=106133409
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=106092764
|
|
|
|
|
|
|
|
| |
Use SkylarkList everywhere rather than either List or GlobList.
Keep a GlobList underneath a MutableList, where applicable.
--
MOS_MIGRATED_REVID=105864035
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105511114
|
|
|
|
|
|
|
|
|
|
|
| |
Any rule in that black list will be skipped during build encyclopedia
generation.
This is for supporting outside documentation of rules that have a
different documentation internally.
--
MOS_MIGRATED_REVID=103958542
|
|
|
|
|
|
|
|
|
|
|
| |
The headers were modified with
`find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'`
And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan.
The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand.
--
MOS_MIGRATED_REVID=103938715
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103556315
|
|
|
|
|
|
|
|
|
|
| |
- Label parsing can be simplified
- lib.syntax is only contains the code for Skylark and is reasonably independent from the problem domain of building things
This change is mostly only changes to imports declarations. The rest is reversing the dependency between :cmdline and :syntax and moving a tiny amount of code between Printer and FilesetEntry and the addition of SkylarkPrintableValue that I couldn't be bothered to separate out into its own change.
--
MOS_MIGRATED_REVID=103527877
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103374106
|
|
|
|
|
|
|
|
| |
Make SkylarkList no longer read-only to match Python and the BUILD language.
Instead, subject it to a Mutability object inherited from the Environment.
--
MOS_MIGRATED_REVID=103332973
|
|
|
|
|
|
|
| |
RELNOTES: Add Jsonnet rules to Bazel
--
MOS_MIGRATED_REVID=102895524
|