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.

Consider our own svn-role account.  How am I supposed to cache
credentials for that account without running 'commit' once
interactively?  I did that by creating a ~/.subversion/auth/ directory
by hand, we could do with a better UI.

Daniel


[1] and to anyone in the audience thinking "it should prompt for the
password rather than take it via argv": yes, of course.

> The most likely candidates are a couple new command-line flags, e.g.,
> --username-file and --password-file.
> 
> -- Brane
> 
> -- 
> Branko Čibej
> Director of Subversion | WANdisco | www.wandisco.com
> 

Reply via email to