Chris McDonough
2008-08-18 e35dc1a58a4e91977dc9819c80259f09800a0b58
refs
author Chris McDonough <chrism@agendaless.com>
Monday, August 18, 2008 06:06 +0200
committer Chris McDonough <chrism@agendaless.com>
Monday, August 18, 2008 06:06 +0200
commite35dc1a58a4e91977dc9819c80259f09800a0b58
tree e90fea96be6f491becd5399f177057f1feeadf68 tree | zip | gz
parent 0235914a7c520e20dafcfc251237deddedaf3d80 view | diff
  - Generated application differences: ``make_app`` entry point
renamed to ``app`` in order to have a different name than the bfg
function of the same name, to prevent confusion.

- Add "options" processing to bfg's ``make_app`` to support runtime
options. A new API function named ``get_options`` was added to
the registry module. This function is typically used in an
application's ``app`` entry point. The Paste config file section
for the app can now supply the ``reload_templates`` option, which,
if true, will prevent the need to restart the appserver in order
for ``z3c.pt`` or XSLT template changes to be detected.

- Use only the module name in generated project's "test_suite" (run
all tests found in the package).

- Default port for generated apps changed from 5432 to 6543
(Postgres default port is 6543).


18 files modified
295 ■■■■ changed files
CHANGES.txt 21 ●●●● diff | view | raw | blame | history
docs/narr/myproject/myproject.ini 3 ●●●● diff | view | raw | blame | history
docs/narr/myproject/myproject/configure.zcml 4 ●●●● diff | view | raw | blame | history
docs/narr/myproject/myproject/run.py 12 ●●●● diff | view | raw | blame | history
docs/narr/myproject/setup.py 4 ●●●● diff | view | raw | blame | history
docs/narr/project.rst 95 ●●●● diff | view | raw | blame | history
repoze/bfg/__init__.py 1 ●●●● diff | view | raw | blame | history
repoze/bfg/meta.zcml 6 ●●●●● diff | view | raw | blame | history
repoze/bfg/paster_template/+package+.ini_tmpl 5 ●●●●● diff | view | raw | blame | history
repoze/bfg/paster_template/+package+/run.py_tmpl 12 ●●●● diff | view | raw | blame | history
repoze/bfg/paster_template/setup.py_tmpl 4 ●●●● diff | view | raw | blame | history
repoze/bfg/registry.py 24 ●●●●● diff | view | raw | blame | history
repoze/bfg/router.py 19 ●●●●● diff | view | raw | blame | history
repoze/bfg/sampleapp/configure.zcml 3 ●●●●● diff | view | raw | blame | history
repoze/bfg/sampleapp/run.py 2 ●●● diff | view | raw | blame | history
repoze/bfg/tests/test_registry.py 22 ●●●●● diff | view | raw | blame | history
repoze/bfg/tests/test_zcml.py 31 ●●●●● diff | view | raw | blame | history
repoze/bfg/zcml.py 27 ●●●●● diff | view | raw | blame | history