~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/archivepublisher/tests/publisher-config.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 04:45:35 UTC
  • mfrom: (14565.2.24 apocalyptic-pieces)
  • Revision ID: launchpad@pqm.canonical.com-20111222044535-jbjyzq3hzwiy7g20
[rs=sinzui][no-qa] Move javascript and scripts to lp. Dismantle
 mailnotification.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
= Publisher Configuration Provider =
 
1
Publisher Configuration Provider
 
2
================================
2
3
 
3
4
The config module has a function to provide a modified publisher configuration
4
5
that provides the right paths for its publication according to the given
23
24
    ...         print '%s: %s' % (attr_name, getattr(config, attr_name))
24
25
 
25
26
 
26
 
== Primary ==
 
27
Primary
 
28
-------
27
29
 
28
30
    >>> from lp.registry.interfaces.distribution import IDistributionSet
29
31
    >>> ubuntutest = getUtility(IDistributionSet)['ubuntutest']
43
45
    temproot:        /var/tmp/archive/ubuntutest-temp
44
46
 
45
47
 
46
 
== PPAs ==
 
48
PPAs
 
49
----
47
50
 
48
51
Adjust Celso's PPA to point to a configured distribution and built its
49
52
publisher configuration.
115
118
    temproot:        /var/tmp/archive/ubuntutest-temp
116
119
 
117
120
 
118
 
== Partner ==
 
121
Partner
 
122
-------
119
123
 
120
124
The publisher config for PARTNER contains only 'partner' in its
121
125
components.  This prevents non-partner being published in the partner
139
143
    temproot:        /var/tmp/archive/ubuntutest-temp
140
144
 
141
145
 
142
 
== DEBUG ==
 
146
DEBUG
 
147
-----
143
148
 
144
149
The publisher configuration for DEBUG archives points to directories
145
150
besides PRIMARY repository ones, but the distribution part is
164
169
    temproot:        /var/tmp/archive/ubuntutest-temp
165
170
 
166
171
 
167
 
== COPY ==
 
172
COPY
 
173
----
168
174
 
169
175
In the case of copy archives (used for rebuild testing) the archiveroot
170
176
is of the form distroroot/distroname-archivename/distroname
176
182
    >>> copy_config = getPubConfig(copy_archive)
177
183
 
178
184
    >>> dump_config(copy_config)
179
 
    distroroot:      /var/tmp/archive
180
 
    archiveroot:     /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest
181
 
    poolroot:        /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest/pool
182
 
    distsroot:       /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest/dists
183
 
    overrideroot:    /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest-overrides
184
 
    cacheroot:       /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest-cache
185
 
    miscroot:        /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest-misc
186
 
    germinateroot:   /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest-germinate
187
 
    temproot:        /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest-temp
 
185
    distroroot:    /var/tmp/archive
 
186
    archiveroot:   /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest
 
187
    poolroot:      /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest/pool
 
188
    distsroot:     /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest/dists
 
189
    overrideroot:
 
190
        /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest-overrides
 
191
    cacheroot:     /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest-cache
 
192
    miscroot:      /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest-misc
 
193
    germinateroot:
 
194
        /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest-germinate
 
195
    temproot:      /var/tmp/archive/ubuntutest-rebuildtest99/ubuntutest-temp