[cvsnt] Notification Script confusion (was ACLs, permissions, readers/writers, etc)

Mike Wake mike.wake at thales-tts.com
Fri Aug 20 11:20:43 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi Glen,

Glen Starrett wrote:

> Another note:  It seems the couple of notification scripts I've tried 
> get highly confused when the name (e.g. CVSROOT) isn't the same as the 
> physical directory.  I'm talking about the ones on my Linux box, Bo just 
> updated his Win32 notification script to account for the new structure 
> so I would imagine it would work properly.
> 

I am trying to get CVSspam to work with cvsnt 2.0.51b on linux and am
running into a problem that I think is due to the new Repository Prefix
changes.

My /etc/cvsnt/PServer file contains among other things the following mapping

Repository0=/home/cvsuser/CVSREPOS/cvs01lin
Repository0Name=/cvs01lin


To try and debug the situation I added the following to my loginfo script.
^CVSROOT ( echo $CVSROOT; echo ""; /bin/env )

Which when I commit a change to my CVSROOT directory I get the following
information.

/cvs01lin

TMPDIR=/tmp
CVSROOT=/home/cvsuser/CVSREPOS/cvs01lin
USER=mwake
CVS_USER=mwake
REMOTE_HOST=###.###.###.### (nevermind)
'HOME=/home/cvsuser/CVSREPOS'
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
PWD=/tmp/cvs-serv28326
SHLVL=1
LOGNAME=mwake
_=/bin/env


Notice that contents of $CVSROOT is different to that reported by /bin/env

Do you think this by design or a Bug?

Cheers Mikew



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook