Branching & Labeling BCP #147
Replies: 3 comments 1 reply
-
I love this change. It's really been bothering me that there wasn't a clear way to indicate what version of the uprotocol spec a library was implementing. I do have a couple of questions:
Admittedly, that last question is mostly on my mind due to the API rewrite in up-cpp. It's a major change to the API, so it doesn't make sense to just increment the patch, even though that's what all previous updates have done. IMO, we would need to go from |
Beta Was this translation helpful? Give feedback.
-
Yes we should provide more guidance and be consistent across the various libraries but it should follow the general semver rules for major, minor, patch. |
Beta Was this translation helpful? Give feedback.
-
So for example, the next bugfix release of up-cpp would be made from the And then the next major planned release will be |
Beta Was this translation helpful? Give feedback.
-
Question was brought up today during the weekly uProtocol sync up meeting about how do we handle stable releases vs development. Currently we merge new changes to main for up-spec and up-rust however other projects work with development branches that are merged on main and main is a stable release. Benefit of the former is that nightly builds can notify developers of changes to their code that need to be made to incorporate spec changes (that break build), whereas the latter means that consumers of libraries don't need to pull a label/branch but can pull main to get the latest "stable" version.
Drawbacks of the former (i.e. we develop in main and have branches for stable releases) is that consumers need to pull a given version/branch, this actually can help to solve our current predicament that there is no way (other than reading the manifest files) to link a release of a language library (ex. up-java) to a given specification release.
Below are the branching & tagging BCP for repositories under Eclipse-uProtocol project:
main
up-v1.5.8
,up-v1.5.9
)up-v1.5.9-0.1.1
Beta Was this translation helpful? Give feedback.
All reactions