574 Commits

Author SHA1 Message Date
benoitc
b23b64badf bump version 2010-05-25 19:25:41 -04:00
benoitc
767dc16544 remove -d option and update doc. 2010-05-25 19:25:25 -04:00
Paul J. Davis
2f1c9177aa Allow for pidfiles in $CWD 2010-05-25 19:24:03 -04:00
benoitc
db1c70a44e fix issue #59. 2010-05-25 19:23:42 -04:00
Paul J. Davis
ce5527d682 Allow string values to be None. 2010-05-25 11:44:33 -04:00
Paul J. Davis
38a1448a9c Update generated HTML. 2010-05-24 19:08:35 -04:00
Paul J. Davis
79d3688aba Minor nit with header underlines. 2010-05-24 19:08:17 -04:00
Paul J. Davis
6a105487cf Fix forced builds. 2010-05-24 19:07:13 -04:00
benoitc
cfee2d480f sync 2010-05-24 09:09:53 +02:00
benoitc
954fcae167 bump to 0.9.0, prepare release. 2010-05-24 09:08:42 +02:00
Paul J. Davis
7a4aa51703 Improve error message for bad config parameters. 2010-05-23 20:33:13 -04:00
benoitc
aee54903a6 add memory watch example 2010-05-23 00:45:31 +02:00
benoitc
4005614ced when_ready hook. Called just after the server is started 2010-05-23 00:45:31 +02:00
benoitc
f8fac58d73 some fixes discovered with pyflakes 2010-05-23 00:44:53 +02:00
benoitc
9e203e0637 missing import 2010-05-23 00:37:40 +02:00
benoitc
30d57aa782 update doc 2010-05-22 21:26:28 +02:00
benoitc
7629575d8d handle preload in django command 2010-05-22 21:18:40 +02:00
benoitc
62540cffaa commit changes from @davisp + some fixes 2010-05-22 21:11:25 +02:00
benoitc
f7c91e7e86 load after forking 2010-05-22 20:07:08 +02:00
benoitc
776b158683 add preload_app setting 2010-05-22 19:53:02 +02:00
Paul J. Davis
b59b1948a3 Forgot another license header. 2010-05-22 12:57:59 -04:00
benoitc
dd620a5788 add missing license header 2010-05-22 11:59:41 +02:00
benoitc
4ed9eb1e10 update doc 2010-05-22 11:35:52 +02:00
benoitc
70d1d7e99a don't print this debug message 2010-05-22 11:03:59 +02:00
Benoit Chesneau
17a989672d allows Usage=None 2010-05-22 06:14:13 +02:00
Paul J. Davis
2f676fd19d Ignore .coverage file. 2010-05-21 22:54:56 -04:00
Paul J. Davis
6ffbe54734 Added unit tests for new Config code. 2010-05-21 22:54:22 -04:00
Benoit Chesneau
f738d82bb7 self. 2010-05-19 23:22:36 +02:00
Benoit Chesneau
fd3a5b6dcb import from __future__ for py25. 2010-05-19 13:40:13 -04:00
Benoit Chesneau
6fbed7ba5b iteritems is deprececated or doesn't exist in future versions of
python3. Instead use list(somedict.items()).
2010-05-19 13:39:39 -04:00
Benoit Chesneau
d46dfad91f fix paster application 2010-05-19 13:39:39 -04:00
Benoit Chesneau
cdffaeff16 fix django run 2010-05-19 13:39:39 -04:00
Benoit Chesneau
b99355e0a7 some fixes in DjangoApplication 2010-05-19 13:39:38 -04:00
Paul J. Davis
2c73a41ab7 Load wsgi apps after reading the configuration. 2010-05-19 13:39:38 -04:00
Paul J. Davis
793323789d Changing setting definitions from INI to Py
Settings are now enumerated in config.py
2010-05-19 13:39:38 -04:00
Paul J. Davis
36f1bc9748 Fixed a typo when setting config parameters. 2010-05-19 13:39:38 -04:00
Benoit Chesneau
c01123eb06 adapt django command to new config stuff. 2010-05-19 13:39:37 -04:00
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
Paul J. Davis
5268b8fbbb Create an application abstraction.
Groundwork for providing a post-fork app import option.
Fixes paster's ini not being able to register changes.
2010-05-19 13:39:10 -04:00
Paul J. Davis
63e39e1232 Slight grammar tweak. 2010-05-19 13:34:42 -04:00
Benoit Chesneau
fdf8169a2c fix issue #57 and make sure target dir of pidfile exists. 2010-05-19 19:29:51 +02:00
Benoit Chesneau
ed17054137 fix issue #55. Thanks! 2010-05-17 16:31:25 +02:00
Benoit Chesneau
21db2dd048 update news for 0.9-dev 2010-05-17 06:53:16 +02:00
Benoit Chesneau
71587482a3 0.9.0-dev version . 2010-05-17 06:51:55 +02:00
Benoit Chesneau
a4f850cd73 fix reexec 2010-05-17 05:38:03 +02:00
Benoit Chesneau
c35fe1f472 bump 0.8.2 2010-05-16 21:25:09 +02:00
Paul J. Davis
1a03c3f36e Bug preventing HUP completion.
Just a bit of cruft from the pidfile updates.
2010-05-16 14:02:55 -04:00
Benoit Chesneau
a52a6fda17 revert previous commit ... 2010-05-13 19:29:17 +02:00
Benoit Chesneau
a776057a45 sync 2010-05-13 19:25:04 +02:00
Benoit Chesneau
c6d9f9ab7c fix paster usage 2010-05-13 19:21:38 +02:00