bzr-svn and gnome-keyring...

Jelmer Vernooij jelmer at samba.org
Thu Mar 18 09:16:36 GMT 2010


Hi John,

On Wed, 2010-03-17 at 13:52 -0400, John Szakmeister wrote:
> I thought I saw an email earlier where someone had a similar problem,
> but I can't seem to find it.  In Subversion, I've told it to store my
> password using gnome-keyring.  Using the svn command line client, it
> all works fine.  If, I try to create a local branch with bzr-svn, I
> get a password prompt.  Is there some reason that it's not falling
> back to svn's credential store?  I thought this was an issue last
> year, but it had been resolved (it certainly seems to work if I let it
> store the password in plaintext on the disk).  Thoughts?
We do fall back to Subversions' credential store but not to access the
GNOME keyring to prevent us from trying to use it twice. Using it twice
would potentially mean trying the same password twice as often as
intended, and potentially prompting the user more often than required.

> Also, I can't seem to find this anywhere either, but can bzr use
> gnome-keyring directly?  I got things working with bzr-keychain, but I
> do have to use Linux quite frequently as well.
Yeah, see keyring.py in lp:bzr-gtk. It will only use existing
credentials, it will never add new credentials to the keyring or prompt
you (at the moment).

My guess would be that the format in which Subversion stores credentials
in the keyring is slightly different from how Bazaar does it, so we
don't actually find the credentials that were stored by Subversion
earlier.

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100318/4b59da33/attachment.pgp 


More information about the bazaar mailing list