api/tools: some progress towards generalizing API version upgrade. (#10507)
* Automatically derive active protos target used in proto_format.sh from the packages with files annotated as active. * Replace some sites with hardcoded v2/v3 with active/next_major_version_candidate. * Move //docs:BUILD to //versioning:BUILD in API tree. This has already ceased to be used directly in the docs build, so this makes things a bit clearer. Risk level: Low (API tooling and build only) Testing: fix_format (mostly idempotent) Part of #10355. Signed-off-by: Harvey Tuch <htuch@google.com> Mirrored from https://github.com/envoyproxy/envoy @ 4403003b9c0888ce81606a2f45fcc1da126514e7master-ci-test
parent
8095d124ee
commit
fbf291e466
3 changed files with 6 additions and 11 deletions
@ -1,17 +1,12 @@ |
||||
# DO NOT EDIT. This file is generated by tools/proto_format/active_protos_gen.py. |
||||
|
||||
licenses(["notice"]) # Apache 2 |
||||
|
||||
load("@rules_proto//proto:defs.bzl", "proto_library") |
||||
|
||||
package_group( |
||||
name = "docs", |
||||
packages = [ |
||||
"//docs", |
||||
], |
||||
) |
||||
|
||||
# This is where you add protos that will participate in docs RST generation. |
||||
# This track active development versions of protos. |
||||
proto_library( |
||||
name = "protos", |
||||
name = "active_protos", |
||||
visibility = ["//visibility:public"], |
||||
deps = [ |
||||
"//envoy/admin/v2alpha:pkg", |
Loading…
Reference in new issue