List Info

Thread: Clean up old revisions




Clean up old revisions
country flaguser name
United States
2008-02-12 11:31:00
I must have missed a commit. We used to have code that
removed old 
revisions after it reached a number, like 10 or something. I
can't find 
that anymore and I have some going well into the 40's for
revision 
numbers. Was that removed? Or is it not working?

Richard

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Clean up old revisions
country flaguser name
United States
2008-02-15 10:55:59
Richard Frovarp wrote:
> I must have missed a commit. We used to have code that
removed old 
> revisions after it reached a number, like 10 or
something. I can't 
> find that anymore and I have some going well into the
40's for 
> revision numbers. Was that removed? Or is it not
working?
>
> Richard
>
>

modules/sourcerepository/java/src/org/apache/lenya/cms/repos
itory/SourceNodeRCML.java


I just found the source. It's the maximalNumberOfEntries
setting, which 
has been set to 200. This is a bit excessive and can cause
small pages 
to take up a large amount of disk space.

It would be nice if one could delete revisions from within
the 
interface. I have users that are uploading full 1.8 MB
digital photos. 
Since I run quotas, this gobbles up the disk space.
Replacing the large 
images with smaller ones doesn't help too much, as they
still have the 
old revisions around. This means they must delete the image,
upload, 
then reinsert image. Kind of a pain. Better education would
obviously be 
best, but having a clean fall back would be nice.

Richard

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )