-
Notifications
You must be signed in to change notification settings - Fork 785
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
image: replace GetStoreImage
with ResolveReference
and bump c/image
to 373c52a9466f
#5129
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc 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 |
7ad72a5
to
d6eb72b
Compare
c/image
to 373c52a9466f
GetStoreImage
with ResolveReference
and bump c/image
to 373c52a9466f
9c3abe3
to
eda5d3f
Compare
@containers/buildah-maintainers @giuseppe @vrothberg PTAL |
LGTM |
eda5d3f
to
b191459
Compare
Rebased. |
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.
ACK overall, it seems that the surrounding code really has no use for the other return value.
b191459
to
916859c
Compare
@mtrmac @nalind PTAL I think now patch implements #5129 (comment) and removes the need for error matching. |
916859c
to
0e3428f
Compare
0e3428f
to
524b674
Compare
@mtrmac Done. |
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 dealing with this breakage!
I don't love moving from a tagged release to a commit, but otherwise it's fine. |
From my POV this is not urgent — it can be included in the next vendor dance. It’s just that with the added deprecation notices, these changes will probably have to be included with that vendor dance. I’m also open to not immediately adding the depreciation notices, so that there is a tagged version of c/image which contains |
@nalind I'll vendor |
@mtrmac I have checked |
Skopeo does not call the deprecated functions directly. There’s also c/common, and at a first glance the two calls probably should use |
@flouthoc Do you need a new c/image release soonish, then, or should this all happen with the Podman 4.8 vendor dance? |
524b674
to
07feea7
Compare
#5143 will need a c/image updated with these changes, so I’d prefer merging this before the main vendor dance. |
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
The Podman 4.8 vendoring process was discussed today in context of #5143 , and the plan for that PR is to refer to a commit in dependencies, with the expectation that vendor dance will clean that up soon. @flouthoc I am seeing “Unit tests w/overlay” consistently falling on a total timeout, with about the same place. This seems to also affect other PRs. |
I think timout was a temp flake. |
07feea7
to
25dfadd
Compare
[NO NEW TESTS NEEDED] Signed-off-by: Aditya R <arajan@redhat.com>
replace deprecated GetStoreImage -> ResolveReference Signed-off-by: Aditya R <arajan@redhat.com>
25dfadd
to
61de02b
Compare
/lgtm |
GetStoreImage
is deprecated after containers/image#2056, similar to PR: containers/podman#20560What type of PR is this?
What this PR does / why we need it:
How to verify it
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?