-
Notifications
You must be signed in to change notification settings - Fork 55
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
Added multipart upload, added optional encryption/decryption. #24
Conversation
+1 |
Hi, Thanks for your work! Having encryption and multipart uploads is really useful. Some comments:
I appreciate the refactoring, but it's really hard to review when intermingled in the middle of other commits. I've managed to review this OK and I appreciate your work, but it would be great if in the future you could submit a separate pull request for each feature you add, and perhaps one for any refactoring you want to do. That would make it much easier for me to review, I wouldn't have to block everything on issues that only affect one feature and I'd be able accept your changes much faster. If you could fix these issues then I'll merge straight away. Otherwise if you can just do the first two, I'll do the others and merge when I can. So this pull request is currently blocked on licensing and breaking the stdin Thanks! |
The Counsyl fork from Nov 2012 adds encryption to upload/retrieve. Also adds setup.py. Conflicts: glacier.py
Also add logging. Before merging reduce from info to debug.
7 sync with public project I did a final test run after the cosmetic updates and things still look work. Next I'll push to @piotr's public fork and update the PR to the original author.
…_size 11 rename --multipart-size to --part-size
@basak I've pushed up the changes we've made to glacier-cli, and I believe I've addressed all of your concerns from last Spring. Additionally, I took the extra |
I should note that we've been able to upload archives as big as 40GB with the new --concurrent option. In every case some piece fails to upload, but leaning on the automatic per-part retry in |
Hey @basak, just wanted to ping you on this. It should be 100% supplementary changes, not affecting existing functionality. Can you let us know if it needs anything else? |
=> @basak |
What's the latest on this? |
No response from @basak for over a year now. Not sure if he's still maintaining this project. You can try using https://github.com/pkaleta/glacier-cli instead. |
Sorry, this is near impossible for me to review: From my initial review: "I appreciate the refactoring, but it's really hard to review when intermingled in the middle of other commits. I've managed to review this OK and I appreciate your work, but it would be great if in the future you could submit a separate pull request for each feature you add, and perhaps one for any refactoring you want to do." |
I do apologise for taking so long to say this. That is my fault - I should have asked as soon as you (pkaleta) updated your request. When I first saw the update, I thought "OK, I'll try and take this and break it up, figure it out and commit what I can". But it was such a large task I didn't get to it and forgot all about it. I'd really to get pull requests in small manageable pieces with mistakes/corrections rebased out. Like the Linux kernel does it - it's easiest to review that way. |
Hmm, I probably asked the wrong person here - @sakoht is there any chance you could break this into smaller more manageable chunks, please? |
Adam I'd love to but I've left the company that needed it, and don't have the bandwidth to jump back currently. Piotr is there (before and after me), and is more familiar with the latest state of things, I believe. We aimed to have the update be very thorough before submitting. Down side is the size, sadly.
|
Thanks a lot for the update @sakoht! |
Summary
multipart_upload
command with optional number of threads as well as chunk size arguments;python-gnupg
package and added optional encryption/decryption of files using GnuPG's RSA algo implementation.--encrypt
and--decrypt
flags for enabling and disabling encryption respectively. The--encrypt
is available for upload commands, whereas--decrypt
for retrieval;README.md
and added.gitignore
;Testing
Sucessfully uploaded and downloaded multiple files with and without encryption using multipart as well as single chunk upload method. Files were of different sizes ranging from 1KB to 3GB.