Hi all!
My username on my private pc is josephine, my username on my workstation is josephine.tannhauser, but my fas-username is tannhauser.
how can I use fedora-cvs on these machines? It seems that fedora-cvs want to use the local username. How can I change this behavior with editing a configfile in my home-dir? I don't want to edit the fedora-cvs package-files.
Currently i have a alternate user on my private pc, but this is not a good solution. :-)
On 03/01/2010 11:05 AM, Josephine Tannhäuser wrote:
Hi all!
My username on my private pc is josephine, my username on my workstation is josephine.tannhauser, but my fas-username is tannhauser.
how can I use fedora-cvs on these machines? It seems that fedora-cvs want to use the local username. How can I change this behavior with editing a configfile in my home-dir? I don't want to edit the fedora-cvs package-files.
Currently i have a alternate user on my private pc, but this is not a good solution. :-)
From a glance at the source, it appears to get the username from the CN
in ~/.fedora.cert -- so it should just work...
Josh
On Mon, Mar 01, 2010 at 08:05:00PM +0100, Josephine Tannhäuser wrote:
how can I use fedora-cvs on these machines? It seems that fedora-cvs want to use the local username. How can I change this behavior with editing a configfile in my home-dir? I don't want to edit the fedora-cvs package-files.
Which files do you mean here? Afaik, cvs needs to know the CVSROOT and when I joined as a package maintainer, the wiki suggested to export the CVSROOT variable in .bashrc. It would be this one for you: export CVSROOT=:ext:tannhauser@cvs.fedoraproject.org:/cvs/pkgs
But I wonder, how do you access CVS without this?
Currently i have a alternate user on my private pc, but this is not a good solution. :-)
I still have a separate user, that has a different name than my FAS account, because I do not want to use a global CVSROOT variable for my normal account to avoid problems with other projects using CVS.
Regards Till
mån 2010-03-01 klockan 20:13 +0100 skrev Till Maas:
But I wonder, how do you access CVS without this?
You shouldn't need it. What happens if you don't have it?
CVS records the root location in the checked out copy, so you only need to supply a CVS root when doing cvs checkout and even then you don't need to set CVSROOT, you can just do "cvs -d :ext:foo@bar:/baz checkout gazonk". The fedora-cvs tool does set CVSROOT but it could just as well use -d instead.
On Mon, Mar 01, 2010 at 09:09:08PM +0100, Alexander Boström wrote:
mån 2010-03-01 klockan 20:13 +0100 skrev Till Maas:
But I wonder, how do you access CVS without this?
You shouldn't need it. What happens if you don't have it?
It still seems to work. :-)
CVS records the root location in the checked out copy, so you only need to supply a CVS root when doing cvs checkout and even then you don't
Just wondering, can I also make CVS record which CVS_RSH to use? For Fedora I use a special one to keep the SSH connection open to speed up things[0]. It probably works for other CVS projects, too, but luckily I do not need to use any currently.
need to set CVSROOT, you can just do "cvs -d :ext:foo@bar:/baz checkout gazonk". The fedora-cvs tool does set CVSROOT but it could just as well use -d instead.
Thanks, I did not know about fedora-cvs before, which also explains my previous mail to this thread. :-)
Regards Till
[0] http://blogs.23.nu/till/2008/12/ssh-via-cvs-with-automatic-control-socket-su...
Till Maas wrote:
Which files do you mean here? Afaik, cvs needs to know the CVSROOT and when I joined as a package maintainer, the wiki suggested to export the CVSROOT variable in .bashrc. It would be this one for you: export CVSROOT=:ext:tannhauser@cvs.fedoraproject.org:/cvs/pkgs
But I wonder, how do you access CVS without this?
I think the "tannhauser@" part was what she was missing. If you use only "cvs.fedoraproject.org", it will default to the same username you're using on your local machine.
Kevin Kofler