-
Notifications
You must be signed in to change notification settings - Fork 108
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
tools: use go toolbox instead of installing a binary #4600
tools: use go toolbox instead of installing a binary #4600
Conversation
e13e4f2
to
0292a13
Compare
Rebased on main and updated commit ID for the revert in the commit message. |
0292a13
to
d0490ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's better! ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I really hope this will work, cos once we update to 1.24 with its tool version fix that will be a complete and hassle-free experience, finally!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
7b317f4
to
3e4187b
Compare
3e4187b
to
db881ef
Compare
db881ef
to
d7a7481
Compare
Had to downgrade to Go 1.22.11 because Fedora 40 doesn't have .12 |
d7a7481
to
19b51fd
Compare
Repeat of 8554d62. This is a much nicer (and newer) way of handling the Go version for the project. The issue that caused the previous revert was that the toolbox version was being set to 1.22.0, which is older than what some dependencies require, specifically osbuild/images, so the 'go mod tidy' would downgrade images to match the required toolbox version. Setting the go and toolbox version to 1.22.6 should make it all work as expected. This reverts commit 7e87d1e. Co-authored-by: Lukáš Zapletal <[email protected]>
Use endoflife.date to check for newer versions of the minor Go version we're using and print a notice.
19b51fd
to
2b56e8a
Compare
I dropped the last commit that updates the Go version. We still have RHEL 8.10 and 9.4 RPM builds going on here, so let's just get the new script in and look at distro and compiler versions separately. |
Running ./tools/prepare-source.sh in osbuild-composer now requires jq for the version check. osbuild/osbuild-composer#4600
Running ./tools/prepare-source.sh in osbuild-composer now requires jq for the version check. osbuild/osbuild-composer#4600
Running ./tools/prepare-source.sh in osbuild-composer now requires jq for the version check. osbuild/osbuild-composer#4600
Repeat of 8554d62.
This is a much nicer (and newer) way of handling the Go version for the
project. The issue that caused the previous revert was that the toolbox
version was being set to 1.22.0, which is older than what some
dependencies require, specifically osbuild/images, so the 'go mod tidy'
would downgrade images to match the required toolbox version.
Setting the go and toolbox version to 1.22.6 should make it all work as
expected.
This reverts commit 7e87d1e.
Co-authored-by: Lukáš Zapletal [email protected]