You are here: Home Articles You've got break a few eggs
OpenID Log in


You've got break a few eggs

by Martin Aspeli last modified Mar 16, 2008 07:56 PM

... to easily grep your packages

My favourite buildout recipe of the week is David Glick's collective.recipe.omelette. This symlinks all your eggs together in a single directory structure so that it's easy to browse and grep the source code that's being used by Zope. The resulting directory structure isn't actually used at runtime (unless you choose to do something clever with it), but it's a very useful development tool.

Here's how I use it in a standard Plone 3 buildout:

parts =


recipe = collective.recipe.omelette
eggs = ${instance:eggs}

After re-running ./bin/buildout, you should see a bunch of symlinks in parts/omelette in the buildout. Pretty cool!

No reports yet on whether this works on Windows. If anyone can test, please let us know!

Document Actions

And there was much rejoicing

Posted by at Mar 17, 2008 05:36 AM
I added it last week to a project's buildout and showed it to my colleagues. Everybody was enthousiastic. David has done a good job thinking this up!

Awesome recipe!

Posted by at Mar 22, 2008 12:52 AM
Thanks for the tip. /me goes to start cooking...
Plone Book
Professional Plone 4 Development

I am the author of a book called Professional Plone Development. You can read more about it here.

About this site

This Plone site is kindly hosted by: 

Six Feet Up