bazelbuild/bazel

jsonproto support for bazel query

Open

#17,627 建立於 2023年2月28日

在 GitHub 查看
 (0 留言) (2 反應) (0 負責人)Java (4,465 fork)batch import
P3help wantedteam-Performancetype: feature request

倉庫指標

Star
 (25,384 star)
PR 合併指標
 (平均合併 22天 20小時) (30 天內合併 77 個 PR)

描述

Description of the feature request:

There are a few in-house use cases (linter, even some parts of IDE experience setup etc.) where this would be helpful and since this is something that Bazel already supports in aquery as well as cquery, I believe the same can also be supported for queries as well.

This works,

./bazel aquery ... --output=jsonproto
./bazel cquery ... --output=jsonproto

Feature request: the following should work as well:

./bazel query ... --output=jsonproto

What underlying problem are you trying to solve with this feature?

No response

Which operating system are you running Bazel on?

ALL

What is the output of bazel info release?

release 6.0.0

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

貢獻者指南