lp:~jderose/dmedia/tie-size-to-id
- Get this branch:
- bzr branch lp:~jderose/dmedia/tie-size-to-id
Branch merges
- Jason Gerard DeRose: Approve
- David Jordan: Approve
-
Diff: 309 lines (+133/-18)6 files modifieddmedia/downloader.py (+3/-2)
dmedia/filestore.py (+83/-9)
dmedia/schema.py (+1/-1)
dmedia/tests/helpers.py (+2/-2)
dmedia/tests/test_downloader.py (+1/-1)
dmedia/tests/test_filestore.py (+43/-3)
Related bugs
Related blueprints
Branch information
Recent revisions
- 167. By Jason Gerard DeRose
-
Added tophash() and leafhash() functions that create properly initialized hashes
- 164. By Jason Gerard DeRose
-
Added explicit Depends on python-couchdb >= 0.8; removed unneed Depends python-paste
- 163. By Jason Gerard DeRose
-
Imports should track empty files, but not store them
* Rather than importing empty files (file size is zero bytes), the filename
is appended to doc['log']['empty'] in the corresponding 'dmedia/import'
record* Filename, file size, and mtime for all files considered for import now
stored in doc['log']['considered' ] in the corresponding 'dmedia/import'
record* Axed use of quick_id... full content-hash is now computed before deciding
that a file is a duplicate (this is more robust and better fits pro file
import UX)* Importer now does the right thing when there is inconsistency between
database and FileStore* Database is now compacted upon finishing an import batch
* Changes to take advantage of python-couchdb >= 0.8
* More informative logging in ~/.cache/
dmedia/ service. log - 162. By Jason Gerard DeRose
-
Fix FileStore.
allocate_ for_import( ) so open file descriptors don't accumulate
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:dmedia