oras icon indicating copy to clipboard operation
oras copied to clipboard

support extended copying

Open qweeah opened this issue 3 years ago • 1 comments

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: copy ML1, A1, M1, M2 and M3 to $TO and tag ML1 as v2.
  • oras cp -r [--from-oci-layout] --extended $FROM:v1 --platform linux/amd64 $TO:v2 or oras cp -r [--from-oci-layout] $FROM@$M1_DIGEST $TO:v2: copy ML1, A1, M1, A2, M2 and M3 to $TO and tag M1 as v2

Reference: https://oras.land/client_libraries/#extendedcopy

qweeah avatar Feb 20 '23 09:02 qweeah

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.

github-actions[bot] avatar Jul 23 '23 01:07 github-actions[bot]