-
Notifications
You must be signed in to change notification settings - Fork 613
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
Add copy operation to commit API #1083
Comments
(cc @Pierrci @SBrandeis for the moon-landing related request) Issue is related to |
IIRC S3 doesn't support copy for >5GB files (you have to multipart upload) so this would/might be tricky to implement in a more efficient way than downloading and uploading. cc @coyotte508 |
Is it copying within a repo or across repos? Within a repo, the only thing to copy is a pointer file, so no issue. |
You can, but it requires some extra steps: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CopyingObjectsMPUapi.html |
@coyotte508 Our use case in |
EDIT: I mixed up "copy a file" and "rename a file". Renaming is now possible out of the box from moon landing put copying is still not. |
For
hffs
, it would be nice to have aCopyOperation
in the commit API for efficiently copying repo siblings.PS: this would also require some changes server-side, so "low priority" for now
The text was updated successfully, but these errors were encountered: