#5895: [with patch; needs review] Limit number of worksheet snapshots
----------------------+-----------------------------------------------------
 Reporter:  rbeezer   |       Owner:  rbeezer   
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-3.4.2
Component:  notebook  |    Keywords:            
----------------------+-----------------------------------------------------
Changes (by rbeezer):

 * cc: tornaria (added)


Comment:

 New version of patch examines the snapshot directory on each new snapshot
 added.  A snapshot is deleted if (a) it is not one of the 30 newest, and
 (b) it was created after May 1, 2009.  So snapshots existing about now
 have "amnesty" and won't get trashed.

 At #5880 tornaria has added a bash script to remove duplicate snapshots (a
 condition that happened prior to 3.1.4).  I wonder if the script could be
 extended/modified to delete old snapshots by two other criteria - a
 maximum number per directory, and perhaps by age (ie delete everything
 created before a certain date).  This would allow those running server
 installations to take more drastic action on their own.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5895#comment:6>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to