-
Notifications
You must be signed in to change notification settings - Fork 277
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
Buf doesn't recognise "v0" as a valid version #1335
Comments
I know you've said that you already understand, but I'll include the reasoning for posterity - the
Both of your suggestions are technically reasonable, but there are some caveats. The In this case, we'd need to add a new configuration option to the With all that said, we could implement one of these features, but I'd rather encourage you to adopt the standard package versioning structure that we're promoting. One of Buf's primary goals is to make Protobuf consistent everywhere, and that's exactly what the What are your thoughts? |
I'll close this as-is - we likely won't get around to this one. |
Buf documentation actually lists v0 as recommendation for unstable apis https://buf.build/docs/reference/protobuf-files-and-packages#packages Probably should match the documentation with the lint expectations? |
I think I also disagree that a lint change is a breaking rule. I think that is a bit of a stretch in reasoning. So i think this is unfortunate but understandable. |
In our company, we have a standard that version "zero" (v0) is a development branch however,
buf
only accepts positive numbers as a version suffix.Basically, a typical proto-file looks like this:
But when we run
buf lint
against it, we will get:I can understand why it is so, I just wanted to check if there's anything we could do about it. Maybe add a specific option for
buf
. Or that rule about "positive number" might be not that strict.What are your thoughts?
The text was updated successfully, but these errors were encountered: