git-cvsserver pserver username propagation

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

 



Hello All!

For some specific workflow issues at my company, I need to allow some users work 
with CVS, while main repository is under git.

I've chosen git-cvsserver as implementation for this task.

I set up git repository, enabled it for gitcvs and setup a pserver simulation on 
xinetd. Everything works fine, I can work with this repository from cvs client, 
authenticating against passwd file I created through pserver emulation.

My problem is that commits that I make through CVS are shown under user who runs 
xinetd, not under user I authenticate against passwd.

i.e. I commit to CVS as user 'foo', I successfully authenticate through pserver, 
but when I look at git history of commits for this repo, i see that commit has 
been made by user 'root'.


I looked through source of git-cvsserver (http://git.kernel.org/?
p=git/git.git;a=blob;f=git-cvsserver.perl) and it seems that CVS login is used 
only for authentication, not for actual committing.
Records in SQLite database contain 'root' username too, not 'foo'


Do you have any ideas how I can propagate CVS login to git username?




--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]