[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Enforcing Quotas for Repositories

From: Joshua Varner <jlvarner_at_gmail.com>
Date: 2005-11-04 05:40:23 CET

On 11/3/05, Mark Shead <sheadm@optimalinternet.com> wrote:
> Lets say that the repository has a 100MB quota. Once that quota is reached, any commits will fail with a message saying that the quota for that repository has been reached. To fix the issue an administrator would either need to raise the quota or purge information out of the repository.
>
> An administrator can delete older version information from the repository by creative use of svnadmin. The easiest thing to do would be to archive the older version information, for example just keep everything from revision 500 in the repository and keeping the older information as a compressed file on a CD.
>
> --Mark
>
You could do this with a precommit hook. Just check the size of the repos
on disk (on *nix a simple du -s) and then reject the commit if it has
exceeded the quota.

Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 4 05:42:07 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.