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

Re: svnadmin info command was: svn commit: r1464089 - /subversion/branches/fsfs-format7/BRANCH-README

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 3 Apr 2013 13:20:58 -0400

On Wed, Apr 3, 2013 at 1:15 PM, Daniel Shahaf <danielsh_at_elego.de> wrote:
> Mark Phippard wrote on Wed, Apr 03, 2013 at 13:10:54 -0400:
>> On Wed, Apr 3, 2013 at 12:15 PM, <danielsh_at_apache.org> wrote:
>> >
>> > +(danielsh adds: if we do this, would be nice to have 'svnadmin info' command
>> > +that prints the equivalent of `cat fs-type uuid ../format ../db/format`; but
>> > +that's orthogonal to all backend changes.)
>> >
>>
>> I think having an svnadmin info command would be nice anyway. We have
>> this feature in the web UI for SVN Edge and users like it a lot. We
>> show information like this:
>>
>> Revisions: 123
>> Size: 32.9 KB
>> Filesystem Format: FSFS version 4
>> Repository Format: 5
>> Sharding: Enabled (1,000 revisions)
>> Packed: False
>> Representation Sharing: True
>> Supports: svndiff1, sharding, mergeinfo, rep-sharing, packed revs
>> UUID: bc35d16b-8bfe-a849-b069-5d48e0fb7551
>>
>> I think the command could also probably list the hook scripts that were enabled.
>
> Agreed. My only comment is that I don't see how to compute 'size'
> cheaply. (On svn.a.o each repository is its own filesystem, so 'df'
> functions as an O(1) size calculator. But otherwise?)

I think you could leave that out. I was just copying and pasting what
we show. You are right that it cannot be obtained cheaply. We have a
background process that gathers the size and stores it in database to
support graphs etc. So we are able to pull the size from there.

I would just report the information we could include relatively easily
which might have value for the user.

--
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2013-04-03 19:21:29 CEST

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