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

Ruby api feature request: add_ssl_server_trust_file_provider()

From: Johnathan Kupferer <jtk_at_uic.edu>
Date: 2006-08-09 19:16:57 CEST

Greetings all, I'm rather new to the world of Ruby but I've worked quite
a bit with the subversion perl API. I'm looking to port some code from
perl to ruby (it's a long story) and I've immediately run into trouble
with SSL certs. It seems the ruby API doesn't start out with an ssl
server trust file provider, so I want to add the default version ala
add_simple_provider() or add_username_provider(), but add_provider() is
a private method so what I'm having to do is:

module Svn
    module Client
        class Context
            def add_ssl_server_trust_file_provider
                add_provider(Client.get_ssl_server_trust_file_provider)
            end
        end
    end
end

Which is rather ugly. Would it be possible to get this method added to
svn/client.rb? Am I missing some obvious better way to get this
working? Am I emailing the right people? Is there any documentation on
the ruby API?

Thanks in advance,

- Johnathan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 9 20:48:59 2006

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.