[Grok-dev] Todays [version] block?

Wichert Akkerman wichert at wiggy.net
Wed Sep 26 09:33:10 EDT 2007


Previously Baiju M wrote:
> Wichert Akkerman wrote:
> >Previously Baiju M wrote:
> >  
> >>Wichert Akkerman wrote:
> >>    
> >>>Does anyone have the [versions] block for buildout that will get grok
> >>>0.10 running today? On a fresh instance I get this at the moment:
> >>>      
> >>Today, you can use this :)
> >>
> >>zope.app.appsetup = 3.4.0a1
> >>zope.app.error = 3.4.0a1
> >>zope.app.applicationcontrol = 3.4_dev_r73715
> >>zope.app.securitypolicy = 3.4.0a1
> >>    
> >
> >Thanks, that indeed fixes things for me.
> >
> >I wonder if there is a method to make buildout dump a list of currently
> >used versions that you can stick in buildout.cfg..
> >  
> Very easy :
> 
> ./bin/buildout -vvvvv|grep Picked|cut -d : -f 2

A slightly better variant:

  ./bin/buildout -vvvvv|sed -ne 's/^Picked: //p' | sort | uniq

that filters out doubles and uses sed instead of both grep and cut.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Grok-dev mailing list