8 Commits

Author SHA1 Message Date
Paul J. Davis
036f8b50d9 Major refactor of the configuration mechanics.
* All configuration and bootup is handled by the Application objects.

* There is now a strict ordering on the precedence of configuration
settings:

  1. Each option is given a default value of some sort in options.ini

  2. Any detectable framework configuration settings override the hard
     coded defaults for options. Currently, only Paster applications
     have support for this.

  3. Anything that is specified in a Gunicorn configuration file (by
     default gunicorn.conf.py) overrides what was possibly set by a
     framework specific configuration source.

  4. Anything specified on the command line reins supreme. The command
     line is the final authority on a given configuration option.
     Though, not all configuration options are available via command
     line.

* Configuration metadata is pulled from an options.ini. In the future I'll
use this to build the example gunicorn.conf.py and the config.rst file
in docs/site/config.rst.

I haven't tested the differences thoroughly. The next item on my agenda
is to figure out a way to start testing Gunicorn that doesn't make my
eyes bleed.
2010-05-19 13:39:37 -04:00
benoitc
6d747d7701 fix typo spotted by jezdez, thanks! 2010-05-08 14:51:13 +02:00
benoitc
9e26203f45 eventually fix pip error 2010-04-29 10:22:39 +02:00
benoitc
1e71b86946 add .gitignore tot the manifesr 2010-04-29 09:47:22 +02:00
benoitc
5c2112b93b bum release to 0.8.1. (fix __builtins__ bug) 2010-04-29 09:43:21 +02:00
benoitc
95e8dc0ec6 add doc to sources 2010-02-20 22:52:01 +01:00
jbergstroem
4745bc6830 Include tests and examples in sdist 2010-02-10 16:59:23 -05:00
jbergstroem
21db06c7c0 Manifest.in is case sensitive 2010-02-10 16:59:23 -05:00