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

Re: Repository Authentication with Perl Bindings

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2004-11-19 16:56:44 CET

=?ISO-8859-1?Q?Reinhard_Brandst=E4dter?= <reinhard.brandstaedter@ams-engineerin
g.com> writes:

> how does one authenticate when acessing a repository via the Perl
> bindings SVN::Ra ?
> I'm trying the fancy svn-graph.pl script but all my repositories need
> authentication by default...

You need something like this (derived from SVN::Mirror::Ra):

http://pretzelnet.org/~epg/SVNAuth.pm

This isn't a perl specific issue; everyone who wants to write to
the svn API from any language has to reinvent the auth prompting.
Obviously it makes sense for a GUI to reinvent this, but i think
it would be nice if libsvn_client included prompting functions
people could use or override, rather than forcing everyone to
roll their own. Oh well :).

--
Eric Gillespie <*> epg@pretzelnet.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 19 16:57:44 2004

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.