Re: Environment variable for alioth login names.
* Charles Plessy [Sat, 27 Dec 2008 02:51:00 +0900]:
> Dear all,
Hola,
> I am playing with Joey Hess's `mr' tool and try to prepare a configuration file
> shareable by people having the same interests. I have a lines like this:
> [debian-med/insighttoolkit]
> checkout = svn co svn+ssh://${ALIOTHLOGIN}@svn.debian.org/svn/debian-med/trunk/packages/insighttoolkit/trunk/
> I was just wondering if some scripts are already using an environment variable
> for storing the alioth login name (ALIOTHLOGIN above), so that I can use the
> same and reduce environment chaos…
In my opinion, the proper way to address this issue is to configure a
username for svn.debian.org in ~/.ssh/config; that way
svn+ssh://svn.debian.org/... works directly, without having to specify a
username.
Example (if you're a DD):
Host *.debian.org
User foo
Else:
Host alioth.debian.org svn.debian.org git.debian.org
User foo-guest
HTH,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
- You look beaten.
- I just caught Tara laughing with another man.
- Are you sure they weren't just... kissing or something?
- No, they were laughing.
-- Denny Crane and Alan Shore
Reply to: