Skip to content

Conversation

@rohilsurana
Copy link
Member

Resolves #29

Instead of vendoring the third-party protobuf definitions use buf to get them.

@rohilsurana rohilsurana changed the title refactor: use buf.yaml to get third-party dependencies [WIP] refactor: use buf.yaml to get third-party dependencies Aug 30, 2021
@rohilsurana rohilsurana changed the title [WIP] refactor: use buf.yaml to get third-party dependencies refactor: use buf.yaml to get third-party dependencies Aug 31, 2021
@rohilsurana rohilsurana requested a review from ravisuhag August 31, 2021 09:02
- uses: bufbuild/[email protected]
with:
version: 0.41.0
version: 0.54.1
Copy link
Member Author

@rohilsurana rohilsurana Aug 31, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgraded to be able to use api version: v1 of buf.yaml

- WIRE
- WIRE
except:
- RESERVED_MESSAGE_NO_DELETE
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

openapiv2 from grpc-gateway had some changes that are not compatible with this rule. We can remove this rule going forward.

Basically they had reserved fields so they could use them later, and now they implemented those.

Copy link
Member

@ravisuhag ravisuhag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@kushsharma kushsharma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ravisuhag ravisuhag merged commit 8bb1af9 into raystack:main Aug 31, 2021
@rohilsurana rohilsurana deleted the use-buf-deps branch September 1, 2021 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use buf to manage external proto dependencies

3 participants