info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't track users that check-in remotely via ssh


From: Todd Denniston
Subject: Re: can't track users that check-in remotely via ssh
Date: Mon, 23 Jul 2007 16:49:29 -0500
User-agent: Thunderbird 1.5.0.12 (X11/20070509)

Mark wrote:

I like to use a remote machine to do cvs check-ins because I
have management control on it and so I have installed better
tools (compilers, editors, etc). But when I check in to
our cvs server, because I'm going through ssh remotely
this is typical of what goes in the commitlog:

project/demo/src frontside.cc
Mon Jul 23 10:36:40 EDT 2007
Update of /repo/projectcvs/main/project/demo/src
In directory cvshost.domain.org:/tmp/cvs-serv6345/src

Basically the negative side of doing remote cvs checkins
is that commitlog file tracking who did what checkin is getting
sanitized by that ambiguous "cvs-serv####" string

When I check-in locally I can tell it was me because
my sandbox is under my home directory so my home
directory name is embedded in the "In directory" path.

Is there some way to get remote entries in the log to embedded the
ssh username?  Maybe it could look like:

project/demo/src frontside.cc
Mon Jul 23 10:36:40 EDT 2007
Update of /repo/projectcvs/main/project/demo/src
In directory cvshost.domain.edu:address@hidden:/tmp/cvs-serv1113/...

or instead of that number #### can cvs use append the username
to that:   /tmp/cvs-serv1113_user ??

This is on cvs 1.9 as the cvs server and cvs 1.11.22 as the
remote client.

Mark


I am also using ssh.

1) have you considered updating to something a little more secure on the server? I mean there have been a huge number of security fixes since 1.9 came out.

2) the modern commit_prep and log_accum (mine came from cvs-1.11.19) puts the username at the beginning of the message. [for use with commitinfo]

3) why do you really care who committed what in the commit log files, when you can query the repository directly if you really need to know?

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]