[Zope] Re: APE and bobobase_modification_time

Dieter Maurer dieter at handshake.de
Fri Nov 21 17:06:55 EST 2003


Gabriel Genellina wrote at 2003-11-20 21:37 -0300:
 > The procedure is as follows: I export the original data.fs, using APE, to a 
 > directory-based hierarchy on the filesystem. Then I use CVS to syncronize 
 > this structure among other users, and then copy the modified objects back 
 > into the FileStorage.
 > I don't care about undo history (that's done thru CVS) so the storage is 
 > re-created each time.
 > This works fine except that, when objects are exported to the filesystem, 
 > files are created with the current date/time, and ALL files get marked as 
 > 'modified' by CVS, making the update/commit process very long.
 > So I wish to be able to:
 > - set each file's date/time to the 'last-modification-time' of the 
 > corresponding, original object in data.fs

The "serial" carried by each object record is in fact a timestamp
(used as source by "bobobase_modification_time").
Look at the "bobobase_modification_time" source how to convert
it again into a time (as look at "ZODB.TimeStamp").

-- 
Dieter



More information about the Zope mailing list