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

Re: Standard for communicating with user?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-11-25 18:03:57 CET

<rbb@apache.org> writes:

> I am working on adding SSL server-key verification to the svn client, but
> it requires interaction with the user. Is there a standard way of doing
> this or should I just use APR's stdin/stdout handles?

Very cool, glad you're doing this!

I think we need more context from you, more specifics about what you
want to see happen.

Here's a preliminary answer: only a client application (i.e. the user
of libsvn_client) is allowed to interact with the user directly and
use stdout/stdin. Up till now, this has been extremely rare.
libsvn_client has defined specific callbacks for this. For example, a
client application has to provide a function of type
"svn_client_prompt_t" so that libsvn_client is able to ask users for
names/passwords whenever neon receives a challenge. I'm guessing you
would want to define more callbacks like this.

Also, you might want to investigate if your changes tie into a larger
project -- the creation of libsvn_auth. gstein has a Grand Plan to
move all our auth code in there and make it very pretty. He can talk
more about that. Right now, that library is just a hollow shell.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 25 18:06:11 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.