Re: Commit Size Restriction

2016-07-13 Thread Siva
Thanks Friends. As Bret said, I am not able to identify the size of the Commit. Checking all the files one by one and verify size of the files is not what I expect. So, thinking to drop the plan for identify the Commit Size and restrict. Instead of that I can change Apache Configuration to res

Re: Commit Size Restriction

2016-07-13 Thread Johan Corveleyn
On Wed, Jul 13, 2016 at 10:13 PM, Greg Stein wrote: >> From: Siva >> Sent: woensdag 13 juli 2016 16:07 >> To: subversion-users >> Subject: Commit Size Restriction >> >> Hi All, >> >> My Subversion Edge is installed in Windows Server. >> >> Is it possible to restrict commit size by repository or wh

Re: Commit Size Restriction

2016-07-13 Thread Greg Stein
The simplest mechanism to avoid large (new) files from getting committed into your repository is to use the "LimitRequestBody" directive in your Apache configuration. This is the mechanism that we use on svn.apache.org Cheers, -g On Wed, Jul 13, 2016 at 09:18:05PM +0200, b...@qqmail.nl wrote: > H

RE: Commit Size Restriction

2016-07-13 Thread bert
How do you define ‘commit size’? With delta compression, re-use on copies of files and directory trees, etc. it is very hard to define what size a commit would be. And as we have pluggable filesystem backends we don’t know what amount of disk space would be used after a commit. Personally I wo

Re: Commit Size Restriction

2016-07-13 Thread Stefan Hett
Hi Sivaram, Hi All, My Subversion Edge is installed in Windows Server. Is it possible to restrict commit size by repository or whole server? Haven't done that myself yet, but I take it a way to do so is to add a pre-commit hook in combination with some perl script verifying the size of the co

Re: Commit size

2012-06-15 Thread Daniel Shahaf
Johan Corveleyn wrote on Wed, Jun 13, 2012 at 15:32:56 +0200: > On Wed, Jun 13, 2012 at 3:16 PM, Vladimir Shun'kov wrote: > > Would be enough have the number bytes of changes. I did disk usage in > > pre-commit hook and disk usage in post-commit hook and then calculated > > the difference. But I c

Re: Commit size

2012-06-13 Thread Johan Corveleyn
On Wed, Jun 13, 2012 at 3:16 PM, Vladimir Shun'kov wrote: > Would be enough have the number bytes of changes. I did disk usage in > pre-commit hook and disk usage in post-commit hook and then calculated > the difference. But I commited the new file with size 20Kb and size of > commit I recieved on

Re: Commit size

2012-06-13 Thread Vladimir Shun'kov
Would be enough have the number bytes of changes. I did disk usage in pre-commit hook and disk usage in post-commit hook and then calculated the difference. But I commited the new file with size 20Kb and size of commit I recieved only 5Kb due some svn compression I guess. Thank you. Vlad. 2012/6/

RE: Commit size

2012-06-12 Thread Cooke, Mark
[Please add your reply at the bottom, it makes it easier to read] > > 2012/6/12 Andy Levy : > >> On Tue, Jun 12, 2012 at 5:21 AM, Vladimir Shun'kov > wrote: > >>> Hello, > >>> > >>> Could you please help me with issue. Is it real to get > >>> commit size of user for statistic? > >> > >> How ar

Re: Commit size

2012-06-12 Thread Andy Levy
Please use Reply To All to keep discussion on the list. On Tue, Jun 12, 2012 at 7:55 AM, Vladimir Shun'kov wrote: > Hello, > > I need measure in bytes. I tried use pre-commit and post-commit hooks > but I received not real size of commit due svn uses some compression. > > > 2012/6/12 Andy Levy :

Re: Commit size

2012-06-12 Thread Thorsten Schöning
Guten Tag Chris Evans, am Dienstag, 12. Juni 2012 um 13:09 schrieben Sie: > If you still want some stats/reports from commits Atlassian Fisheye > will do it based of lines of code > http://www.atlassian.com/software/fisheye/overview/analyze-source I played a little with StatSVN which focuses on

RE: Commit size

2012-06-12 Thread Chris Evans
> -Original Message- > From: Andy Levy [mailto:andy.l...@gmail.com] > Sent: 12 June 2012 11:31 > To: Vladimir Shun'kov > Cc: users@subversion.apache.org > Subject: Re: Commit size > > On Tue, Jun 12, 2012 at 5:21 AM, Vladimir Shun'kov > wrote: > &

Re: Commit size

2012-06-12 Thread Andy Levy
On Tue, Jun 12, 2012 at 5:21 AM, Vladimir Shun'kov wrote: > Hello, > > Could you please help me with issue. Is it real to get commit size of > user for statistic? How are you measuring size? Bytes? Lines? Number of files? And to what end? There are a lot of problems around measuring user activit