-
Notifications
You must be signed in to change notification settings - Fork 277
Update CBMC version to 5.20.1 #5648
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
Update CBMC version to 5.20.1 #5648
Conversation
Version update to 5.20.1 for release.
Codecov Report
@@ Coverage Diff @@
## develop #5648 +/- ##
========================================
Coverage 69.41% 69.41%
========================================
Files 1243 1243
Lines 100609 100609
========================================
Hits 69839 69839
Misses 30770 30770
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
@piotr-grabalski Could you please explain what the point of this change is? In light of #5647 just merged, the commit message quite frankly makes no sense to me. |
Hi @tautschnig, The release 5.20.0 got a wrong version number in the end due to a human (mine) error. We are running release one more time with version 5.20.1 to get the version number right this time. Thanks, |
Could you please be more specific? We all make mistakes, we should just avoid repeating the same mistakes. Understanding what the mistake was would help to figure out how we could put in place better mechanisms to avoid them. FWIW, #5647 looked sane to me, so it must have happened somewhere else? |
Sorry @tautschnig, let me explain in more details: In order to perform a release the steps from: https://github.com/diffblue/cbmc/blob/develop/doc/ADR/release_process.md should be followed. The ideal flow is:
What went wrong here is in bold font - I have forgotten to pull the merged PR (with config.inc modified) and tagged the previous commit which contained the old version number in config.inc file (5.19.0) therefore all of the packages got generated with wrong (but correct for the tagged commit) version number. I hope to get this right this time and that I pull from git repository before tagging 5.20.1. Could you please merge this pull request if my explanation makes sense? Thanks, |
@tautschnig I will merge this pull request in order to proceed with the release - I hope my explanation makes sens but please contact me if you need more information. Thanks, |
Piotr, thank you for elaborating! So it seems we have a manual step and that can of course go wrong. How about https://github.com/marketplace/actions/github-tag-bump to avoid this manual step? I'll try to create a PR to this effect. |
I've created #5649 to try this out. |
Michael, sorry for my late reply, the action you recommended looks promising - I think we have to switch off automatic bumping though, the version from config.inc file should be in sync with the tag. It will also require changing the instruction to include #major, #minor and/or #patch in order to automatically bump the version to get it in sync when config.inc file is checked in. It for sure would limit errors due to a human factor but I think it will not eliminate them - it still will be possible to check-in wrong version in config.inc or accidentally bump the version tag. I think the key here will be to have a clear instructions. |
And it looks like you have thought about all of this already! Thanks! |
Version update to 5.20.1 for release.