Done! Tested the patch on SVN revision 1440 from this afternoon.

Will add DROID work at a later date...

M


On 11/03/2008, Keith Maull - Colorado Alliance of Research Libraries <keith@coalliance.org> wrote:

Matt

Would you be so kind as to update the "Add-ons, Plug-ins and Integrations" wiki page with your work ( I suppose this and the DROID work you've done as well ).

 

http://dev-repo.library.uq.edu.au/wiki/index.php/Add-ons%2C_Plug-ins_and_Integrations

 

Anyway, very cool stuff!

 

K:M

 


From: fez-developers-bounces@lists.sourceforge.net [mailto:fez-developers-bounces@lists.sourceforge.net] On Behalf Of Matt Painter
Sent: Monday, March 10, 2008 4:38 PM
To: fez-developers@lists.sourceforge.net
Subject: [Fez-developers] Versioning functionality

 

Hi all,

For your interest, I've successfully got functionality working to view previous versions of records. As the version dates are on a datastream as opposed to a record level, the list of version dates is compiled from the dates of the individual datastreams in a record. This is then collated and displayed to the administrator as a picklist.

As atomic operations in Fez may result in non-atomic operations on Fedora, often simple operations result in a number of timestamps, each corresponding to a datastream. As a workaround, I've filtered the list to remove entries that are closer than 10 seconds apart and provided an additional picklist to allow the administrator to select the full list if desired.

I did experiment with running a discrete fourier transform over the list to more accurately determine the average/maximum time between timestamps on datastreams, but then I realised I had no idea what I was doing so stopped. ;)

Happy to provide code to anyone who wants it. Screenshot attached (if attachments indeed work on these mailing lists)

M

--

Matt Painter
http://deity.co.nz
matt@deity.co.nz
+64 21 115 9378


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fez-developers mailing list
Fez-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fez-developers




--

Matt Painter
http://deity.co.nz
matt@deity.co.nz
+64 21 115 9378