Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1001 from basak/add_description_parameterglacier | Mitch Garnaat | 2012-09-19 | 1 | -2/+3 |
|\ | | | | | Add description to Vault.create_archive_from_file | ||||
| * | Add description to Vault.create_archive_from_file | Robie Basak | 2012-09-19 | 1 | -2/+3 |
|/ | | | | | Allow archive creation via create_archive_from_file to specify an archive description. | ||||
* | Merge pull request #975 from tedder/8cd93058131df93932d8ea99e4e78ce0695a3ad8 | Mitch Garnaat | 2012-09-19 | 1 | -0/+18 |
|\ | | | | | Add initial Glacier support in root boto object. | ||||
| * | add connect_glacier to the main boto object. | tedder | 2012-09-08 | 1 | -0/+18 |
| | | |||||
* | | Merge pull request #994 from jamesls/glacier-concurrent | Mitch Garnaat | 2012-09-18 | 3 | -8/+248 |
|\ \ | | | | | | | Add threaded multipart archive upload for glacier | ||||
| * | | Add threaded multipart archive upload for glacier | James Saryerwinnie | 2012-09-18 | 3 | -8/+248 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will internally create a thread pool that concurrently uploads the various chunks of a file using the multipart API for glacier. When testing upload speeds, this was approximately 13 times faster than the single threaded archive upload. It also is much better at sustaining a constant upload rate, in the single threaded upload, the upload rate fluctuated quite a bit (which makes sense given that it part of the time it's reading from disk and computing hashes instead of sending data). For comparison, for a 1GB file: Operation | Time (secs) | Average Upload rate (MB/s) | --------------------------------------------------------------- s3multiput 216 6.0 glacier-single 1291 2.0 glacier-concurrent 98 11.5 | ||||
* | | Merge branch 'glacier-l1-bugfix' into glacier | James Saryerwinnie | 2012-09-18 | 1 | -15/+14 |
|\ \ | |||||
| * | | Bug fix: format strings had an extra '%s' | James Saryerwinnie | 2012-09-18 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | This was for abort_multipart_upload and list_parts, and list_multipart_uploads | ||||
| * | | Pep 8 cleanup | James Saryerwinnie | 2012-09-18 | 1 | -3/+1 |
| | | | |||||
| * | | Bug fix: limit/marker should be keys in params dict | James Saryerwinnie | 2012-09-18 | 1 | -8/+8 |
| | | | |||||
| * | | Bug fix: s/params_list/param_list/ | James Saryerwinnie | 2012-09-18 | 1 | -1/+1 |
| | | | |||||
| * | | Bug fix: import urllib | James Saryerwinnie | 2012-09-18 | 1 | -0/+1 |
|/ / | | | | | | | | | The make_request method uses urllib yet it is not imported. | ||||
* | | Merge branch 'win-binary-file' into glacier | James Saryerwinnie | 2012-09-17 | 1 | -2/+3 |
|\ \ | |||||
| * | | Ensure file is opened in binary mode, fixes #988 | James Saryerwinnie | 2012-09-17 | 1 | -2/+3 |
|/ / | | | | | | | | | Was able to repro the issue by trying to submit a binary file, verified the fix works with binary files on windows. | ||||
* | | A few PEP8 cleanups. | Mitch Garnaat | 2012-09-16 | 1 | -3/+4 |
| | | |||||
* | | glacier: fix Vault.retrieve_archive result type | Robie Basak | 2012-09-16 | 1 | -1/+1 |
| | | | | | | | | | | | | retrieve_archive is documented to return a Job object, but currently it returns a job id string. As this is layer 2, it would make more sense to return a full Job object, so do this instead. | ||||
* | | Merge pull request #980 from almost/glacier | Mitch Garnaat | 2012-09-12 | 1 | -0/+28 |
|\ \ | | | | | | | Support for retrieve-inventory by @yamatt | ||||
| * \ | Merge pull request #1 from yamatt/glacier | Thomas Parslow | 2012-09-12 | 1 | -0/+28 |
| |\ \ | | | | | | | | | Added retreive-inventory function | ||||
| | * | | Added retreive-inventory function | Matthew Copperwaite | 2012-09-10 | 1 | -0/+28 |
| |/ / | |||||
* | | | Merge branch 'glacier-closedfile' into glacier | James Saryerwinnie | 2012-09-11 | 1 | -1/+2 |
|\ \ \ | |||||
| * | | | Raise a ValueError when writing to a closed file | James Saryerwinnie | 2012-09-11 | 1 | -1/+2 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | This is consistent with other file like objects including: * file * tempfile * StringIO | ||||
* | | | Merge pull request #977 from jamesls/glacier-fileread | Mitch Garnaat | 2012-09-10 | 5 | -22/+64 |
|\ \ \ | | | | | | | | | Allow upload_archive to accept file like objects | ||||
| * | | | Allow upload_archive to accept file like objects | James Saryerwinnie | 2012-09-10 | 5 | -18/+59 |
| | | | | | | | | | | | | | | | | | | | | The entire file is never read into memory, only (configurable) single chunks are read at a single time. | ||||
| * | | | Allow single op threshold to be configurable | James Saryerwinnie | 2012-09-06 | 1 | -4/+5 |
| | |/ | |/| | | | | | | | | | | | | | This is the threshold at which the Vault class will use a multipart upload instead of a single operation upload. | ||||
* | | | Merge pull request #968 from jamesls/glacier-perf | Mitch Garnaat | 2012-09-10 | 2 | -9/+37 |
|\ \ \ | |/ / |/| | | Reduce memory usage for chunk_hashes | ||||
| * | | Reduce memory usage for chunk_hashes | James Saryerwinnie | 2012-09-06 | 2 | -9/+37 |
|/ / | | | | | | | | | | | | | | | | | | | On a 180MB file this reduced total memory usage by approximately 40%. This was also marginally faster (but not by much). I've also added the start of unittests for the writer module, and I've written some very basic unittests for the chunk_hashes function. | ||||
* | | Remove leading whitespace in glacier modules | James Saryerwinnie | 2012-09-06 | 2 | -3/+3 |
| | | |||||
* | | Pep8 cleanup to glacer l2 unit tests | James Saryerwinnie | 2012-09-06 | 1 | -30/+47 |
| | | | | | | | | | | Also switched the assert statements to use assertEqual for better error diagnostics. | ||||
* | | Merge remote-tracking branch 'almost/glacier' into glacier | James Saryerwinnie | 2012-09-06 | 7 | -28/+192 |
|\ \ | |/ | |||||
| * | Added glacier to the readme :) | Thomas Parslow | 2012-09-06 | 1 | -0/+1 |
| | | |||||
| * | Fixed tests | Thomas Parslow | 2012-09-06 | 1 | -0/+1 |
| | | |||||
| * | Merge branch 'glacier' of github.com:boto/boto into glacier | Thomas Parslow | 2012-09-06 | 3 | -67/+70 |
| |\ | |/ |/| | | | | | Conflicts: boto/glacier/layer2.py | ||||
* | | Merge branch 'delete-vault' into glacier | James Saryerwinnie | 2012-09-06 | 3 | -1/+74 |
|\ \ | |||||
| * | | Add Layer2.delete_vault | James Saryerwinnie | 2012-09-06 | 3 | -0/+64 |
| | | | | | | | | | | | | | | | | | | This allow layer2 to be used to both create and delete vaults. I've also added the start of integration tests for layer2 that will create, retrieve, and delete a vault. | ||||
| * | | Update Layer2.create_vault to return a Vault object | James Saryerwinnie | 2012-09-06 | 1 | -1/+10 |
|/ / | | | | | | | This makes it consistent with Layer2.get_vault. | ||||
* | | Merge branch 'glacier' of git://github.com/almost/boto into almost-glacier | Mitch Garnaat | 2012-09-06 | 2 | -2/+4 |
|\ \ | |||||
* \ \ | Merge pull request #964 from almost/glacier | Mitch Garnaat | 2012-09-05 | 3 | -10/+50 |
|\ \ \ | | | | | | | | | Return the response and not the fully read body for non-json responses (... | ||||
* \ \ \ | Merge pull request #963 from almost/glacier | Mitch Garnaat | 2012-09-05 | 1 | -8/+3 |
|\ \ \ \ | | | | | | | | | | | Fixed a couple of bugs in archive retrieval for layer2 Glacier | ||||
| | | | * | Added a very basic integration test for glacier | Thomas Parslow | 2012-09-06 | 2 | -0/+26 |
| | | | | | |||||
| | | | * | Not-yet-working integration test (commented out) | Thomas Parslow | 2012-09-06 | 1 | -0/+60 |
| | | | | | |||||
| | | | * | Remove print statements, whoops | Thomas Parslow | 2012-09-06 | 2 | -2/+0 |
| | | | | | |||||
| | | | * | Added some tests for glacier layer 2 | Thomas Parslow | 2012-09-06 | 6 | -28/+176 |
| | | |/ | |||||
| | | * | Fixed the tests to work with GlacierResponse | Thomas Parslow | 2012-09-06 | 2 | -2/+4 |
| | |/ | |||||
| | * | Added a GlacierResponse object | Thomas Parslow | 2012-09-05 | 3 | -10/+50 |
| | | | |||||
| | * | Return the response and not the fully read body for non-json responses ↵ | Thomas Parslow | 2012-09-05 | 1 | -1/+1 |
| |/ | | | | | | | (otherwise you get the whole output of a job read into memory) | ||||
| * | describe_job needs an archive name as a well as a job id | Thomas Parslow | 2012-09-05 | 1 | -1/+1 |
| | | |||||
| * | Archive retrieval job should not include a format (that's for listing ↵ | Thomas Parslow | 2012-09-05 | 1 | -7/+2 |
|/ | | | | operations) | ||||
* | Merge branch 'moliware-glacier' into glacier | Mitch Garnaat | 2012-09-03 | 4 | -23/+177 |
|\ | |||||
| * | Command line tool for amazon glacier | moliware | 2012-09-03 | 2 | -2/+156 |
| | | |||||
| * | unicode constants in the response dict were not the responsible of the ↵ | moliware | 2012-09-03 | 1 | -15/+15 |
| | | | | | | | | UnicodeDecodeError |