[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: different CVS_SERVER for different hosts
From: |
Derek Robert Price |
Subject: |
Re: different CVS_SERVER for different hosts |
Date: |
Wed, 29 Oct 2003 10:11:18 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mihai Bazon wrote:
|>I am not sure that is the best design path to follow.
|
|
|Indeed, it's not. My implementation is a dirty hack that only allows
|per-directory alternate for CVS_SERVER. But we could have a .cvsconfig
|file that had more options that override ~/.cvsrc. Flexibility is
|good. Look at ssh, for instance--you can set some defaults, but you can
|also set different parameters for each host, in ~/.ssh/config. I'm sure
|that some guy at some point thought that it wouldn't be useful, but I
|actually find it is ;-)
Maybe something as simple as a CVS/environment file (like CVS/Root &
CVS/Repository) for storing environment variable settings used to access
the server for each workspace would be simple enough?
Something parallel to the host settings in ~/.ssh/config doesn't really
seem necessary to me if workspaces can remember their settings. They
only need to be reinput on fresh checkouts.
Then again, if someone submitted a clean, efficient patch for something
like ~/.ssh/config for CVS including docs and test cases, how could I
pass it up?
Finally, the way the rest of the CVS commands work is to allow the file
settings to override the environment, not visa versa. Then the command
line can override the file settings.
Derek
- --
~ *8^)
Email: derek@ximbiot.com
Get CVS support at <http://ximbiot.com>!
- --
OPHELIA Could beauty, my lord, have better commerce
~ than with honesty?
HAMLET Ay, truly. For the power of beauty will sooner
~ transform honesty from what it is to a bawd than the
~ force of honesty can translate beauty into his likeness.
~ This was sometime a paradox, but now the time gives it
~ proof. I did love you once.
OPHELIA Indeed, my lord, you made me believe so.
~ - Hamlet, Act III, Scene 1, Lines 109-116
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQE/n9iVLD1OTBfyMaQRAgseAJ0ZoqfTtazDM8YetQRmPHt3MLLi2ACgknRx
cdcw6j0wgCTbUdgF9Rq7rJA=
=4zVc
-----END PGP SIGNATURE-----
- Re: different CVS_SERVER for different hosts, (continued)
- Re: different CVS_SERVER for different hosts, Larry Jones, 2003/10/30
- RE: different CVS_SERVER for different hosts, Shaun Tancheff, 2003/10/30
- Re: different CVS_SERVER for different hosts, Derek Robert Price, 2003/10/31
- Message not available
- Re: different CVS_SERVER for different hosts, Paul Edwards, 2003/10/31
- Re: different CVS_SERVER for different hosts, Derek Robert Price, 2003/10/31
- RE: different CVS_SERVER for different hosts, Shaun Tancheff, 2003/10/31
- Re: different CVS_SERVER for different hosts, Derek Robert Price, 2003/10/31
- Message not available
- Re: different CVS_SERVER for different hosts, Paul Edwards, 2003/10/30
- Re: different CVS_SERVER for different hosts, Derek Robert Price, 2003/10/30
- Re: different CVS_SERVER for different hosts, Larry Jones, 2003/10/30
- Re: different CVS_SERVER for different hosts,
Derek Robert Price <=
- Re: different CVS_SERVER for different hosts, Mihai Bazon, 2003/10/30
- Re: different CVS_SERVER for different hosts, Derek Robert Price, 2003/10/30
Re: different CVS_SERVER for different hosts, Paul Edwards, 2003/10/31
Re: different CVS_SERVER for different hosts, Paul Edwards, 2003/10/31
Re: different CVS_SERVER for different hosts, Paul Edwards, 2003/10/31