git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [git-svn] always prompted for passphrase with subversion 1.6

From
EREdward Rudd <urkle@outoforder.cc>
Date
Dec 14, 2010, 14:33 UTC
Message-ID
<4D078048.3040602@outoforder.cc>
In-Reply-To
<4AA84F46.6010706@hp.com>
On 09/09/2009 08:58 PM, Tim Potter wrote:
Show 6 quoted lines
> It's probably just a matter of adding another entry to the
> _auth_providers() function in git-svn.  My thought was that there might
> be a new auth provider in the Subversion 1.6 client library for GNOME
> Keyring support that could be used for this.
> 
> I'll have a search through and see what I can find.

I've been tracking subversion bug # 3612 (http://subversion.tigris.org/issues/show_bug.cfg?id=3612 ) which is on this issue of perl binding not supporting platform specific providers.

A patch was added into subversion 1.6.15 that finally adds bindings for perl to access this functionality via a call to SVN::Core::auth_get_platform_specific_client_providers and adding it's contents to the array returned by _auth_providers..

The "test" modification I did to git-svn is as follows.
sub _auth_providers () {
  (
    SVN::Core::auth_get_platform_specific_client_providers(undef,undef),
    [
      SVN::Client::get_simple_provider(),
      .... the rest of the static provider ...
    ]
  )
}

I'm honestly not sure if it should be at the beginning or end, and this also needs some run-time checking to determine if the user has at least SVN 1.6.15 installed

Previous: Tim Potter
Message 4 of 4 in “[git-svn] always prompted for passphrase with subversion 1.6”
  1. Tim PotterAug 27, 2009
  2. Eric WongSep 5, 2009
  3. Tim PotterSep 10, 2009
  4. Edward RuddDec 14, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.