New Cows

Thoughts, ideas and moohoo

Archive for November 2009

Omnifocus, syncing over WebDAV

written by jw, on 11/30/09 8:12 PM.

Today I decided to just cough up the $79 for an Omnifocus license. I'm trying to be bit more serious about a "kind of" GTD aproach to, well, getting done the things I want to get done.

Since I also bought the Omnifocus iPhone app and since I wanted to use Omnifocus on my work computer, some way of syncing the data between these locations was a requirement. Luckily Omnifocus is fairly flexible in this regard.

It can synchronize over MobileMe, local networks using Bonjour, shared disks or over WebDAV. WebDAV was the only viable solution for me, however my little server's HTTP daemon does not support WebDAV itself. It is able to reverse proxy to a local WebDAV daemon. And I found pywebdav to do exactly what I need: serve a directory over WebDAV.

With a short buildout.cfg file I had a server up and running in almost no time:

[buildout]
parts = config server start stop

[config]
recipe = z3c.recipe.template
directory = ${buildout:directory}/var
host = localhost
input = etc/config.ini.in
log = ${buildout:directory}/log
output = ${buildout:directory}/parts/config.ini
password = secret
port = 1234
username = foobar

[server]
recipe = zc.recipe.egg
interpreter = python
eggs = pywebdav

[start]
recipe = collective.recipe.scriptgen
cmd = ${buildout:bin-directory}/davserver
arguments = -c ${config:output}

[stop]
recipe = collective.recipe.scriptgen
cmd = ${buildout:bin-directory}/davserver
arguments = -c ${config:output} -d stop

Grok-1.1a1 released!

written by jw, on 11/17/09 10:14 PM.

I just completed the first alpha release of what will be Grok-1.1!

From the releasenotes:

The Grok development team is very happy to release
Grok 1.1a1!

This is a preview of the 1.1 release that will be
based on the Zope ToolKit (ZTK). The ZTK will bring
a significant number of newer versions of the
libraries that Grok is built on.

The ZTK will not only make available newer features
and bugfixes in toolkit libraries, but also a less
complex dependency structure of these libraries
encouraging more reuse.

This release is not installed by default when using grokproject. It is an early alpha release, so that we can start testing our applications built with.

Most probably we will find issues and bugs in this release. Hopefully we can quickly move forward fixing issue towards a second alpha, or maybe even beta!

Personally I'd like to especially thank Michael and Souheil for working very enthusiastically on getting ZTK support in Grok!

ME GROK GROKS ZTK!

zc.buildout recipes...

written by jw, on 11/10/09 8:33 PM.

Recently Martijn Faassen blogged about Python packaging and related tools. There he mentions zc.buildout too. Of course - zc.buildout is great!

As Martijn points out, part of its greatness lies the fact the buildout uses recipes for extending its functionality.

Just look at the list of recipes already available!

http://pypi.python.org/pypi?%3Aaction=search&term=buildout+recipe&submit=search

(granted not everything in that list is a recipe persé, but there are many anyway!)