Hi Lynette,

The scope of my work was limited to passing in timestamps to the Fedora API-A and API-M SOAP calls and doesn't cover any explicit versioning functionality within Fez itself. All the code does is extract the timestamps from the automatically-versioned datastreams, munges them a little and presents them to the user. I'll be the first to admit that it's not the brightest code out there (due to timestamps being on the individual datatstreams, thus often resulting in multiple timestamps for one Fez operation), but at least it makes versioned data available to Fez.

M


On 13/03/2008, Lynette Rayle <elrayle@cs.cornell.edu> wrote:

Hi Matt,

 

We have looked into adding versioning to Fez as well, so I'm glad to see your work.  I have a few questions to clarify the scope of your work.  Currently in Fez, if you want to update an uploaded file, you have to purge the existing datastream and add the new version of the file which puts it in a new datastream.  Thus, there is no versioning in Fedora of a single datastream for that uploaded file.   Does your work include the ability to update uploaded files in the same datastream, thus making them available through Fedora's versioning? 

 

Lynette

 


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

 

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


-------------------------------------------------------------------------
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