New Cows

Thoughts, ideas and moohoo

Entries tagged “zope3”

megrok.strictrequire

written by jw, on 6/22/09 3:53 PM.

After about a year, we finally found some time at work to factor out "strict require" functionality for Grok applications from our internal code base. It's called megrok.strictrequire.

When using this package, all views that are registered in your Grok based application, are required to have an explicit grok.require directive set in the view component. This provides a first safety net for unknowingly opening up views in your application.

Grok 1.0a4 release.

written by jw, on 5/21/09 11:07 PM.

Just released the fourth alpha version of Grok. We're slightly overdue for a real "one dot oh" release, but there're some nasty issue that really should be solved before. This release in particular was triggered by an accidental indirect dependency on zope.container brought in by grokcore.view. Since the version for zope.container was not pinned, it could pull in newer versions. And unfortunately there was a recent release that would break Grok…

This is fixed now by getting rid of this dependency and "going back" to a dependency on zope.app.container.

Anyway, the release process is well documented by now and, even though it takes some time for the procedure to complete, it is not very complicated.

Hopefully this release solves more problems than it'll cause :)