uskudnik/amazon-glacier-cmd-interface — pull request #81 by wvmarle (2012-10-15 16:36:52+00:00)
Title: Bookkeeping

Completed bookkeeping, using archive_id resp. upload_id as item name.

- when uploading an archive, add entry to the database.
- when doing an rmarchive, remove entry from database.
- when downloading an inventory, check inventory of that vault against the bookkeeping db:
- update all entries
- remove items from the db that are not in the inventory
- when removing a vault, remove any entries from the bookkeeping db that refer to that vault.
- when doing a search: filter out incomplete uploads (those without archiveid field).