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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
|
-- Copyright 2009 Canonical Ltd. This software is licensed under the
-- GNU Affero General Public License version 3 (see the file LICENSE).
-- Autotest distrorelease
INSERT INTO Distrorelease (name, title, description, distribution, version,
summary, datereleased, releasestatus, parentrelease,
owner, displayname)
VALUES ('breezy-autotest', 'Breezy Badger Autotest',
'Autotest version of Breezy',
(SELECT id FROM Distribution WHERE name = 'ubuntu'),
'6.6.6', 'Autosync uploader test',
'2005-12-01 10:00:00', 1,
(SELECT id FROM Distrorelease WHERE name = 'warty'),
(SELECT id FROM Person WHERE name = 'mark'),
'Breezy Badger Autotest');
-- distroarchrelease for i386
INSERT INTO Distroarchrelease (distrorelease, processorfamily,
architecturetag, owner, official)
VALUES (
(SELECT id FROM Distrorelease WHERE name = 'breezy-autotest'),
(SELECT id FROM ProcessorFamily WHERE name = 'x86')
'i386',
(SELECT id FROM Person WHERE name = 'mark'),
true);
-- section selection
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'admin'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'base'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'comm'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'debian-installer'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'devel'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'doc'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'editors'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'games'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'gnome'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'graphics'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'interpreters'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'kde'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'libdevel'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'libs'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'mail'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'math'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'misc'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'net'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'news'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'oldlibs'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'otherosfs'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'perl'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'python'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'shells'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'sound'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'tex'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'text'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'utils'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'web'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'x11'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'electronics'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'embedded'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'hamradio'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'science'));
INSERT INTO SectionSelection (distrorelease, section)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Section where name = 'translations'));
-- component selection
INSERT INTO ComponentSelection (distrorelease, component)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Component where name = 'main'));
INSERT INTO ComponentSelection (distrorelease, component)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Component where name = 'restricted'));
INSERT INTO ComponentSelection (distrorelease, component)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Component where name = 'universe'));
INSERT INTO ComponentSelection (distrorelease, component)
VALUES(
(SELECT id from distrorelease where name='breezy-autotest'),
(SELECT id from Component where name = 'multiverse'));
-- Grant upload permission for 'Uploader-Test Team' members
INSERT INTO DistroComponentUploader (distribution, component, uploader)
VALUES ((SELECT id from Distribution where name = 'ubuntu') ,
(SELECT id from Component where name = 'main'),
(SELECT id from Person where name = 'ubuntu-team'));
INSERT INTO DistroComponentUploader (distribution, component, uploader)
VALUES ((SELECT id from Distribution where name = 'ubuntu'),
(SELECT id from Component where name = 'restricted'),
(SELECT id from Person where name = 'ubuntu-team'));
INSERT INTO DistroComponentUploader (distribution, component, uploader)
VALUES ((SELECT id from Distribution where name = 'ubuntu'),
(SELECT id from Component where name = 'universe'),
(SELECT id from Person where name = 'ubuntu-team'));
INSERT INTO DistroComponentUploader (distribution, component, uploader)
VALUES ((SELECT id from Distribution where name = 'ubuntu'),
(SELECT id from Component where name = 'multiverse'),
(SELECT id from Person where name = 'ubuntu-team'));
-- Lucille Config for Ubuntu distribution
UPDATE distribution set lucilleconfig = '[publishing]
pendingremovalduration=5
root=/var/tmp/archive
archiveroot=/var/tmp/archive/ubuntu
poolroot=/var/tmp/archive/ubuntu/pool
distsroot=/var/tmp/archive/ubuntu/dists
overrideroot=/var/tmp/archive/ubuntu-overrides
cacheroot=/var/tmp/archive/ubuntu-cache
miscroot=/var/tmp/archive/ubuntu-misc
' WHERE name = 'ubuntu';
-- Lucille Config for Ubuntu Distroreleases
UPDATE distrorelease set lucilleconfig = '[publishing]
components = main restricted universe multiverse
' WHERE name = 'breezy-autotest';
UPDATE distrorelease set lucilleconfig = '[publishing]
components = main restricted universe multiverse
' WHERE name = 'warty';
UPDATE distrorelease set lucilleconfig = '[publishing]
components = main restricted universe multiverse
' WHERE name = 'hoary';
UPDATE distrorelease set lucilleconfig = '[publishing]
components = main restricted universe multiverse
' WHERE name = 'grumpy';
|