Mercurial > p > roundup > code
comparison doc/developers.txt @ 2605:6e9bd67fefa9
complete transition from HYPERDBDEBUG to new logging
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 21 Jul 2004 00:50:50 +0000 |
| parents | 096063697f77 |
| children | 47766d279878 |
comparison
equal
deleted
inserted
replaced
| 2603:5ccd99777869 | 2605:6e9bd67fefa9 |
|---|---|
| 1 ================== | 1 ================== |
| 2 Developing Roundup | 2 Developing Roundup |
| 3 ================== | 3 ================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.11 $ | 5 :Version: $Revision: 1.12 $ |
| 6 | 6 |
| 7 .. note:: | 7 .. note:: |
| 8 The intended audience of this document is the developers of the core | 8 The intended audience of this document is the developers of the core |
| 9 Roundup code. If you just wish to alter some behaviour of your Roundup | 9 Roundup code. If you just wish to alter some behaviour of your Roundup |
| 10 installation, see `customising roundup`_. | 10 installation, see `customising roundup`_. |
| 104 - run pychecker over changed code | 104 - run pychecker over changed code |
| 105 | 105 |
| 106 The administrators of the project reserve the right to boot developers who | 106 The administrators of the project reserve the right to boot developers who |
| 107 consistently check in code which is either broken or takes the codebase in | 107 consistently check in code which is either broken or takes the codebase in |
| 108 directions that have not been agreed to. | 108 directions that have not been agreed to. |
| 109 | |
| 110 | |
| 111 Debugging Aids | |
| 112 -------------- | |
| 113 | |
| 114 Try turning on logging of DEBUG level messages. This may be done a number | |
| 115 of ways, depending on what it is you're testing: | |
| 116 | |
| 117 1. If you're testing the database unit tests, then set the environment | |
| 118 variable ``LOGGING_LEVEL=DEBUG``. This may be done like so: | |
| 119 | |
| 120 LOGGING_LEVEL=DEBUG python run_tests.py | |
| 121 | |
| 122 This variable replaces the older HYPERDBDEBUG environment var. | |
| 123 | |
| 124 2. If you're testing a particular tracker, then set the logging level in | |
| 125 your tracker's ``config.py``. | |
| 126 | |
| 109 | 127 |
| 110 Internationalization Notes | 128 Internationalization Notes |
| 111 -------------------------- | 129 -------------------------- |
| 112 | 130 |
| 113 How stuff works: | 131 How stuff works: |
