image icon indicating copy to clipboard operation
image copied to clipboard

Export BuiltinDefaultPolicyPath

Open rhatdan opened this issue 1 year ago • 3 comments
trafficstars

This field is duplicated in containers/common/pkg/config and is being vendored into bindings, just because it is not exported from containers/image.

rhatdan avatar Sep 06 '24 11:09 rhatdan

@mtrmac @Luap99 PTAL

rhatdan avatar Sep 06 '24 11:09 rhatdan

Well how do we move forward on that then?

rhatdan avatar Sep 09 '24 19:09 rhatdan

I don’t immediately know; the way the code has already diverged, maybe there is some neat elegant solution which is compatible enough, maybe we will have to live with a gross hack forever. Someone needs to figure that out.


For the purpose of trimming https://github.com/containers/podman/pull/23857#issuecomment-2328356840 , the bindings should not be including the whole implementation in pkg/trust in the first place; AFAICS they just need the trust.Policy data type. That can either be split into a subpackage; or the domain/entities/types subpackage could define a separate RPC-only type, separate from the implementation type; or maybe pkg/trust should be importing the type from domain/entities/types — I don’t know what is the general Podman approach to RPC-only types duplicated with implementation types, vs. sharing the two, and where the definitions live.

mtrmac avatar Sep 09 '24 20:09 mtrmac

Hi, and thank you for your contribution!

We’ve recently migrated this repository into a new monorepo: containers/container-libs along with other repositories

As part of this migration, this repository is no longer accepting new Pull-Requests and therefore this Pull-Request is being closed.

Thank you very much for your contribution. We would appreciate your continued help in migrating this PR to the new container-libs repository. Please let us know if you are facing any issues.

You can read more about the migration and the reasoning behind it in our blog post: Upcoming migration of three containers repositories to monorepo.

Thanks again for your work and for supporting the containers ecosystem!

jankaluza avatar Aug 26 '25 14:08 jankaluza