You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mark Shead <sh...@optimalinternet.com> on 2005/11/03 21:53:30 UTC

Enforcing Quotas for Repositories

What is the best way to handle quotas in Subversion?  Basically I'd like
to provide repositories for several different teams, but I want to make
sure that they can't fill the entire filesystem accidentally.  The
system would be using webdav.

Here are the things I've thought of so far, but I'm assuming there may
be a better way that I'm not aware of:

1. Put a quota on the filesystem itself. (Might not work depending on
how Apache was configured to run.)
2. Use some type of commit hook to prevent a commit from going through
if the repository is over a certain size.

Are there any other better ways of doing this or is there anything that
already gives this functionality that I might have overlooked?

--Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Enforcing Quotas for Repositories

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Nov 3, 2005, at 22:53, Mark Shead wrote:

> What is the best way to handle quotas in Subversion?  Basically I'd  
> like
> to provide repositories for several different teams, but I want to  
> make
> sure that they can't fill the entire filesystem accidentally.  The
> system would be using webdav.
>
> Here are the things I've thought of so far, but I'm assuming there may
> be a better way that I'm not aware of:
>
> 1. Put a quota on the filesystem itself. (Might not work depending on
> how Apache was configured to run.)
> 2. Use some type of commit hook to prevent a commit from going through
> if the repository is over a certain size.
>
> Are there any other better ways of doing this or is there anything  
> that
> already gives this functionality that I might have overlooked?

Just curious: how do you envision a quota system working?  
Specifically: what is the user supposed to do if they exceed the  
quota? In the quota systems I know of, the user is expected to delete  
items to free up space. But by definition you can never delete  
anything from a repository...



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org