<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>toxicsoftware.com - Latest Comments in Making Mercurial use the Mac OS X Keychain</title><link>http://toxicsoftware.disqus.com/</link><description></description><atom:link href="https://toxicsoftware.disqus.com/making_mercurial_use_the_mac_os_x_keychain/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 02 Aug 2009 14:25:58 -0000</lastBuildDate><item><title>Re: Making Mercurial use the Mac OS X Keychain</title><link>http://toxicsoftware.com/hgkeychain.html#comment-13813786</link><description>&lt;p&gt;Thank you. I find it extremely useful. &lt;br&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Mikhalev</dc:creator><pubDate>Sun, 02 Aug 2009 14:25:58 -0000</pubDate></item><item><title>Re: Making Mercurial use the Mac OS X Keychain</title><link>http://toxicsoftware.com/hgkeychain.html#comment-8775329</link><description>&lt;p&gt;Three things: &lt;a href="http://www.bitbucket.org" rel="nofollow noopener" target="_blank" title="www.bitbucket.org"&gt;www.bitbucket.org&lt;/a&gt; causes a certificate problem because of the "www" subdomain.&lt;/p&gt;&lt;p&gt;Pure python keychain access: &lt;a href="http://muffinresearch.co.uk/archives/2008/02/05/python-keychainpy-access-to-the-mac-osx-keychain/" rel="nofollow noopener" target="_blank" title="http://muffinresearch.co.uk/archives/2008/02/05/python-keychainpy-access-to-the-mac-osx-keychain/"&gt;http://muffinresearch.co.uk...&lt;/a&gt; has a module for keychain access, without a .so required.Maybe this is interesting for you.&lt;/p&gt;&lt;p&gt;Python conventions: Your code looks quite Ruby-like, you can monkey-patch (if you must) in a small scale without that __metaclass__ voodoo, by simply defining a method outside the class and assigning it:&lt;/p&gt;&lt;p&gt;&amp;gt;&amp;gt;&amp;gt; class Foo(object):&lt;br&gt;...  def bar(self):&lt;br&gt;...    print "FooBar"&lt;br&gt;...&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _baseFooBar = &lt;a href="http://Foo.bar" rel="nofollow noopener" target="_blank" title="Foo.bar"&gt;Foo.bar&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; def newBar(self):&lt;br&gt;...   print "NewBar"&lt;br&gt;...   _baseFooBar(self)&lt;br&gt;...&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href="http://Foo.bar" rel="nofollow noopener" target="_blank" title="Foo.bar"&gt;Foo.bar&lt;/a&gt; = newBar&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Foo().bar()&lt;br&gt;NewBar&lt;br&gt;FooBar&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas</dc:creator><pubDate>Tue, 28 Apr 2009 10:31:13 -0000</pubDate></item><item><title>Re: Making Mercurial use the Mac OS X Keychain</title><link>http://toxicsoftware.com/hgkeychain.html#comment-1656106</link><description>&lt;p&gt;@TeemuAP, yeah that might be interesting. The guys at turbogears do the same for their built-in server. I think they do it just by spawning the "dns-sd" tool. That should be relatively easy I'd imagine. Of course that would be Mac OS X only (again).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">schwa</dc:creator><pubDate>Thu, 14 Feb 2008 10:44:43 -0000</pubDate></item><item><title>Re: Making Mercurial use the Mac OS X Keychain</title><link>http://toxicsoftware.com/hgkeychain.html#comment-1656105</link><description>&lt;p&gt;One thing I toyed around with: adding bonjour to 'hg serve'. That way guys around the table can find and access each other's repos without bothering with IPs/ports.&lt;/p&gt;&lt;p&gt;Not knowing python I did not end up with anything publishable, just a ruby wrapper.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">TeemuAP</dc:creator><pubDate>Thu, 14 Feb 2008 05:46:39 -0000</pubDate></item><item><title>Re: Making Mercurial use the Mac OS X Keychain</title><link>http://toxicsoftware.com/hgkeychain.html#comment-1656108</link><description>&lt;p&gt;Giorgos, yeah I would love it to be part of the distribution however:&lt;/p&gt;&lt;p&gt;1 It disables Mercurial's demandimport module. I couldn't get demandimport to work with my imports. And after a quick google I found it easier to disable the module than to fix things. Hopefully an hg expert can help me with this.&lt;/p&gt;&lt;p&gt;2 it uses a Mac OS specific compiled C module.&lt;/p&gt;&lt;p&gt;3 It monkey patches mercurial to override the password manager. I had to do this because I couldn't see how to access the password manager legitimately.&lt;/p&gt;&lt;p&gt;I don't think this extension is suitable to be included with mercurial. But I will look into the idea of creating a patch that will provide this functionality in a less hacky manner.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">schwa</dc:creator><pubDate>Wed, 13 Feb 2008 20:07:06 -0000</pubDate></item><item><title>Re: Making Mercurial use the Mac OS X Keychain</title><link>http://toxicsoftware.com/hgkeychain.html#comment-1656107</link><description>&lt;p&gt;This seems like an extension that would be &lt;em&gt;very&lt;/em&gt; useful to have in the main Mercurial distribution.  Can we hope to lure you into submitting it to `mercurial-devel (at) &lt;a href="http://selenic.com" rel="nofollow noopener" target="_blank" title="selenic.com"&gt;selenic.com&lt;/a&gt;' as a patch?&lt;/p&gt;&lt;p&gt;Cheers,&lt;br&gt;Giorgos&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">keramida</dc:creator><pubDate>Wed, 13 Feb 2008 18:02:08 -0000</pubDate></item></channel></rss>