boto/boto — pull request #1070 by basak (2012-10-21 13:36:33+00:00)
Title: Add upload resume functionality to Glacier uploads

This involved some refactoring of boto/glacier/writer.py. I've kept the commits clean for easy review, and added tests on the way to avoid regressions.

The interface is simple. Now you can supply an upload_id_callback to calls to Vault.create_archive_from_file to obtain the upload_id if needed for a future resume. Then, for a resume, just call Vault.resume_archive_from_file with the upload_id previously obtained, and it'll figure out what is needed and do the rest.