-
Notifications
You must be signed in to change notification settings - Fork 384
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
[release-5.19 backport] Bump github.com/containers/ocicrypt to 566b808 #1539
[release-5.19 backport] Bump github.com/containers/ocicrypt to 566b808 #1539
Conversation
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.
Depends on #1540 |
Ya, I generally avoid changing out VM images on release branches, and this specific repo. has extra complicating factors. However there are sometimes exceptions. If this branch is reasonably new and sufficiently related to the skopeo-repo-state where F36 was introduced, then yes. Update the VM images here so they match the skopeo branch referenced for testing (which is also currently/probably set wrong). |
It’s about a month of difference so far, and the original image is gone, so it seems easier to update to the current one than to branch and maintain another set of images, at least right now. Assuming we can actually get that working, the number of trivial changes being discovered one at a time is inching towards looking concerning. |
Oh okay, that's not super bad, maybe it can be done.
Yes, there are differences in the images too (i.e. tooling script differences). Another reason generally I say they only move forward. I do have a super-squirrel-secret way to recover images within a 29-59-day window, but if the images age past 60-days, they're irrecoverable. I only mention that in case it's an option here, I haven't checked any CI-run dates on this branch. |
3d4c5b3
to
fe6fe7d
Compare
@mtrmac this is good to go. PTAL |
go.mod
Outdated
@@ -42,3 +42,5 @@ require ( | |||
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 | |||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 | |||
) | |||
|
|||
replace github.com/containers/ocicrypt => github.com/containers/ocicrypt v1.1.4-0.20220428134531-566b808bdf6f |
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.
Is this line really necessary? I think just bumping the version above should be enough. (And it kind of has to be enough because replace
directives only work at the top level, i.e. this wouldn’t apply to a Skopeo/Podman build.)
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 download
didn't let me fetch v1.1.4
so I kept the line with the version-commit as-is and got rid of the replace directive. PTAL.
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 download
isn’t supposed to update go.mod
I think…
FWIW go get github.com/containers/ocicrypt@v1.1.4
worked for me, resulting in
github.com/containers/ocicrypt v1.1.4
. I didn’t realize this pre-release version actually points at a tagged version — in that case, I think using the 1.1.4 tag would be a bit safer WRT any other consumers of that.
fe6fe7d
to
40f5a81
Compare
The two latest commits in c/ocicrypt get rid of OAEPDefaultHash envvar and default to sha256. They are waiting for confirmation on their rust side before cutting a release. So, hoping to get this in assuming dependabot could take a while. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
40f5a81
to
a9f5601
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.
LGTM.
Thanks for all the work to make this possible!
Thanks @mtrmac . Btw, on rawhide, I got this:
But then I simply edited go.mod to have Maybe that's a new rawhide change. |
Or it could be something with GOPROXY, or a pre-existing local download? I find the tool’s behavior a bit hard to understand sometimes. |
ack, I'll look further. Thanks a lot for the merge!! |
The two latest commits in c/ocicrypt get rid of OAEPDefaultHash envvar
and default to sha256.
They are waiting for confirmation on their rust side before cutting a
release. So, hoping to get this in assuming dependabot could take a
while.
Signed-off-by: Lokesh Mandvekar lsm5@fedoraproject.org
@vrothberg @mtrmac @rhatdan PTAL. This is for subsequent vendoring into podman v4.0-rhel branch.
RE: containers/podman#14102 (comment)