-
Notifications
You must be signed in to change notification settings - Fork 203
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
Vendor in latest containers/(storage, image) #2083
Conversation
We were not able to find or create Copr project
Please check your configuration for:
|
go.mod
Outdated
|
||
// Warning: Ensure the "go" and "toolchain" versions match exactly to prevent unwanted auto-updates | ||
toolchain go1.21.0 | ||
toolchain go1.22.5 |
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.
This not correct please revert that change
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.
make vendor-in-container is doing this automatically now.
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.
The latest make vendor-in-container
removed those lines. Is this also a problem? Do we need to fix vendor-in-container to not remove them?
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.
go mod
… bumps toolchain
to whatever you are running when it bumps go
for any other reason.
go.mod
Outdated
// Warning: Ensure the "go" and "toolchain" versions match exactly to prevent unwanted auto-updates | ||
toolchain go1.21.0 |
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.
This should stay so we have the comment to remind us to never bump this further than the minimum go version.
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.
Then we need to fix the tools built into the Makefile to not remove the line or re-add it when it gets removed. Very easy to remove this line.
I guess we need to drop the toolchain line then if there is no other way to make golang module management happy. |
go version |
There are two things going on:
Neither of these directly change our goals and design: on any It does, though, show another way for the motivating problem in our design might hypothetically show up: any dependency can, at any time, decide that it depends on But I agree that the comment should stay, or maybe be updated to // Warning: If a “toolchain” directive exists, ensure the version is set _exactly_ to the version in "go" to prevent unwanted auto-updates |
Go itself is removing the warning and changing the version. The only editing of go.mod is around the version number of containers/storage and containers/image. make vendor-in-container does the rest. |
Reminder: We still have a |
I read https://bodhi.fedoraproject.org/updates/?packages=golang to mean that we can’t, basically until end of the year, without abandoning F39. |
I see that when updating But after the comment + |
Yeah I think you can add the comment after the line was removed. Also I guess we can add the comment above the go line which should then be preserved. |
Making sure we test containers/storage and image changes ASAP. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
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.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Luap99, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Making sure we test containers/storage and image changes ASAP.