[Sugar-devel] [PATCH v1 0/5] Add ctime and filesize properties to the datastore

Andrés Ambrois andresambrois at gmail.com
Sun May 23 08:04:06 EDT 2010


This is in preparation of the Journal work implementing sorting of entries by
these properties.

v0: Initial submission to sugar-devel
v1: Split ctime and filesize patches as requested by Sascha

Andrés Ambrois (5):
  Add filesize property to the index
  Add migration code from DS v0 for the filesize property
  Increment CURRENT_LAYOUT_VERSION to trigger an index rebuild.
  Add ctime property to the index and datastore
  Implement migration from DS v0 for ctime property.

 src/carquinyol/datastore.py     |   22 ++++++++++++++++++++--
 src/carquinyol/indexstore.py    |   17 +++++++++++++++++
 src/carquinyol/layoutmanager.py |    2 +-
 src/carquinyol/migration.py     |   12 +++++++++++-
 4 files changed, 49 insertions(+), 4 deletions(-)



More information about the Sugar-devel mailing list