-
Notifications
You must be signed in to change notification settings - Fork 174
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
Move libimage.ManifestList{Descriptor,Data} to libimage/define #1629
Move libimage.ManifestList{Descriptor,Data} to libimage/define #1629
Conversation
These structs are (for better or worse) a part of Podman's API, so podman-remote needs to include the subpackage that defines them - which is all of libimage (and c/image/v5/copy) right now. Instead, move them to libimage/define. Alternatively, maybe Podman's API should not directly depend on (unstable) c/common types?! Only moves unchanged code, should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
See containers/podman#19783 for a Podman proof PR; and I guess the Podman API aspect should be discussed there, before this change happens. |
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
@flouthoc PTAL
+ Remove a dependency on libimage from pkg/bindings ... by updating for a c/common API change. [NO NEW TESTS NEEDED]: Only moves unchanged code, should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
+ Remove a dependency on libimage from pkg/bindings ... by updating for a c/common API change. [NO NEW TESTS NEEDED]: Only moves unchanged code, should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mtrmac, rhatdan, vrothberg 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 |
These structs are (for better or worse) a part of Podman's API, so
podman-remote
needs to include the subpackage that defines them - which is all oflibimage
(andc/image/v5/copy
) right now.Instead, move them to
libimage/define
.Alternatively, maybe Podman's API should not directly depend on (unstable) c/common types?!
Only moves unchanged code, should not change behavior.