aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/query.html
Commit message (Collapse)AuthorAge
* Fix broken linksGravatar Googler2018-03-01
| | | | | | | The links were to different sections in the page, but were not prefixed with hashtags. RELNOTES: Fix broken links in query docs. PiperOrigin-RevId: 187486286
* add "r" to rbuildfiles example in query documentation.Gravatar juliexxia2018-02-16
| | | | PiperOrigin-RevId: 186011298
* Query reference updates:Gravatar gregce2018-02-12
| | | | | | | | - Add a TOC for document sections - Consistently capitalize section titles - Upgrade "Functions" to a top-level section, since this is an important reference point PiperOrigin-RevId: 185446368
* Document Sky Query, along with its unique operators, allrdeps and rbuildfiles.Gravatar janakr2017-12-06
| | | | PiperOrigin-RevId: 178111653
* Add the "visible" function to the list of query functions.Gravatar Googler2017-10-27
| | | | | RELNOTES: None. PiperOrigin-RevId: 173541812
* Fix some links to query and user manualGravatar dmarting2017-09-08
| | | | PiperOrigin-RevId: 167859496
* Introduce the 'siblings' query function.Gravatar nharmata2017-08-14
| | | | | | RELNOTES[NEW]: There is now a 'siblings' query function. See the query documentation for more details. PiperOrigin-RevId: 165010653
* RELNOTES: None.Gravatar Googler2017-07-18
| | | | PiperOrigin-RevId: 162325932
* 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
* Don't call function names keyword in the query reference because they are not.Gravatar lberki2017-06-13
| | | | | RELNOTES: None. PiperOrigin-RevId: 158721043
* 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
* 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
* 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
* 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
* Rename Blaze documentation files to Bazel.Gravatar László Csomor2017-06-01
| | | | Change-Id: I2ba2f89828ce21261f9326815d47d8d4bc8d7dce
* 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
* Replace doc pages with redirects to versioned doc pages.Gravatar David Chen2016-08-29
| | | | | | | | | | | | | | * Add a new `redirect` Jekyll layout. * Replace all pages under docs/ with redirects to corresponding page under versions/master/. * Prepend links on Documentation sidebar, including generated navs for the Skylark Library and Build Encyclopedia, with prefix for versioned directory. * Add code to both the internal jekyll-config.sh and external jekyll-tree.sh to add redirect pages for the Skylark Library and Build Encyclopedia. * Bring the branched User Manual doc up to date with latest changes. -- MOS_MIGRATED_REVID=131568800
* Update the query documentation to reflect the fact that locations printed ↵Gravatar Lukacs Berki2016-08-22
| | | | | | | are always within BUILD files. -- MOS_MIGRATED_REVID=130936412
* Fix typos: min_rank -> minrank, max_rank -> maxrankGravatar Googler2016-08-18
| | | | | -- MOS_MIGRATED_REVID=130631646
* Rollback of commit 3e8bcae69a0718cf6972be086706b1841e0ed6b7.Gravatar Damien Martin-Guillerez2016-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks design docs links *** Original change description *** Move Bazel docs into versioned directory. * Move all Bazel docs (excluding main page, search page, and blog) into versions/master directory. * Replace all original pages with redirects. * Add Jekyll config with default_version setting to specify the default version to redirect docs to. * Add Jekyll config with version_prefix setting specific to pages under each version directory. * Update layouts to generate links to pages for the same version with the version_prefix. * Update Blaze rel... *** -- MOS_MIGRATED_REVID=128690580
* Move Bazel docs into versioned directory.Gravatar David Chen2016-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | * Move all Bazel docs (excluding main page, search page, and blog) into versions/master directory. * Replace all original pages with redirects. * Add Jekyll config with default_version setting to specify the default version to redirect docs to. * Add Jekyll config with version_prefix setting specific to pages under each version directory. * Update layouts to generate links to pages for the same version with the version_prefix. * Update Blaze release script to copy docs from third_party/bazel/site/versions/master Changes to follow this CL: * Separate navigation from layouts so that navigation can be versioned as well. * Add tool for cutting a release of Bazel docs and copies them into a new version directory. Bug: #579 -- MOS_MIGRATED_REVID=128510319
* Minor fixes to the Bazel documentation.Gravatar Florian Weikert2016-07-01
| | | | | -- MOS_MIGRATED_REVID=126298962
* Move libtool-wrapper symlinking logic from xcrunwrapper to libtool script.Gravatar Chris Parsons2016-06-15
| | | | | -- MOS_MIGRATED_REVID=124831722
* Make RegexFilterExpression publicGravatar Chris Parsons2016-05-11
| | | | | -- MOS_MIGRATED_REVID=121982887
* Add documentation on how to Bazel querying for a macroGravatar Andrew Allen2016-04-26
| | | | | | | | | | | This change also creates a "example queries" section. The "example queries" section is a palce where sample queries that are commonly used can be placed. -- Change-Id: If68d54c5c6de61930ff5f5c75746343400c89bc0 Reviewed-on: https://bazel-review.googlesource.com/#/c/3161/3 MOS_MIGRATED_REVID=120808217
* Add some documentation about --output=build.Gravatar Googler2016-04-07
| | | | | -- MOS_MIGRATED_REVID=119087054
* in the query docs, correctly refer to the --output option not --orderGravatar Benjamin Peterson2016-03-30
| | | | | | | -- Change-Id: I7830558b688fb648d6f931bf79e82b9ee65bb18c Reviewed-on: https://bazel-review.googlesource.com/c/3160/ MOS_MIGRATED_REVID=118472905
* Add titles to Bazel documentation pages.Gravatar David Chen2016-01-20
| | | | | | | Fixes #790 -- MOS_MIGRATED_REVID=112563137
* RELNOTES: add loadfiles() query operator, to find skylark files loaded by ↵Gravatar Han-Wen Nienhuys2015-12-16
| | | | | | | targets. -- MOS_MIGRATED_REVID=110275427
* Split Build Encyclopedia into multiple pages.Gravatar David Chen2015-10-23
| | | | | -- MOS_MIGRATED_REVID=106092764
* Replace query option --order_results with --order_output, which can take ↵Gravatar Janak Ramakrishnan2015-08-26
| | | | | | | | | | | three values for a given output formatter: 'no', 'deps', or 'full'. A fourth value, 'auto', means either 'deps' or 'full' depending on the formatter. The option 'no' is equivalent to --noorder_results. 'full' means that output will be deterministically ordered, using alphabetization if necessary. 'deps' means that graph order will be preserved (where applicable), but further efforts to order the output may not be undertaken. 'auto' is equivalent to 'full' for all output formatters except for proto, minrank, maxrank, and graph, for which it is equivalent to 'deps'. The purpose of this cl is to enable genquery to force completely deterministic output, which requires that it be able to specify a total ordering on the graph that is consistent across runs. Which ordering doesn't matter very much, so depending on the output formatter, or even within the same one, there may be some groups of nodes that are ordered alphabetically, and some reverse alphabetically. -- MOS_MIGRATED_REVID=101512292
* RELNOTES[INC]: Remove built-in support for cc_public_libraryGravatar Han-Wen Nienhuys2015-07-27
| | | | | -- MOS_MIGRATED_REVID=99180853
* Add documentation about querying external targetsGravatar Kristina Chodorow2015-04-23
| | | | | | | Fixes #151. -- MOS_MIGRATED_REVID=91798895
* Remove references to disabled --dump_makefile flag.Gravatar Han-Wen Nienhuys2015-04-22
| | | | | | | Fixes #136. -- MOS_MIGRATED_REVID=91671793
* Document new blaze query 'visible' filterGravatar Liam Miller-Cushon2015-04-13
| | | | | | | | | Follow-up to [] RELNOTES: N/A -- MOS_MIGRATED_REVID=90829261
* Change the mover paths for docs to be under site/Gravatar Kristina Chodorow2015-04-03
-- MOS_MIGRATED_REVID=90252678