git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-cvsserver pserver username propagation

From
IFIlya Furmanov <furious-i@yandex.ru>
Date
Mar 16, 2011, 18:55 UTC
Message-ID
<loom.20110316T194158-206@post.gmane.org>
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?
Message 1 of 1 in “git-cvsserver pserver username propagation”
  1. Ilya FurmanovMar 16, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.