Tres Seaver
2008-05-03 419946c2ad8cd0699b9ac56aa38ad0551980dce3
refs
author Tres Seaver <tseaver@agendaless.com>
Saturday, May 3, 2008 19:12 +0200
committer Tres Seaver <tseaver@agendaless.com>
Saturday, May 3, 2008 19:12 +0200
commit419946c2ad8cd0699b9ac56aa38ad0551980dce3
tree ebb9cd4ca729dea7ff550df467781739e1ea0358 tree | zip | gz
parent 779caf30b8e384026869e6e0aad8aec00b80fb41 view | diff
Added ConfigParser-based WhoConfig, implementing the spec outlined at
http://www.plope.com/static/misc/sphinxtest/intro.html#middleware-configuration-via-config-file, with the following changes:

o "Bare" plugins (requiring no configuration options) may be specified
as either egg entry points (e.g., 'egg:distname#entry_point_name') or
as dotted-path-with-colon (e.g., 'dotted.name:object_id').

o Therefore, the separator between a plugin and its classifier is
now a semicolon, rather than a colon. E.g.:

[plugins:id_plugin]
use = egg:another.package#identify_with_frobnatz
frobnatz = baz

[identifiers]
plugins =
egg:my.egg#identify;browser
dotted.name:identifier
id_plugin

1 files added
2 files modified
378 ■■■■■ changed files
CHANGES.txt 22 ●●●●● diff | view | raw | blame | history
repoze/who/config.py 90 ●●●●● diff | view | raw | blame | history
repoze/who/tests.py 266 ●●●●● diff | view | raw | blame | history