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

 

You've got break a few eggs

by Martin Aspeli last modified Mar 16, 2008 06: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:

[buildout]
parts =
    ...
    omelette

...

[omelette]
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 http://reinout.myopenid.com/ at Mar 17, 2008 04: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 http://claytron.myopenid.com/ at Mar 21, 2008 11:52 PM
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