Skip to content

Commit

Permalink
chore: Update buf config to v2 (#20558)
Browse files Browse the repository at this point in the history
* chore: Move third-party proto files into their own module

To avoid cyclical dependencies between lib/vector-core/proto and proto/

Signed-off-by: Jesse Szwedko <[email protected]>

* Fix vector-core build.rs

Signed-off-by: Jesse Szwedko <[email protected]>

* Fix prometheus-parser build.rs too

Signed-off-by: Jesse Szwedko <[email protected]>

* loki too

Signed-off-by: Jesse Szwedko <[email protected]>

* chore: Update buf config to v2

Via `buf config migrate`

Signed-off-by: Jesse Szwedko <[email protected]>

---------

Signed-off-by: Jesse Szwedko <[email protected]>
  • Loading branch information
jszwedko authored May 24, 2024
1 parent 45be7ad commit 2e884c5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 19 deletions.
5 changes: 0 additions & 5 deletions buf.work.yaml

This file was deleted.

18 changes: 18 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: v2
modules:
- path: lib/vector-core/proto
- path: proto/third-party
- path: proto/vector
lint:
use:
- DEFAULT
except:
- FIELD_NOT_REQUIRED
- PACKAGE_NO_IMPORT_CYCLE
disallow_comment_ignores: true
breaking:
use:
- FILE
except:
- EXTENSION_NO_DELETE
- FIELD_SAME_DEFAULT
7 changes: 0 additions & 7 deletions lib/vector-core/proto/buf.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions proto/third-party/buf.yaml

This file was deleted.

0 comments on commit 2e884c5

Please sign in to comment.