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

Re: SVN + viewvc

From: David Weintraub <qazwart_at_gmail.com>
Date: Fri, 22 Aug 2008 12:02:59 -0400

One of my big complaints with viewvc is that it accesses the
repository directly. I can see why (speed), but it does cause problems
when you have the svn server process run as a different user from your
viewvc process. Plus, it means you have to have "viewvc" run on the
same system as your repository. Our standard development webserver is
one system and our Subversion repository was on another system. I
would have loved viewvc run on ur development webserver, but had to
run it from our Subversion repository because of this.

Fortunately, since we use http:// on our Subversion repository, this
wasn't too much of a problem for us.

Here's a possible solution:

Run a cronjob to

1). Do a hotcopy of your subversion repository
2). Do a chown to the viewvc user
3). Do an rsync to a copy of your Subversion repository on your server
where viewvc runs.

This means that your commit results won't show up on viewvc until the
next sync, but if you run the cronjob every ten minutes or so, it
might be good enough.

Another possibility is to use Fisheye from Atlassian which allows you
to view your Subversion repository like viewvc, plus has a few other
tricks like email notifications, and a RSS of repository changes. All
for a the cost of just an arm, 1/2 a leg, and a few minor bodily
organs. ($2,000 to $8,000).

Okay, it is expensive compared to Subversion or viewvc, but as
commercial software goes, it is fairly reasonable. Or to think of it
another way, if it saves 20 developers about an hour a piece each year
in development time, you'll more than make up the difference in the

There's a 30 day free trial for Fisheye.

David Weintraub
On Fri, Aug 22, 2008 at 2:56 AM, Himanshu Raina
<raina_himanshu_at_yahoo.com> wrote:
> Hi,
> I recently installed viewvc for two of my SVN servers (one running http and
> the other running svn protocol). In the later I'm facing the following
> issue:-
> With the default permission set  (755) on repository if i access viewvc I
> get error "Berkeley DB error for filesystem /home/subversion/intranet/db
> while opening environment:\nPermission denied', 160029)"
> The repository name as obvious from the error is intranet and it has the
> following permissions.
> drwxr-xr-x  7 root       subversion      4096 Aug 22 11:35 intranet
> If i change the permissions to 775 (recursive) the problem gets resolved but
> while accessing svn on command line it prompts me to recover the repository
> using svnadmin. How can i resolve this issue ?
> regards
> Himanshu Raina
> ________________________________
> Add more friends to your messenger and enjoy! Invite them now.
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-22 18:03:20 CEST

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.