~abompard/mailman/bug-1312884

« back to all changes in this revision

Viewing changes to src/mailman/config/schema.cfg

  • Committer: Barry Warsaw
  • Date: 2014-11-01 16:49:15 UTC
  • mfrom: (7251.1.38 abhilash)
  • Revision ID: barry@list.org-20141101164915-06wqfmya6wf47n6n
Database
--------
 * The ORM layer, previously implemented with Storm, has been replaced by
   SQLAlchemy, thanks to the fantastic work by Abhilash Raj and Aurélien
   Bompard.  Alembic is now used for all database schema migrations.
 * The new logger `mailman.database` logs any errors at the database layer.

API
---
 * Several changes to the internal API:
   - `IListManager.mailing_lists` is guaranteed to be sorted in List-ID order.
   - `IDomains.mailing_lists` is guaranteed to be sorted in List-ID order.
   - Iteration over domains via the `IDomainManager` is guaranteed to be sorted
     by `IDomain.mail_host` order.
   - `ITemporaryDatabase` interface and all implementations are removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
url: sqlite:///$DATA_DIR/mailman.db
205
205
debug: no
206
206
 
207
 
# The module path to the migrations modules.
208
 
migrations_path: mailman.database.schema
209
 
 
210
207
[logging.template]
211
208
# This defines various log settings.  The options available are:
212
209
#
229
226
# - archiver        --  All archiver output
230
227
# - bounce          --  All bounce processing logs go here
231
228
# - config          --  Configuration issues
 
229
# - database        --  Database logging (SQLAlchemy and Alembic)
232
230
# - debug           --  Only used for development
233
231
# - error           --  All exceptions go to this log
234
232
# - fromusenet      --  Information related to the Usenet to Mailman gateway
255
253
 
256
254
[logging.config]
257
255
 
 
256
[logging.database]
 
257
level: warn
 
258
 
258
259
[logging.debug]
259
260
path: debug.log
260
261
level: info
532
533
# following values.
533
534
 
534
535
# The class implementing the IArchiver interface.
535
 
class: 
 
536
class:
536
537
 
537
538
# Set this to 'yes' to enable the archiver.
538
539
enable: no