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

Re: What's the status of svnserve logging feature?

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Fri, 12 Dec 2008 17:09:34 -0600

On Dec 12, 2008, at 11:09, Adem wrote:

> Ryan Schmidt wrote:
>
>> On Dec 11, 2008, at 01:52, Adem wrote:
>>
>>> As an admin (using svn version 1.4.2) I need to know which people
>>> (and
>>> when) have done checkout, checkin, update etc. We use svnserve only
>>> ie. no Web access) and with individual password authentication
>>> defined
>>> in repo/conf/passwd.
>>>
>>> In some old threads 3 or 4 years ago there was announced that
>>> svnserve will get a logging feature. What's the status of this?
>>
>> It looks like there is a not-quite-ready patch attached to this issue
>> that you can use if you really want this feature immediately:
>>
>> http://subversion.tigris.org/issues/show_bug.cgi?id=2409
>
>
> I have applied the patch of Eric Gillespie (dated Apr 28 2008)
> regarding
> adding logging capability to svnserve as described in his posting
> http://subversion.tigris.org/issues/show_bug.cgi?id=2409 with the
> patch
> that was done on subversion revision 30827:
> http://subversion.tigris.org/nonav/issues/showattachment.cgi/878/msg
> by using the following steps:
>
> $ cd $MYPRJDIR
> $ svn co http://svn.collab.net/repos/svn/trunk -r 30827 svn
> $ cd svn
> $ patch -p0 <../../Misc/subversion_svn_Info/
> svnserve_logging_patch__msg.diff.txt
> patching file subversion/svnserve/main.c
> patching file subversion/svnserve/serve.c
> Hunk #8 succeeded at 2867 with fuzz 2 (offset -1 lines).
> Hunk #9 succeeded at 2877 (offset -1 lines).
> Hunk #10 succeeded at 2946 (offset -7 lines).
> patching file subversion/svnserve/server.h
> $ ./autogen.sh
> $ mkdir obj
> $ cd obj
> $ ../configure
> $ make
>
> Then I printed version info of the newly built svn and svnserve
> binaries,
> but I was surprized to see that it says version 1.6.0,
> because the project site of subversion as of today
> says "The latest release of Subversion is 1.5.4."
>
> $ cd subversion
> $ svn/svn --version
> svn, version 1.6.0 (dev build)

Yes. The latest release of Subversion is 1.5.4. The next major
version of Subversion that will be released is 1.6.0. It is currently
being developed in trunk, which is what you checked out.

> compiled Dec 12 2008, 17:14:09
>
> Copyright (C) 2000-2008 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> This product includes software developed by CollabNet (http://
> www.Collab.Net/).
>
> The following repository access (RA) modules are available:
>
> * ra_svn : Module for accessing a repository using the svn network
> protocol.
> - handles 'svn' scheme
> * ra_local : Module for accessing a repository on local disk.
> - handles 'file' scheme
>
> $ svnserve/svnserve --version
> svnserve, version 1.6.0 (dev build)
> compiled Dec 12 2008, 17:14:09
>
> Copyright (C) 2000-2008 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> This product includes software developed by CollabNet (http://
> www.Collab.Net/).
>
> The following repository back-end (FS) modules are available:
>
> * fs_fs : Module for working with a plain file (FSFS) repository.
>
> ########################
> $ cd $MYPRJDIR/svn
> $ svn info
> Path: .
> URL: http://svn.collab.net/repos/svn/trunk
> Repository Root: http://svn.collab.net/repos/svn
> Repository UUID: 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a
> Revision: 30827
> Node Kind: directory
> Schedule: normal
> Last Changed Author: epg
> Last Changed Rev: 30827
> Last Changed Date: 2008-04-29 02:13:11 +0200 (Tue, 29 Apr 2008)
>
> $ svn status
> ? obj
> ? subversion/svnserve/serve.c.orig
> M subversion/svnserve/main.c
> M subversion/svnserve/serve.c
> M subversion/svnserve/server.h
>
> ########################
>
> I'm new to subversion-dev and could need some advice.
> My question is: I need to apply the above patch to v1.4.2.
> How should I do that?
> Is it sufficient to get the sources of v1.4.2 and simply
> apply the same steps above?

That may work, or it may not. I do not know how the internals of
Subversion have changed between 1.4.2 and now. The patch may not
apply cleanly. Or it may apply cleanly but not work right. Or it may
work perfectly. You'll have to try it out and see.

I would also recommend you upgrade your Subversion from 1.4.2 to
1.5.4, since that is the latest version.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983573

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-13 00:10:30 CET

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.