[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: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA_at_GMail.Com>
Date: Thu, 30 Apr 2009 21:57:18 +0200

2009-04-27 11:41:48 Senthil Kumaran S napisaƂ(a):
> Arfrever Frehtes Taifersar Arahesis wrote:
> >> 2b) It should probably be called "Subversion passwords" instead of "network
> >> password".
> >
> > It might be caused by using of gnome_keyring_find_network_password_sync()
> > and gnome_keyring_set_network_password_sync().
>
> Ok all these difficulties pop up because we try to support older versions of
> gnome-keyring (I really don't know the exact version which qualifies for
> "older", may be what RHEL5 supports?), if we plan to support gnome-keyring
> version 2.22 and above then we can implement things in a smarter way which I ve
> attempted in the patch attached (not yet ready to commit, because we can remove
> more code in 'subversion/libsvn_auth_gnome_keyring/gnome_keyring.c', by
> supporting keyring >2.22).
>
> If everyone is ok with depending on gnome-keyring 2.22 and above, then I can
> come up with more pleasing implementation. There is no trade off here because
> most of the distros like Debian/Ubuntu/Fedora/Gentoo? etc already have latest
> gnome-keyring libraries except for CentOS/RHEL.

You can check availability of specific functions during running `configure`
and use them only if they are available.

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2009-04-30 21:57:43 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.