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

Re: svnserve Quota Issue

From: Jacky Chan <jacky11287_at_gmail.com>
Date: 2007-01-05 02:29:08 CET

Dear Tony,

That's great, can we have a look and discuss on it?

2007/1/5, Tony Morris <tmorris@tmorris.net>:
>
> I have written a Haskell script that I use as a pre-commit hook for
> managing disk quota. It's not as polished as I'd like, but if there is
> any amount of interest, I'll tidy it up and release it under a BSD
> licence or something.
>
> Tony Morris
> http://tmorris.net/
>
>
>
> Steve Williams wrote:
> > Jacky Chan wrote:
> >>
> >> > Use operating system level tools to set disk quota for your
> >> > repositories.
> >>
> >>
> >> Does that use the operating system level tools to set the disk quota
> >> seems to be the only way to ensure the repository quota?
> >
> >
> > Subversion does not use, manage or even know about disk quotas. That is
> > outside its realm of responsibly.
> >
> >>
> >> And once you exceed them, you will not be able to commit to your
> >> repository. Repositories only grow;
> >> they do not shrink, unless you
> >> take extraordinary measures,
> >>
> >> What does that suppose to be? I don't follow very well...@.@
> >
> >
> > The repository grows in size with each commit. Repositories never get
> > smaller.
> >
> >>
> >>
> >> such as taking the repository offline,
> >> dumping the entire contents to a text file (for which you have no
> >> space since you've exceeded quota), filtering the file with
> >> svndumpfilter to remove some parts (or just leaving out some
> earlier
> >> revisions), then reloading the modified dumpfile into a new empty
> >> repository.
> >>
> >>
> >> I think that should be the action taken when the quota nearly full or
> >> really exits right?
> >
> >
> > It is up to you to manage disk space and quotas. It is not Subversion's
> > job to manage usage of disk quota.
> >
>
>
>
>

-- 
Yours Sincerely,
Jacky Chan
Received on Fri Jan 5 02:29:25 2007

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.