From 6025242fc7bc8ef883547ef81959f271eb847083 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 21 Oct 2022 18:01:02 +0200 Subject: chore(buf): Use nixpkgs-provided buf The version of buf used is quite old. nixpkgs provides a more recent version, but it requires us to migrate config to the latest version. depot_scanner.proto doesn't honor some of the conventions, so we need allow_comment_ignores and drop a bunch of comments in there. Change-Id: Ic978fe92fb7c8471f58c137497528f18aad8f3ab Reviewed-on: https://cl.tvl.fyi/c/depot/+/7053 Reviewed-by: sterni Reviewed-by: tazjin Tested-by: tazjin --- buf.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'buf.yaml') diff --git a/buf.yaml b/buf.yaml index 42c769f2e4..ab2028f40e 100644 --- a/buf.yaml +++ b/buf.yaml @@ -1,13 +1,12 @@ -build: - roots: - #- proto - - third_party +version: v1 + lint: - ignore: - - nix/buildGo + allow_comment_ignores: true use: - BASIC - FILE_LOWER_SNAKE_CASE except: - ENUM_VALUE_UPPER_SNAKE_CASE - PACKAGE_DIRECTORY_MATCH + ignore: + - nix/buildGo -- cgit 1.4.1