aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
Commit message (Collapse)AuthorAge
* Use targets' labels' package identifier for query output=packageGravatar mschaller2017-06-22
| | | | | | | | | | Subinclude targets' packages are the package containing the load statement. Subinclude targets' labels are the bzl files they refer to. The latter has the appropriate package to display for --output=package. Fixes #3122. PiperOrigin-RevId: 159750840
* Automated rollback of commit 7dec00574aa91327693f6ba7e90bff5bc834253e.Gravatar ajmichael2017-06-22
| | | | | | | | | *** Reason for rollback *** Tickled a hidden bug in Blaze query. RELNOTES: None PiperOrigin-RevId: 159718294
* Delete the 'upcoming' changes section.Gravatar laurentlb2017-06-22
| | | | | | | It's partially redundant with the 'Backward-incompatible changes' section. RELNOTES: None. PiperOrigin-RevId: 159705909
* Introduce --incompatible_depset_is_not_iterableGravatar laurentlb2017-06-21
| | | | | | | RELNOTES: Iterating on a `depset` object is deprecated. If you need an iterable, call the `.to_list()` method first. PiperOrigin-RevId: 159672887
* Update install documentation with latest Bazel version numberGravatar steren2017-06-20
| | | | | | | | | Also remove warning about macOS bug in 0.5.0 and instructions about JDK7 Fixes https://github.com/bazelbuild/bazel/issues/3222 RELNOTES: None PiperOrigin-RevId: 159569520
* Fix a link rot.Gravatar Googler2017-06-16
| | | | | RELNOTES: None PiperOrigin-RevId: 159195321
* Clarify a remark on upcoming changesGravatar brandjon2017-06-16
| | | | | RELNOTES: None PiperOrigin-RevId: 159098919
* Remove reference to Python-preprocessing in the documentationGravatar laurentlb2017-06-16
| | | | | RELNOTES: None. PiperOrigin-RevId: 159044239
* Fix couple of code blocks, doc paths in docgen templates.Gravatar dzc2017-06-16
| | | | | | | | | * Replace ```shell with ```sh to fix jekyll build errors * Fix paths in docgen templates for new docs site directory structure. * Add jekyll build output directories to gitignore. RELNOTES: None PiperOrigin-RevId: 159020213
* Introduce --incompatible_load_argument_is_label (1st argument of load must ↵Gravatar laurentlb2017-06-14
| | | | | | | | | be a label). RELNOTES: First argument of 'load' should be a label. Path syntax is deprecated (label should start with '//' or ':'). PiperOrigin-RevId: 158971314
* Introduce --incompatible_comprehension_variables_do_not_leakGravatar laurentlb2017-06-14
| | | | | | | | | | | | | When the flag is activated, variables in list comprehensions do not leak anymore. Even if a variable was defined before the loop, it's not accessible after the loop. This change allows us to detect any breakage and ensures that no user is accessing loop variables after the loop. This will make possible for us to change the behavior and follow Python 3 semantics in the future. RELNOTES: None. PiperOrigin-RevId: 158895514
* docs: fix outputBase pathGravatar Thiago Farina2017-06-13
| | | | | | | | The path was missing the user's name, that in this example, is just 'user' for the sake of simplicity. Change-Id: I7558c066c28f8a605bd4b4e336b41c09585dfa57 PiperOrigin-RevId: 158749926
* Don't call function names keyword in the query reference because they are not.Gravatar lberki2017-06-13
| | | | | RELNOTES: None. PiperOrigin-RevId: 158721043
* Document the --experimental_extra_action_top_level_only command line option.Gravatar lberki2017-06-09
| | | | | RELNOTES: None. PiperOrigin-RevId: 158497633
* Small edits to overview topic.Gravatar Googler2017-06-09
| | | | PiperOrigin-RevId: 158433594
* Re-add some accidentally deleted docs.Gravatar ajmichael2017-06-09
| | | | | | | | These were accidentally deleted in https://github.com/bazelbuild/bazel/commit/7dec00574aa91327693f6ba7e90bff5bc834253e. RELNOTES: None PiperOrigin-RevId: 158404948
* Removed docs for nonexistent optionGravatar Mike Morearty2017-06-08
| | | | | | | | | | Removed `--local_genrule_timeout_seconds` from the documentation. This option does not exist in the codebase, and is apparently a holdover from internal docs for blaze. Fixes #3131 Closes #3140. PiperOrigin-RevId: 158390228
* Fix paths in Bazel docs, removing references to versions/master.Gravatar dzc2017-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow-up to https://github.com/bazelbuild/bazel/commit/22b85a2a3c79c6f3aef1e0a61e485bb135be4551. This change updates paths and URLs to Bazel docs, removing the versions/master directory and changing bazel.build/docs to docs.bazel.build. For clarification on the convention of the docs site, links referencing docs.bazel.build/foo.html will be redirected to docs.bazel.build/versions/master/foo.html. The versions/master directory will contain the documentation pages pushed from HEAD. Once versioned documentation is ready, then docs.bazel.build/foo.html will instead be redirected to docs.bazel.build/x.y.z/foo.html, where x.y.z is the directory for the latest stable Bazel version. Follow-ups to this change: * Add script that will be used by the daily push job that pushes the latest documentation from HEAD to docs.bazel.build. This script will do the following: * Build the Jekyll tree, run jekyll build, and modify the resulting site tree, moving the docs/ directory into versions/master. * Add redirects for each of the site pages from the root of the site to the corresponding page in versions/master. * This should give us the minimum viable product for the new docs site. * Add script for cutting a release of the docs and pushing to a new versioned directory on the docs.bazel.build bucket. RELNOTES: None PiperOrigin-RevId: 158347197
* Make PackageOutputFormatter use PackageIdentifier instead of package name.Gravatar ajmichael2017-06-08
| | | | | | | Fixes #3122. RELNOTES: bazel query --output package now displays packages from external repository with the format "@reponame//package". Packages in the main repository continue to have the format "package". PiperOrigin-RevId: 158327492
* Update the C++ tutorial to match the format of the Java tutorial and to use ↵Gravatar Googler2017-06-08
| | | | | | | | | | | | | a sample project hosted on GitHub. This depends on pull request #23 in bazelbuild/examples which uploads the C++ sample project. Staged at: [] [] PiperOrigin-RevId: 158297121
* Bring the Bazel mobile app tutorial up to date.Gravatar Googler2017-06-08
| | | | | | | | | | | | | | This depends on pull request #23 in bazelbuild/examples which modifies the tutorial\WORKSPACE and tutorial\ios-app\BUILD files to match this CL. Staged at: [] [] [] [] RELNOTES: None. PiperOrigin-RevId: 158296117
* Update the Java tutorial for flow, readability, and to use a GitHub-hosted ↵Gravatar Googler2017-06-08
| | | | | | | | | | | companion project. This depends on pull request #23 in bazelbuild/examples which uploads the required Java companion project. Staged at [] RELNOTES: None. PiperOrigin-RevId: 158287971
* Missed updating this title when changing the name of this section in ↵Gravatar Googler2017-06-08
| | | | | | previous change. PiperOrigin-RevId: 158278265
* Update bzl style, local variables don't start with underscoreGravatar laurentlb2017-06-08
| | | | | | | The underscore prefix is meaningful only for global variables (to make them package private). RELNOTES: None. PiperOrigin-RevId: 158277028
* Introduce --incompatible_disallow_toplevel_if_statement to forbid top-level ↵Gravatar laurentlb2017-06-08
| | | | | | | | | | if statements. RELNOTES: In .bzl files, top-level `if` statements are deprecated and will be forbidden in the future. Move them in a function body instead (or use a conditional expression instead: `x if condition else y`). PiperOrigin-RevId: 158276986
* Fix the link to RuleClassProvider.java in Bazel documentation.Gravatar ivucica2017-06-08
| | | | PiperOrigin-RevId: 158267493
* Section about Bazel concepts should be titled as such (rather than "BUILD ↵Gravatar Googler2017-06-06
| | | | | | file" and "Bazel: Build Files and Terminology"). PiperOrigin-RevId: 158149353
* Document --nouse_action_cacheGravatar Googler2017-06-05
| | | | | RELNOTES: None. PiperOrigin-RevId: 157833033
* Remove "supports-workers" tag from ApkBuilder execution info.Gravatar philwo2017-06-05
| | | | | | The C++ implementation of SingleJar, which is available in Bazel, but not yet the default, doesn't support persistent worker mode, so this causes issues when you try to use it. PiperOrigin-RevId: 157831362
* Update documentation for --output_filter and --auto_output_filterGravatar ulfjack2017-06-02
| | | | PiperOrigin-RevId: 157809651
* Automated g4 rollback of commit dba22f337a20d3e8f3ac8dfd23bc6fa69e4528da.Gravatar xingao2017-06-02
| | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Use Java implementation of singlejar on FreeBSD, and roll forward change 157473007. *** Original change description *** Automated g4 rollback of commit d894345ed88f8adce600b66a310b5210d0bcb59c. *** Reason for rollback *** Breaks Bazel on FreeBSD: http://ci.bazel.io/view/Dashboard/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=freebsd-11/1542/console *** Original change description *** Use cc implementation of singlejar except on Windows. Change-Id: Ie4a2db2a6fa1ea86f4bdd42cd806f6804a0c56d4 PiperOrigin-RevId: 157729503
* Remove last remainign Bazel blog post.Gravatar steren2017-06-01
| | | | | | | The blog post is stored here: https://github.com/bazelbuild/bazel-blog/blob/master/_posts/2017-05-31-google-summer-of-code-2017.md RELNOTES: None PiperOrigin-RevId: 157703951
* Rename Blaze documentation files to Bazel.Gravatar László Csomor2017-06-01
| | | | Change-Id: I2ba2f89828ce21261f9326815d47d8d4bc8d7dce
* Restructure site/ directory into docs/ which only contains Bazel documentation.Gravatar dzc2017-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The new docs/ directory in the bazel source tree will only contain the Bazel docs site, which is hosted at docs.bazel.build. This change deletes the marketing site and blog, which have been migrated to the bazel-website and bazel-blog GitHub repositories respectively. This change also updates the serve-docs.sh and ci/build.sh under scripts/ in preparation for publishing the docs site. Note that to help make reviews more manageable, this change is limited to moving files to their new locations. Here are the follow-up changes: * Update all links in docs to remove versions/master in paths and to add correct bazel.build subdomain when linking to pages on the marketing site or the blog. * Set up versioned directories on GCS bucket and add tooling for versioning docs This change is also coordinated with https://bazel-review.googlesource.com/c/11568/ to have the PublishSite job publish to docs.bazel.build rather than www.bazel.build. Issue #2397 RELNOTES: None PiperOrigin-RevId: 157612651
* Document incompatible changes for SkylarkGravatar laurentlb2017-06-01
| | | | | RELNOTES: None. PiperOrigin-RevId: 157585956
* Reverting parent commit; didn't help.Gravatar László Csomor2017-06-01
| | | | Change-Id: Ic3dfbef70b83f43a2cde352de977a8f23e5e7a54
* Rename some *.md docs to *.htmlGravatar László Csomor2017-06-01
| | | | | | | | | | | These files were renamed in the internal depot and our push-to-github scripts don't handle this correctly. This is related to PiperOrigin-RevId: 157612651 that I'm can't push until this commit is merged. Change-Id: I2cd8a1980042a783293ce606111b00c6717cfab3
* Blog post about Google Summer of Code.Gravatar laurentlb2017-05-31
| | | | | RELNOTES: None. PiperOrigin-RevId: 157583300
* Fix links in documentationGravatar laurentlb2017-05-31
| | | | | RELNOTES: None. PiperOrigin-RevId: 157582485
* Small updates to external dependencies topic for readability.Gravatar Googler2017-05-31
| | | | PiperOrigin-RevId: 157468728
* Fix some typoGravatar pcloudy2017-05-30
| | | | | RELNOTES: None PiperOrigin-RevId: 157403137
* Polish the documentation addressing #3063Gravatar hlopko2017-05-30
| | | | | RELNOTES: None. PiperOrigin-RevId: 157401168
* Update Windows documentGravatar Yun Peng2017-05-30
| | | | | | | | | | 1. We are not high experimental any more 2. Point known issues to the right place 3. Make it clear that we also support python 3 4. MSVC is the default on Windows toolchain since 0.5.0 Change-Id: I804215b7b14263e43b30cdf76a9aaf0eb4598cee PiperOrigin-RevId: 157398506
* For version 0.5.0, update installation instructions:Gravatar Googler2017-05-29
| | | | | | | | | - Bazel with JDK 7 will not be supported past 0.5.0 - a new installer is available with embedded JDK This change should only be submitted when version 0.5.0 is released. PiperOrigin-RevId: 157396320
* Update documentation to address #3063Gravatar hlopko2017-05-29
| | | | | RELNOTES: None PiperOrigin-RevId: 157393208
* Replace list of changes in 0.5 announcement by a link to GitHub release page.Gravatar steren2017-05-29
| | | | | | | | In previous annoucenment, we did not copy the full list of changes in the blog post: https://bazel.build/blog/2016/11/02/0.4.0-release.html Here they were copies because they were temporary added to the blog post draft, but should have ultimately be removed. RELNOTES: None PiperOrigin-RevId: 157378942
* Changed a link so that the 'Docs' header on Bazel's site goes to the Bazel ↵Gravatar Googler2017-05-29
| | | | | | | | | overview topic rather than instructions for installing Bazel. Test: staged locally RELNOTES: None. PiperOrigin-RevId: 157263957
* Add bazel 0.5.0 release blog postGravatar hlopko2017-05-26
| | | | | RELNOTES: None. PiperOrigin-RevId: 157219345
* fixed broken "compile bazel from source" in "ubuntu" pageGravatar Or Shachar2017-05-26
| | | | | | Closes #3052. PiperOrigin-RevId: 157210157
* Make sure Copyright year is always up to date.Gravatar steren2017-05-23
| | | | | | | | | | In a document comment, xam@ said it was OK to have the copyright year showing the current date. Instead of using a fixed date, I used the technique described at http://www.adamwadeharris.com/get-current-year-in-jekyll/ I tested the change locally. RELNOTES: None PiperOrigin-RevId: 156861876