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

Add copy #59

Merged
merged 3 commits into from
May 24, 2020
Merged

Add copy #59

merged 3 commits into from
May 24, 2020

Conversation

graft
Copy link
Contributor

@graft graft commented Apr 19, 2020

This fills out #57, providing a basic copy facility to Metis. Following #53 copying files is easy and just produces a new database entry, no longer creating new bytes on disk. Consequently this PR is pretty simple, it just creates a new file entry.

The slight complication is checking bucket permissions for buckets not owned by Metis. This requires user-token authentication AND that the request be Hmac signed by the owning application (e.g. Magma). This was not possible before (notably the 'Authorization' field was shared by both means of authentication and thus produced a conflict); consequently this PR depends on upgrading the 'etna' gem to 0.1.9.

@graft graft changed the title Graft add copy Add copy Apr 19, 2020
@graft
Copy link
Contributor Author

graft commented May 24, 2020

@coleshaw should I close this? Is it superseded by your recent branches?

@coleshaw
Copy link
Contributor

coleshaw commented May 24, 2020 via email

@graft graft merged commit 2c5f275 into master May 24, 2020
@graft graft deleted the graft-add-copy branch May 24, 2020 21:48
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

Successfully merging this pull request may close these issues.

2 participants