-
Notifications
You must be signed in to change notification settings - Fork 166
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
fix: Rename Version fields which conflict with <sys/sysmacros.h> #362
Conversation
fixes #361 |
I don't think there has been widespread integration with the plan version feature yet so this is probably a good time to make this kind of change. protocolbuffers/protobuf#4654 is probably related but it isn't clear to me if they are saying they aren't going to fix it or if it's already been fixed. What version of protoc are you using? Does using an updated version fix it? I'm +1 on this change. I don't see much reason not to do it and, even if it can be avoided someway, it's probably best to reduce the number of things users may potentially have to work around. |
Regarding the failures: At the moment, I think we require both proper semantic messages (including "breaking change") in the both the PR title/description and the commits. Pretty much all PRs squash everything into one commit. I don't remember if that is required or not however. It may be possible to continue as long as each individual commit is properly formatted. |
I don't see any reference to this in CHANGES.txt which does list similar fixes. From protocolbuffers/protobuf#4654 there's one comment saying we just need to rename things. There's another comment claiming this is fixed, but that is from Apr 2020 -> circa version 3.12.0. I'm still seeing the issue
|
3729822
to
1f91c4e
Compare
BREAKING CHANGE: renamed Version.{major -> major_number, minor -> minor_number} BREAKING CHANGE: renamed Version.{patch -> patch_number} for consistency
1f91c4e
to
cd0cf68
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formally marking my +1 but since this is a breaking spec change we need 1 other approval.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
BREAKING CHANGE: renamed
Version.{major -> major_number, minor -> minor_number}
BREAKING CHANGE: renamed
Version.{patch -> patch_number}
for consistency