~abompard/mailman/bug-1312884

« back to all changes in this revision

Viewing changes to src/mailman/config/configure.zcml

  • 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:
40
40
    factory="mailman.model.requests.ListRequests"
41
41
    />
42
42
 
43
 
  <adapter
44
 
    for="mailman.interfaces.database.IDatabase"
45
 
    provides="mailman.interfaces.database.ITemporaryDatabase"
46
 
    factory="mailman.database.sqlite.make_temporary"
47
 
    name="sqlite"
48
 
    />
49
 
 
50
 
  <adapter
51
 
    for="mailman.interfaces.database.IDatabase"
52
 
    provides="mailman.interfaces.database.ITemporaryDatabase"
53
 
    factory="mailman.database.postgresql.make_temporary"
54
 
    name="postgres"
55
 
    />
56
 
 
57
43
  <utility
58
44
    provides="mailman.interfaces.bounce.IBounceProcessor"
59
45
    factory="mailman.model.bounce.BounceProcessor"
72
58
    />
73
59
 
74
60
  <utility
75
 
    provides="mailman.interfaces.database.IDatabaseFactory"
76
 
    factory="mailman.database.factory.DatabaseTemporaryFactory"
77
 
    name="temporary"
78
 
    />
79
 
 
80
 
  <utility
81
61
    provides="mailman.interfaces.domain.IDomainManager"
82
62
    factory="mailman.model.domain.DomainManager"
83
63
    />