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

Re: svn Gnome keyring caching broken -- was: svn + Gnome Keyring doesn't always open a dialog for pw entry

From: Senthil Kumaran S <senthil_at_collab.net>
Date: Tue, 21 Apr 2009 12:00:55 +0530

Neels J Hofmeyr wrote:
> Senthil Kumaran S wrote:
>> Neels Janosch Hofmeyr wrote:
>>> Senthil Kumaran S wrote:
>>>> This is fixed in r37322.
>>> No, I'm afraid it's now entirely broken. Trunk now fails to use the
>>> Gnome-keyring altogether. I ran the same test with 1.6.1 and with trunk.
>> Trunk works for me.
>
> :|
>
> I just did a clean checkout and recompile, and trunk positively does not use
> the Gnome Keyring, even though 1.6.1 does in the exact same environment and
> config.
>
> May I have your ./configure options?

This is my configure options:

<snip>
../configure --prefix=/home/stylesen/subversion-dev/builds/svn-1.6.1
--enable-maintainer-mode --with-ssl --with-neon=/usr/local/neon-0.28.2
--with-apxs=/usr/local/httpd-2.2.10/bin/apxs --disable-mod-activation
--enable-javahl --with-jdk=/usr/lib/jvm/java-6-openjdk
--with-apr=/usr/local/apr-1.3.3 --with-apr-util=/usr/local/apr-util-1.3.4
--with-sqlite=/usr/local/sqlite-3.5.9
--with-junit=/usr/share/java/junit-3.8.2.jar --with-gnome-keyring
</snip>

I use the same for building 1.6.1 but with a different prefix.

>> [trunk]
>> <snip>
> [...]
>> Password for 'default' GNOME keyring: ### enter exact keyring password
>> Authentication realm: <svn://localhost:3690> norealm
>
> Does it also pop up a GUI when you have GNOME running?

In trunk after r37322, it will not pop up the GUI, but puts a command line
prompt (as shown in my sample run above). This prompt function should be
provided by different clients via the API.

I am thinking about a much better way which will use GNOME's password prompting
GUI when it is available, if not fall back to the prompt function provided by
the client if any.

-- 
Senthil Kumaran S
http://www.stylesen.org/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1838288
Received on 2009-04-21 08:31:20 CEST

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.