oras
oras copied to clipboard
support extended copying
As an extension of https://github.com/oras-project/oras/issues/826, add a new flag --extended to support extended copying. With same content layout described in #826, the extended copying command is expected to have behavior:
-
oras cp -r [--from-oci-layout] --extended $FROM:v1 $TO:v2: copyML1,A1,M1,M2andM3to$TOand tagML1asv2. -
oras cp -r [--from-oci-layout] --extended $FROM:v1 --platform linux/amd64 $TO:v2ororas cp -r [--from-oci-layout] $FROM@$M1_DIGEST $TO:v2: copyML1,A1,M1,A2,M2andM3to$TOand tagM1asv2
Reference: https://oras.land/client_libraries/#extendedcopy
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.