Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a buf.yaml for Buf CLI compatibility #297

Merged
merged 1 commit into from
Jul 6, 2023
Merged

Conversation

Alfus
Copy link
Contributor

@Alfus Alfus commented Jun 30, 2023

To control which files get synced to https://buf.build/cel/spec.

@Alfus
Copy link
Contributor Author

Alfus commented Jun 30, 2023

Alternatively, this could be managed by buf.

@TristonianJones
Copy link
Collaborator

@Alfus does this help buf.build users more easily integrate with CEL?

@TristonianJones
Copy link
Collaborator

/gcbrun

@Alfus
Copy link
Contributor Author

Alfus commented Jul 5, 2023

This does allow the buf CLI to run in the cel-spec repo, which allows for local code gen, linting, etc. However, the real reason to include this file, is to control which .proto file descriptors are uploaded to buf.build/cel/spec. Once uploaded, anyone using the buf CLI can access them remotely either by referencing buf.build/cel/spec in a command line argument, or add it as a dependency to a buf.yaml, in a different repo.

@TristonianJones TristonianJones merged commit 873d4d5 into google:master Jul 6, 2023
2 checks passed
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.

2 participants