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

[Fwd: Re: Programmatically verify user is logged in?]

From: C. Schanck <chris_at_schanck.net>
Date: 2005-03-07 15:13:13 CET

attached mail follows:


(can you resend to the users@ list to keep this public?)

On Mar 6, 2005, at 10:06 PM, C. Schanck wrote:

> Ben Collins-Sussman wrote:
>
>>
>> On Mar 3, 2005, at 10:16 PM, Chris Schanck wrote:
>>
>>> We use svn inside another set of scripts -- python to be exact. One
>>> of the problems we run into is that the script cannot easily tell or
>>> enforce that the user has write access to the repository before an
>>> svn command is executed.
>>>
>>> Is there an (easy|portable|fast) way to check if the user has
>>> authenticated?
>>>
>>
>> Subversion isn't like CVS; the client doesn't "log in". Instead,
>> the server either sends a challenge, or it doesn't. The client only
>> authenticates when the server prompts.
>>
>> I have to admit that I don't understand. What does it mean for a
>> script to "enforce that a user has write access to a repository"?
>> Access control is something controlled by the server, and the
>> policies are created server-side. No script can force the client to
>> "log in"... the client just responds when the server prompts.
>>
>>
>>
> Hey Ben,
>
> I understand how subversion works. But it is annoying for us.
>
> Our developers don't bother to know they are using subversion much.
> They barely noticed we moved from CVS to subversion (except for the
> speed increase ;-). They just use our scripts.
>
> The script we use captures input and parses output and status.
> Consequently when a user needs to login, the script just hangs and the
> user has no idea why. Of course, I know it is waiting on input. But
> that doesn't help much.
>
> CVS was much easier to use in "batch" mode. With subversion, there is
> no way to tell if the user has logged in, and if it will fail.
> Annoying. I'd rather svn just failed if it needed to authenticate.
>
> Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 7 16:11:29 2005

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

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