I'm probably looking at this via Plone glasses, but.... I think var/* is safer since buildout is wired only to "zap" stuff in parts/*. The fact that there are circumstances when buildout deletes items in parts/* and no such circumstances when it does this to items in var/* is a good reason to consider placing Data.fs in var/*.<br>
<br>This is a well know pattern in the Plone buildout world (if that counts for anything). <br><br><div class="gmail_quote">On Mon, Jan 12, 2009 at 12:39 PM, Wichert Akkerman <span dir="ltr"><<a href="mailto:wichert@wiggy.net" target="_blank">wichert@wiggy.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Previously Martijn Faassen wrote:<br>
> Reinout van Rees wrote:<br>
> > Well, what every buildout guideline on <a href="http://plone.org" target="_blank">plone.org</a> seems to mention is:<br>
> ><br>
> > * Stuff in parts/* can and will be zapped into oblivion by buildout.<br>
> ><br>
> > * Stuff in var/* is safe.<br>
><br>
> > I cannot actually find it on buildout's pypi page, but I've always<br>
> > treated it as a rule of thumb. I could of course be something build into<br>
> > several zope2-ish recipes.<br>
><br>
> I think that's the case. I've seen it before myself and I've been using<br>
> buildout in a Zope 3 context for many years now.<br>
><br>
> buildout doesn't zap parts into oblivion willy-nilly, it only zaps them<br>
> when there's an actual need (messing around with the [data] section will<br>
> do it, I suspect).<br>
<br>
</div>Which includes:<br>
<br>
- moving your buildout to a different path on the filesystem and<br>
rerunning buildout<br>
- changing the configuration for the part<br>
<br>
both of these will make buildout delete data in parts/ and ask the<br>
recipe to recreate it.<br>
<br>
Wichert.<br>
<font color="#888888">--<br>
Wichert Akkerman <<a href="mailto:wichert@wiggy.net" target="_blank">wichert@wiggy.net</a>> It is simple to make things.<br>
<a href="http://www.wiggy.net/" target="_blank">http://www.wiggy.net/</a> It is hard to make things simple.<br>
</font><div><div></div><div>_______________________________________________<br>
Grok-dev mailing list<br>
<a href="mailto:Grok-dev@zope.org" target="_blank">Grok-dev@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/grok-dev" target="_blank">http://mail.zope.org/mailman/listinfo/grok-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>SplashStart - Professional Websites. Starting Now.<br><a href="http://www.splashstart.com" target="_blank">http://www.splashstart.com</a><br><br>