Advogato blog for jameshAdvogato blog for jameshPsycopg migrated to Bazaar- April 28, 2008 Last week we moved psycopg from Subversion to Bazaar. I did the migration using Gustavo Niemeyer&8217;s svn2bzr tool with a few tweaks to map the old Subversion committer IDs to the email address form conventionally used by Bazaar. The tool does a good job of following tree copies and create related Bazaar branches. It doesn&8217;t have any special handling for stuff in the tags directory (it produces new branches, as it does for other tree copies). To get real Bazaar tags, I wrote a simple...http://www.advogato.org/person/jamesh/diary.html?start=259 Psycopg2 2.0.7 Released- April 15, 2008 Yesterday Federico released version 2.0.7 of psycopg2 (a Python database adapter for PostgreSQL). I made a fair number of the changes in this release to make it more usable for some of Canonical&8217;s applications. The new release should work with the development version of Storm, and shouldn&8217;t be too difficult to get everything working with other frameworks. Some of the improvements include: Better selection of exceptions based on the SQLSTATE result field. This causes a number of...http://www.advogato.org/person/jamesh/diary.html?start=258 Honey Bock Results- April 10, 2008 Since bottling the honey bock last month, I&8217;ve tried a bottle last week and this week. While it is a very nice beer, the honey flavour is not very noticeable. That said, the second bottle I tried had a slightly stronger honey flavour than the first so it might just need to mature for another month or so. If I was to do this beer again, it would make sense to use a stronger flavoured honey or just use more honey. Then again, perhaps it isn&8217;t worth trying honey flavoured dark...http://www.advogato.org/person/jamesh/diary.html?start=257 Using email addresses as OpenID identities (almost)- April 2, 2008 On the OpenID specs mailing list, there was another discussion about using email addresses as OpenID identifiers. So far it has mostly covered existing ground, but there was one comment that interested me: a report that you can log in to many OpenID RPs by entering a Yahoo email address. Now there certainly isn&8217;t any Yahoo-specific code in the standard OpenID libraries, so you might wonder what is going on here. We can get some idea by using the python-openid library: >>> from..http://www.advogato.org/person/jamesh/diary.html?start=256 Looms Rock- April 1, 2008 While doing a bit of work on Storm, I decided to try out the loom plugin for Bazaar. The loom plugin is designed to help maintain a stack of changes to a base branch (similar to quilt). Some use cases where this sort of tool are useful include: Maintaining a long-running diff to a base branch. Distribution packaging is one such example. While developing a new feature, the underlying code may require some refactoring. A loom could be used to keep the refactoring separate from the feature...http://www.advogato.org/person/jamesh/diary.html?start=255 |