Skip to content
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

support extended copying #827

Open
qweeah opened this issue Feb 20, 2023 · 1 comment
Open

support extended copying #827

qweeah opened this issue Feb 20, 2023 · 1 comment
Labels
enhancement New feature or request stale Inactive issues or pull requests
Milestone

Comments

@qweeah
Copy link
Contributor

qweeah commented Feb 20, 2023

As an extension of #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 qweeah added the enhancement New feature or request label Feb 20, 2023
@qweeah qweeah added this to the future milestone Feb 20, 2023
@github-actions
Copy link

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 github-actions bot added the stale Inactive issues or pull requests label Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale Inactive issues or pull requests
Projects
None yet
Development

No branches or pull requests

1 participant