-
Notifications
You must be signed in to change notification settings - Fork 40
Make releases #7
Comments
Also along that line, would it be possible to clarify when the version number changes? Does a version number change signal the start or the end of a development cycle? |
We haven't been paying a lot of attention to versioning for p4-hlir, so I confess increasing the version number has been pretty random. With P4 evolving, we'd like to be able to improve this. Maybe a part of the version number should reflect the P4 version supported? Any suggestions? |
I was actually thinking about this... One option is to use a version like 1.0.x to indicate that the program implements support for P4 1.0, and x is just the release within p4-hlir itself. I'm assuming P4 will remain using an n.m version format. The other option is to put the version of P4 in the name of the program itself: Between the two, I kind of prefer the later, unless you are willing to add a flag to switch between P4 versions ( The other aspect of this, which is what I was reporting originally, is the need to make releases in this repository. You can either change the version number as the first thing you do after making a release, or the last thing you do before making a release. Either way, some commit needs to be tagged as the release. You can also have something like the first thing after making a release (e.g. 1.24) is changing the version number adding "dev" (1.25-dev) and the last thing you do before making the release is removing the "dev" (1.25-dev → 1.25). Thanks! |
Thanks for your suggestions. I think we should start adopting better practices with the release of p4v1.1 (the release candidate is on p4.org, we are still working on the p4-hlir implementation).
It is kind of a mix of your 2 options. What do you think? |
In order to support packaging p4-hlir in Linux distributions, it would be helpful if you could make releases here on Github. Since you are already assigning a version number to a particular commit, this should be as easy as pushing a button.
The text was updated successfully, but these errors were encountered: