Re: Recursive search of dependencies in z3c.autoinclude

Cykooz <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
2011/4/13 Ethan Jucovy <[email protected]>:
> Does ignore="" work on namespaces, or exact package names?  What would
> happen if you did ignore="zope" instead?

Exact package names. But this good idea about namespaces. I release it later.

>> TODO:
>> * Add ability for create "autoconfigure.zcml" file for decrease startup
>> time.
> You mean, a static ZCML file that contains all the <include> directives that
> z3c.autoinclude auto-includes, in the right order?  This is very cool --
> I've always wanted to do this but never gotten around to it.

I did this in the latest version. See repository
https://bitbucket.org/cykooz/z3c.autoinclude
Example:
<includeDependencies
   package="."
   recursive="True"
   ignore="zope.app.zcmlfiles ice.control"
   cachefile="auto_configure.zcml"
/>
<includeDependenciesOverrides
   package="."
   recursive="True"
   ignore="zope.app.zcmlfiles ice.control"
   cachefile="auto_overrides.zcml"
/>

Later I'll write code to verify the need to update the cache.

> The version number in CHANGES.txt and setup.py should be changed to 0.4.0,
> not 0.3.5 -- these are all new features.

Ok. I do this.

> Do you have commit rights to merge these?

No, I do not have commit rights.
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.