[ZCM] [ZC] 1233/ 4 Assign "ZOPE_CONFIG environment var for app=Zope.app()"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Thu May 13 09:40:30 EDT 2004


Issue #1233 Update (Assign) "ZOPE_CONFIG environment var for app=Zope.app()"
 Status Accepted, Zope/feature+solution medium
To followup, visit:
  http://zope.org/Collectors/Zope/1233

==============================================================
= Assign - Entry #4 by ajung on May 13, 2004 9:40 am

 Status: Pending => Accepted

 Supporters added: ajung

Any objections including this patch for 2.7.1?
________________________________________
= Comment - Entry #3 by lslatr on Feb 17, 2004 11:00 am

I just realized that I snuck in (by accedent) a change to _setConfig that keeps ZopeOptions from parsing sys.argv if the configfile has been specified.  This is a good thing as far as scripts go and I don't _think_ it effects anything else can someone else confirm? It's line Zope/Startup/run.py:46 after patching.
________________________________________
= Comment - Entry #2 by chrisw on Feb 17, 2004 10:47 am

I really like this. What needs to happen to get this into the next 2.7 release?
________________________________________
= Request - Entry #1 by lslatr on Feb 16, 2004 6:06 pm


Uploaded:  "ZOPE_CONFIG.patch"
 - http://zope.org/Collectors/Zope/1233/ZOPE_CONFIG.patch/view
Allow scripts to use the same import Zope; app=Zope.app() dance that they used in 2.6. The zope config file is found using the environment var ZOPE_CONFIG.
==============================================================




More information about the Zope-Collector-Monitor mailing list