-
Notifications
You must be signed in to change notification settings - Fork 17
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
Will robolectric-bazel follow KSP's release rule for extra bazel related patch version? #95
Comments
What do you think about it @brettchabot @hoisie ? |
Shall we press forward with this? Easy enough to roll back to the old versioning if we decide in the future that it's not worth it or adds too much overhead. |
@Bencodes I think this new version schema proposal is great. But I think it might require extra approvals from Robolectric's leader @hoisie @brettchabot . If they don't response, I will ping them with email again this weekend. |
This all SGTM, thanks @Bencodes for taking the lead on this. I am happy to proceed. |
Found an issue with this approach. The BCR treats the -1.0.0 as a pre-release rather than a new release. |
Looking at the tests this versioning strategy will work as expected if we clean-cut to a new major release. But this doesn't solve the immediate problem of us needing to do a version bump on the Bazel rules. |
@Bencodes Maye we can use the version like 4.11.1.1? |
There is a test for 4.11.1.1 > 4.11.1, see https://github.com/bazelbuild/bazel-central-registry/blob/ddc9cd60dcd11a65e200dd2275c4babd837fe928/tools/version_test.py#L14. |
4.11.1.1 would work, it just has more opportunity to conflict with the upstream Robolectric releases, which wouldn't be ideal and potentially cause confusion. |
@Bencodes I think Robolectric will bump to Robolectric 4.11.2 instead of 4.11.1.1 for a minor patch version. Maybe it is safe to use this patch format in Bazel library? |
@utzcoz that works for me! |
@hoisie Can we confirm that the Robolectric maven only uses three version numbers, and the last one is left to Robolectric Bazel? It's better we can give a confirmation for this decision. |
@Bencodes I give my +1 for new versioning. So we can use new versioning for later patch version. |
I will release 4.14.1.1 for #121 based on new patch versioning. |
I close this issue as I think we reached a consensus for bazel's patch version, and 4.14.1.1 is an example. Anyone can reopen this issue, if you want to discuss more with a better solution. |
See #92, #92 (comment).
This idea was brought by @Bencodes , and it looks great to me, and sometimes we need to release new versions for bazel related patches only.
The text was updated successfully, but these errors were encountered: