opa icon indicating copy to clipboard operation
opa copied to clipboard

OCI: use oras/v2

Open srenatus opened this issue 2 years ago • 4 comments

ORAS is doing a revamp in their v2 work: among other things, this should cut down dependencies significantly, and that would be very welcome to the use in OPA.

  • See oras.land/oras-go/v2 and its directories for the new interface.
  • The Copy API we're currently using is already ported.
  • The target of the copy seems to allow for different things:
    • file
    • memory memory could be interesting for us when there is not persistence directory.

I think this issue should perhaps precede the other OCI issues (#4637 and #4639 and #4638) since it has consequences on their content or implementation. (WDYT @carabasdaniel?)

srenatus avatar May 02 '22 07:05 srenatus

Hi @srenatus, I think we might be able to tackle the bug first and then focus on bumping to oras/v2 before any other feature work.

carabasdaniel avatar May 03 '22 07:05 carabasdaniel

This issue has been automatically marked as inactive because it has not had any activity in the last 30 days.

stale[bot] avatar Jun 02 '22 08:06 stale[bot]

https://github.com/oras-project/oras-go/issues/49 done, alpha release out.

srenatus avatar Jun 24 '22 06:06 srenatus

This issue has been automatically marked as inactive because it has not had any activity in the last 30 days.

stale[bot] avatar Jul 24 '22 13:07 stale[bot]

This was resolved in https://github.com/open-policy-agent/opa/pull/5690 Thanks @ashutosh-narkar 👍

anderseknert avatar Feb 27 '23 15:02 anderseknert