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

[Feature Request] Add "copy" functionality #120

Open
cmaclaughlin opened this issue Nov 30, 2023 · 1 comment
Open

[Feature Request] Add "copy" functionality #120

cmaclaughlin opened this issue Nov 30, 2023 · 1 comment

Comments

@cmaclaughlin
Copy link

The copy function is core to many of us using the ORAS CLI. Theoretically, one could re-create the functionality of copy leveraging a combination of the existing push and pull functions. This adds complexity when the desire is to push related artifacts and, due to the nature of docker push, raises concerns that oras push + oras pull may behave differently than oras copy. As such, the CLI is being invoked within a Python application and the SDK is not used.

Success criteria:

  • The ORAS Python client would have a copy function that behaves like the ORAS CLI and includes the recursive copy option.

Note: I haven't spent too much time looking at the code, but I imagine this could be a large effort. And, for us, the work-around of invoking the CLI in code is acceptable. Admittedly, it just isn't desirable.

@cmaclaughlin
Copy link
Author

@FeynmanZhou - just FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant