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

Re: non-interactive user authentication

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-10-07 17:25:19 CEST

Peter Schuller <peter.schuller@infidyne.com> writes:
> Another issie is if the username and password on the server has become
> invalid since the last time you used the repository. Will svn prompt or
> fail?

Yeah, this is a variation of a general scenario I realized this
morning.

You might write your script to use --username and --password, and we
might make Subversion fail out if they are invalid, but what if the
server's entire authentication method changes after the working copy
is checked out? For regular users, one reasonable behavior is to
prompt for new information -- it's very convenient. But then we're
back to wanting a --non-interactive flag for scripts...

Mrm. Hmmm.

We can't be the first project to encounter this problem. Is there
already a convention about how to handle it, or do different programs
do different things?

(Re detecting whether stdin is a tty, is that really reliable? We'd
need to add it to APR, at any rate...)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 7 17:52:29 2002

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.