Re: history shows different login -CVS
KM <[email protected]> Wed, 5 Dec 2012 08:04:46 -0800 (PST)
| Newsgroups | gmane.comp.version-control.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
thank you for the input. I still see nothing pointing to the other id. our CVSROOT on the server where the sandbox is is using pserver:cvs@host:/repo..... I am logged in as "build". on server where cvs is hosted, the pserver is set up with xinted.d as follows:
service cvspserver
{
disable = no
port = 2401
socket_type = stream
protocol = tcp
wait = no
user = root
group = cvs
log_type = FILE /var/log/cvspserver
passenv = PATH
server = /usr/bin/cvs
env = '$HOME=/repos/cvsroot'
log_on_failure += USERID
server_args = -f --allow-root=/repos/cvsroot pserver
}
So I am not really sure what was done in the past to this working directory. Funny thing is some of my commits are showing "build" as the user. It's not that important, but I'd just prefer that the old id didn't show up. At least if it was my id or the build id it would be better.
thank you
KM
________________________________
From: Arthur Barrett <[email protected]>
To: Larry Jones <[email protected]>; [email protected]
Cc: cvs-user-list <[email protected]>
Sent: Tuesday, December 4, 2012 6:43 PM
Subject: RE: history shows different login -CVS
KM,
And it caries again depending on the client software. Eg: if you are using WinCVS, TortoiseCVS or anything else that uses the CVSNT client then it will depend on the CVSROOT which you used to create the sandbox.
Eg:
- named user: :pserver:km@myhost:/myrepo
- current user: :pserver:myhost:/myrepo
We always recommend you create the sandboxes using the 'current user' method - then many people can 'share' a sandbox and when each 'commits' it's their 'logged in name' that gets used no the name of the person who created the sandbox.
Regards,
Arthur Barrett
Product Manager CVSNT
> -----Original Message-----
> From:
> [email protected]
> [mailto:info-cvs-bounces+arthur.barrett=march-hare.com@nongnu.
> org] On Behalf Of Larry Jones
> Sent: 05 December 2012 08:42
> To: [email protected]
> Cc: cvs-user-list
> Subject: Re: history shows different login -CVS
>
>
> KM writes:
> >
> > This may be a stupid question, but I noticed today that when I
> > committed/added a new file using a generic "build" login on my
> > linux/redhat system, that the history in CVS shows the
> previous persons
> > ID. For example "jdoe" in history and not "build". I can't seem to
> > figure out how this is assocatied to his ID. This may not
> even be a CVS
> > setting, and may be related to an operating system setting, but I
> > thought I'd ask anyway.
>
> The user that history records can come from a number of different
> places: If you're using an authenticated client/server method like
> pserver, it's the username the client sent to the server.
> Otherwise, it
> comes from getuid() and getpwuid() in the CVS (server) process unless
> that's 0. If it is 0, CVS uses the first of getlogin(), $LOGNAME, and
> $USER that's set.
> --
> Larry Jones
>
> Ha! Wild zontars couldn't drag that information out of me!
> Do your worst!
> -- Calvin
>
>