~jderose/dmedia/s3-upload-download

Viewing all changes in revision 151.

  • Committer: Jason Gerard DeRose
  • Date: 2011-02-07 11:08:35 UTC
  • mfrom: (150.1.68 stores)
  • Revision ID: jderose@novacut.com-20110207110835-d63n8dj0uoz3rxhl
Track where files are stored, number of copies in "stored"

 * Started test-driven definition of CouchDB schema in dmedia/schema.py
 
 * Added new 'dmedia/store' record, one is created for each FileStore
 
 * Added 'time', 'origin', and 'stored' attributes to 'dmedia/file' records
 
 * 'stored' defines where a file is stored, how many copies there are, eg:

    "stored": {
        "FLKMHJL2E2WIV4FXAIWLKSTR": {
            "copies": 1,
            "time": 1297061923.757858
        }
    }

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: