Add 'extensions' directive in zope.conf

Bug #143232 reported by Rodrigo Senra
2
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Wishlist
Tres Seaver

Bug Description

This patch adds the directive 'extensions' to zope.conf. If overriden in zope.conf, then the specified directory will be used for ExternalMethods instead of the default $INSTANCE/Extensions.

This was discussed in the zope users list under the subject 'Give 'Extensions' a configurable directory in zope.conf'.

The changes so far relative to svn truck are:

   * /lib/python/Products/ExternalMethod/help/ExternalMethod.py

     - docstring comment

   * /lib/python/Products/ExternalMethod/ExternalMethod.py

     - little typos (not related, but since I was there <wink>)
     - docstring comment

   * /etc/zope.conf

     - new directive 'extensions', comments and example

   * /lib/python/Zope/Startup/zopeschema.xml

     - new directive 'extensions' (type key)

   * /lib/python/App/Extensions.py

     - in getPath() check if directive 'extensions' is overriden in zope.conf,
       and use it instead.

Revision history for this message
Rodrigo Senra (rsenra) wrote :
Revision history for this message
Rodrigo Senra (rsenra) wrote :

This is supposed to be considered for Zope 2.8.

Another collector entry was filed under http://collector.zope.org/ColDev/118

If that was a mistake, and you know how to correct it please do so.
<wink>

Changed in zope2:
importance: Low → Wishlist
Revision history for this message
Tres Seaver (tseaver) wrote :

Feature now committed on the trunk. Thanks for the patch!

Changed in zope2:
assignee: nobody → Tres Seaver (tseaver)
status: New → Fix Committed
milestone: none → 2.13.0
Changed in zope2:
status: Fix Committed → Fix Released
Revision history for this message
Rodrigo Senra (rsenra) wrote :

Thank you people, glad to see the patch made it through.
cheers,
Rod Senra

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.