~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to configs/README.txt

  • Committer: Curtis Hovey
  • Date: 2011-12-29 05:29:36 UTC
  • mto: This revision was merged to the branch mainline in revision 14606.
  • Revision ID: curtis.hovey@canonical.com-20111229052936-c261pibg1p6ze6m4
Moved canonical.config to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
The CanonicalConfig singleton is exposed as config in its module.
70
70
 
71
 
    from canonical.config import config
 
71
    from lp.services.config import config
72
72
 
73
73
The config can be accessed as a dictionary...
74
74
 
86
86
    >>> config.librarian.download_port
87
87
    58000
88
88
 
89
 
You can learn more about canonical.config in the doctest located at
 
89
You can learn more about lp.services.config in the doctest located at
90
90
 
91
91
    lib/canonical/launchpad/doc/canonical-config.txt
92
92
 
128
128
== lazr.conf schema and confs ==
129
129
 
130
130
All Launchpad configs inherit from the Launchpad schema defined
131
 
in ../lib/canonical/config/schema-lazr.conf (it is symlinked
 
131
in ../lib/lp/services/config/schema-lazr.conf (it is symlinked
132
132
as ./schema-lazr.conf for convenience).
133
133
 
134
134
lazr.config conf and schema files look like ini-based conf files, but
273
273
The lazr configurations in this directory descend from the
274
274
Launchpad schema. This is a general outline of inheritance:
275
275
 
276
 
    ../lib/canonical/config/schema-lazr.conf
 
276
    ../lib/lp/services/config/schema-lazr.conf
277
277
        |
278
278
        + development/launchpad-lazr.conf
279
279
        |    |
354
354
    # This configuration derives from:
355
355
    #     ./configs/production/launchpad-lazr.conf
356
356
    #     ./configs/lpnet-lazr.conf
357
 
    #     ./lib/canonical/config/schema-lazr.conf
 
357
    #     ./lib/lp/services/config/schema-lazr.conf
358
358
 
359
359
    [answertracker]
360
 
    # Defined in: lib/canonical/config/schema-lazr.conf
 
360
    # Defined in: lib/lp/services/config/schema-lazr.conf
361
361
    days_before_expiration: 15
362
362
 
363
 
    # Defined in: lib/canonical/config/schema-lazr.conf
 
363
    # Defined in: lib/lp/services/config/schema-lazr.conf
364
364
    dbuser: answertracker
365
365
 
366
 
    # Defined in: lib/canonical/config/schema-lazr.conf
 
366
    # Defined in: lib/lp/services/config/schema-lazr.conf
367
367
    email_domain: answers.launchpad.net
368
368