[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Feature proposal: SVN_USERNAME and SVN_PASSWORD environment variables

From: Branko Čibej <brane_at_wandisco.com>
Date: Wed, 17 Apr 2013 22:24:43 +0200

On 17.04.2013 21:01, Daniel Shahaf wrote:
> Branko Čibej wrote on Wed, Apr 17, 2013 at 07:14:53 +0200:
>> The --config-dir option is IMO problematic for this since you'd have to
>> use the SVN command-line to initialize the credentials store -- the
>> format is such that I'd not recommend editing the auth store manually.
>>
> Manually? Of course not. But I could see us whipping up a tools/
> script that takes a URL, username, and password[1], and creates a foo/
> dir with foo/auth/svn.simple/d41d8cd98f00b204e9800998ecf8427e, or prints
> the string "d41d8cd98f00b204e9800998ecf8427e" and the
> would-be-file-contents to stdout, etc.

Did you have something like this in mind?

    $ svnauth init --config-dir=~/.subversion-alternate
    $ svnauth add --config-dir=~/.subversion-alternate https://svn.apache.org/repos/asf
    Username: ....
    Password: ****

I have a suspicion that the idea could grow into a full-blown
credentials management tool ...

-- Brane

-- 
Branko Čibej
Director of Subversion | WANdisco | www.wandisco.com
Received on 2013-04-17 22:25:25 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.