tools: improve proto_sync.py UX. (#9699)

Avoid deleting files without prompting, link back to the recommended extension API flow.

Risk level: Low
Testing: Manual

Fixes #9610

Signed-off-by: Harvey Tuch <htuch@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ 6ed1df2bdff19ada78f2253f931e68d9343eb398
master-ci-test
data-plane-api(CircleCI) 5 years ago
parent b4008883cb
commit 28e1cf6029
  1. 4
      STYLE.md

@ -120,8 +120,8 @@ Extensions must currently be added as v2 APIs following the [package
organization](#package-organization) above.
To add an extension config to the API, the steps below should be followed:
1. Place the v2 extension configuration `.proto` in `api/config`, e.g.
`api/config/filter/http/foobar/v2/foobar.proto` together with an initial BUILD file:
1. Place the v2 extension configuration `.proto` in `api/envoy/config`, e.g.
`api/envoy/config/filter/http/foobar/v2/foobar.proto` together with an initial BUILD file:
```
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package")

Loading…
Cancel
Save