~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!-- This snippet was taken out of lib/canonical/config/schema.xml.
     It defines the configuration options for the trebuchet xmlrpc server. -->

    <sectiontype name="trebuchet_server">
        <!-- Not 'existing-directory' because the test runner needs to
        create it. Not 'existing-dirpath' because ZConfig will enforce it
        for all sections, not just the one we are using -->
        <key name="root" datatype="string" required="yes" />
        <key name="launch" datatype="boolean" required="no" default="no" />
        <key name="spew" datatype="boolean" required="no" default="no" />
        <key name="logfile" datatype="string" required="no" default="-" />
    </sectiontype>

    <sectiontype name="trebuchet">
        <key name="dbuser" datatype="string" default="trebuchet" />

        <key name="port" datatype="port-number" default="4280">
            <description>
                Port number Trebuchet listens for XML-RPC requests on.
            </description>
        </key>

        <section name="*" type="trebuchet_server" attribute="server"
            required="no" />
    </sectiontype>


<!-- This was take from the sectiontype name="canonical" at the end of the file
     -->

        <section name="*" type="trebuchet" attribute="trebuchet" />