Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN: User Checkout History?

Tags:

svn

Is it possible to get the SVN history of a user? I have a repo and created new accounts for new developers joining the team. A few days have gone past with no status updates from them and what appears to be no work completed. I am trying to figure out if they ever access SVN and checked out the latest code. Can I do that?

UPDATE: I mean checkout, I am looking for an access log type thing based on users. I want to be able to look up user1 and see when they checked out the project and when they updated. I don't care what code they changed, I just want to see when they last accessed the code.

like image 992
user602464 Avatar asked Feb 07 '12 14:02

user602464


1 Answers

Depending on how your server is configured and what access you have you should have visibility. If you're running svn over apache (http or https), you'll want to look at apache's log. It will list if they've checked out or even browsed the code (web browser or tortoise` repo browser) by default going to be in /var/log/httpd

The logging including the location is configurable in your subversion.conf Once you find the logs you're likely going to want to setup a customlog directive to change the format something like

LogFormat "%{%Y-%m-%d %T}t %u@%h %>s repo:%{SVN-REPOS-NAME}e %{SVN-ACTION}e (%B Bytes in %T Sec)" svn

That will make it much more readable, and easier to find entries created due to your new people.

teh red book has some good info on it.

like image 63
thekbb Avatar answered Nov 11 '22 15:11

thekbb