[Checkins] SVN: zc.recipe.deployment/trunk/src/zc/recipe/deployment/paths.txt - mention deprecation of etc, log, and run in the note at the top
Fred Drake
cvs-admin at zope.org
Thu Mar 21 14:51:28 UTC 2013
Log message for revision 130147:
- mention deprecation of etc, log, and run in the note at the top
- point out the deprecation warnings where they first appear in the examples
Changed:
U zc.recipe.deployment/trunk/src/zc/recipe/deployment/paths.txt
-=-
Modified: zc.recipe.deployment/trunk/src/zc/recipe/deployment/paths.txt
===================================================================
--- zc.recipe.deployment/trunk/src/zc/recipe/deployment/paths.txt 2013-03-21 14:22:35 UTC (rev 130146)
+++ zc.recipe.deployment/trunk/src/zc/recipe/deployment/paths.txt 2013-03-21 14:51:28 UTC (rev 130147)
@@ -8,6 +8,7 @@
settings ``etc``, ``log``, and ``run``. This is done to ensure we
don't break existing uses that do not use the newer ``etc-prefix``
and ``var-prefix`` settings, but the later are recommended.
+ The ``etc``, ``log``, and ``run`` settings are deprecated.
>>> import logging
>>> import pprint
@@ -92,7 +93,8 @@
The ``etc``, ``log`` and ``run`` settings cause the "roots" of the
corresponding directories to be placed in the specified locations; the
-deployment-specific directory is still used:
+deployment-specific directory is still used. Note that these are
+deprecated settings and cause warnings to be issued:
>>> compute({"etc": "/antsy",
... "log": "/log/someplace",
More information about the checkins
mailing list