FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 03-01-2010, 06:11 PM
Josh Stone
 
Default OT: fas-username vs. local username for fedora-cvs

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
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-01-2010, 06:13 PM
Till Maas
 
Default OT: fas-username vs. local username for fedora-cvs

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
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-01-2010, 07:09 PM
Alexander Boström
 
Default OT: fas-username vs. local username for fedora-cvs

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.


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-01-2010, 07:26 PM
Till Maas
 
Default OT: fas-username vs. local username for fedora-cvs

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-support/

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-02-2010, 10:54 AM
Kevin Kofler
 
Default OT: fas-username vs. local username for fedora-cvs

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

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 03:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org