INDEV-10502 Adopt backwards compatibility checker - #24
Conversation
|
Now that the setup works, did you try to push a change that would break BC? Also if you break BC, how you tell the tool that your next version is going to take that into account? |
InterNations/SolrUtils#12 (comment) |
Yes, i did. I tried to commit locally something and did run BC checker which failed. I shall post a screenshot soon. |
|
Nice! Really good stuff! In the context of CI, let's say the build fails but you need to break BC, how do you acknowledge that your next version is going to be a major version? |
So, if I've understood it correctly!
Is there anything else am I still missing? |
|
I hoped there would be a way to tell the backwards compatibility checker "hey, I know I am breaking BC and my next version is going to be a major version because of that so shut up" |
|
If that’s not possible, I would recommend having a single job that only does Compatibility Checker so that it’s easy to spot if your tests are failing or if you need to bump the version. |
So, what i always assume after reading this from their README guide is,
Also, this is not configurable, so i guess it will keep throwing an error until we go for a major version. |
I trying adding a single job in this SolrUtils PR: https://github.com/InterNations/SolrUtils/pull/12/files |
Integrate https://github.com/Roave/BackwardCompatibilityCheck to make versioning determination more trivial.
I find it good where the checker mentions here, what exactly is the bc breaker.
