forked from rerun-io/rerun
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuf.yaml
More file actions
40 lines (39 loc) · 2.16 KB
/
buf.yaml
File metadata and controls
40 lines (39 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Config for <https://buf.build>.
#
# This is intentionally put at the root of the repository rather than specifically in the proto folder because:
# A) It makes working with all the `buf` tooling much nicer for users of the codebase.
# B) We don't know how the way we store our proto files will evolve.
# This is worth a bit of root pollution.
#
# For details on buf.yaml configuration, visit <https://buf.build/docs/configuration/v2/buf-yaml>.
version: v2
lint:
use:
- STANDARD
except:
- DIRECTORY_SAME_PACKAGE # We just don't really care right now.
- PACKAGE_DIRECTORY_MATCH # We just don't really care right now.
# - RPC_REQUEST_RESPONSE_UNIQUE
ignore_only:
# TODO(cmc): I've decided to re-use the underlying response types for now, in the name of expediency.
# This is bad in the long term (breaking changes to the internal APIs should not result in breaking
# changes to the public API and, in general, the two being coupled doesn't make much sense).
# It's the very early days though, and we're doing major breaking changes on a daily basis, so wasting
# time on patching `From` implementations on a regular basis doesn't sound like a great use of time
# at the moment.
# We can revisit this as we start getting out of `v1alpha1`.
RPC_REQUEST_RESPONSE_UNIQUE:
- crates/store/re_protos/proto/rerun/v1alpha1/frontend.proto
- crates/store/re_protos/proto/rerun/v1alpha1/manifest_registry.proto
- crates/store/re_protos/proto/rerun/v1alpha1/catalog.proto
- crates/store/re_protos/proto/rerun/v1alpha1/tasks.proto
enum_zero_value_suffix: _UNSPECIFIED # see <https://buf.build/docs/lint/rules/?h=enum_zero_value#enum_zero_value_suffix>
breaking:
use:
- WIRE_JSON # We don't care about source-code breaks, we have a compiler for that.
- FILE_NO_DELETE # Otherwise removing entire files won't trigger anything, which is very misleading.
# All our packages are considered unstable right now since everything's tagged vNalphaM
# See <https://buf.build/docs/configuration/v1/buf-yaml/?h=ignore_unstable_packages#ignore_unstable_packages>.
ignore_unstable_packages: false
modules:
- path: crates/store/re_protos/proto