~launchpad-pqm/launchpad/devel

1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
1
/*
2
   LAUNCHPAD INITIAL DATA
3
4
this is initial data for launchpad. unlike the sample data, this will be loaded into our production install.
5
6
*/
7
8
-- Person
9
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Mark Shuttleworth', 'Mark', 'Shuttleworth' );       -- 1
10
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Robert Collins', 'Robert', 'Collins' );             -- 2
11
/*
12
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Dave Miller', 'David', 'Miller' );                  -- 2
13
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Colin Watson', 'Colin', 'Watson' );                 -- 3
14
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Scott James Remnant', 'Scott James', 'Remnant' );   -- 4
15
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Jeff Waugh', 'Jeff', 'Waugh' );                     -- 6
16
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Andrew Bennetts', 'Andrew', 'Bennetts' );           -- 7
17
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'James Blackwell', 'James', 'Blackwell' );           -- 8
18
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Christian Reis', 'Christian', 'Reis' );             -- 9
19
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Alexander Limi', 'Alexander', 'Limi' );             -- 10
20
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Steve Alexander', 'Steve', 'Alexander' );           -- 11
21
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Carlos Perelló Marín', 'Carlos', 'Perelló Marín' ); -- 12
22
*/
23
24
---
25
26
---
27
28
-- EmailAddress
29
INSERT INTO EmailAddress ( email, person, status ) VALUES ( 'mark@hbd.com', 1, 2 );
30
INSERT INTO EmailAddress ( email, person, status ) VALUES ( 'robertc@robertcollins.net', 2, 2 );
31
32
/*
33
-- BugSystemType
34
INSERT INTO BugSystemType VALUES ( 1, 'bugzilla', 'BugZilla', 'Dave Miller\'s Labour of Love, the Godfather of Open Source project issue tracking.', 'http://www.bugzilla.org/', 2 );
35
INSERT INTO BugSystemType VALUES ( 2, 'debbugs', 'DebBugs', 'The Debian bug tracking system, ugly as sin but fast and productive as a rabbit in high heels.', 'http://bugs.debian.org/', 3 );
36
INSERT INTO BugSystemType VALUES ( 3, 'roundup', 'Round-Up', 'Python-based open source bug tracking system with an elegant design and reputation for cleanliness and usability.', 'http://www.roundup.org/', 4 );
37
*/
38
39
40
-- Project
41
INSERT INTO Project ( owner, name, displayname, title, shortdesc, description, homepageurl ) VALUES ( 1, 'ubuntu', 'Ubuntu', 'The Ubuntu Project', 'A community Linux distribution building building a slick desktop for the global market.', 'The Ubuntu Project aims to create a freely redistributable OS that is easy to customize and derive from. Ubuntu is released every six months with contributions from a large community. Ubuntu also includes work to unify the translation of common opens source desktop applications and the tracking of bugs across multiple distributions.', 'http://www.no-name-yet.com/' ); -- 1
42
INSERT INTO Project ( owner, name, displayname, title, shortdesc, description, homepageurl ) VALUES ( 2, 'do-not-use-info-imports', 'DO NOT USE', 'DO NOT USE', 'DO NOT USE', 'TEMPORARY project till mirror jobs are assigned to correct project', 'http://arch.ubuntu.com/' ); -- 2
43
INSERT INTO Project ( owner, name, displayname, title, shortdesc, description, homepageurl ) VALUES ( 2, 'launchpad-mirrors', 'Launchpad SCM Mirrors', 'The Launchpad Mirroring Project', 'launchpad mirrors various revision control archives, that mirroring is managed here', 'A project to mirror revision control archives into Arch.', 'http://arch.ubuntu.com/' ); -- 3
44
45
46
47
-- Product
48
INSERT INTO Product ( project, owner, name, displayname, title, shortdesc, description, homepageurl ) VALUES ( 1, 1, 'ubuntu', 'Ubuntu', 'Ubuntu', 'An easy-to-install version of Linux that has a complete set of desktop applications ready to use immediately after installation.', 'Ubuntu is a desktop Linux that you can give your girlfriend to install. Works out of the box with recent Gnome desktop applications configured to make you productive immediately. Ubuntu is updated every six months, comes with security updates for peace of mind, and is avaialble everywhere absolutely free of charge.', 'http://www.ubuntu.com/' );
49
INSERT INTO Product ( project, owner, name, displayname, title, shortdesc, description, homepageurl ) VALUES ( 2, 2, 'unassigned', 'unassigned syncs', 'unassigned syncs', 'syncs still not assigned to a real product', 'unassigned syncs, will not be processed, to be moved to real proejcts ASAP.', 'http://arch.ubuntu.com/' );
50
INSERT INTO Product ( project, owner, name, displayname, title, shortdesc, description, homepageurl ) VALUES ( 3, 2, 'arch-mirrors', 'Arch mirrors', 'Arch archive mirrors', 'Arch Archive Mirroring project.', 'Arch archive full-archive mirror tasks', 'http://arch.ubuntu.com/' );
51
52
/*
53
-- SourcePackage
54
INSERT INTO SourcePackage (maintainer, name, title, description)
55
VALUES ((SELECT id FROM Person WHERE displayname = 'Mark Shuttleworth'),
56
         'mozilla-firefox', 'Ubuntu Mozilla Firefox', 
57
         'text');
58
59
INSERT INTO SourcePackage (maintainer, name, title, description)
60
VALUES ((SELECT id FROM Person WHERE displayname = 'Steve Alexander'),
61
         'mozilla-thunderbird', 'Ubuntu Mozilla Thunderbird', 
62
         'text');
63
64
INSERT INTO SourcePackage (maintainer, name, title, description)
65
VALUES ((SELECT id FROM Person WHERE displayname = 'Andrew Bennetts'),
66
         'python-twisted', 'Python Twisted', 
67
         'text');
68
INSERT INTO SourcePackage (maintainer, name, title, description)
69
VALUES ((SELECT id FROM Person WHERE displayname = 'Dave Miller'),
70
         'bugzilla', 'Bugzilla', 
71
         'text');
72
INSERT INTO SourcePackage (maintainer, name, title, description)
73
VALUES ((SELECT id FROM Person WHERE displayname = 'James Blackwell'),
74
         'arch', 'Arch(TLA)', 
75
         'text');
76
INSERT INTO SourcePackage (maintainer, name, title, description)
77
VALUES ((SELECT id FROM Person WHERE displayname = 'Christian Reis'),
78
         'kiwi2', 'Kiwi2', 
79
         'text');
80
INSERT INTO SourcePackage (maintainer, name, title, description)
81
VALUES ((SELECT id FROM Person WHERE displayname = 'Alexander Limi'),
82
         'plone', 'Plone', 
83
         'text');
84
INSERT INTO SourcePackage (maintainer, name, title, description)
85
VALUES ((SELECT id FROM Person WHERE displayname = 'Jeff Waugh'),
86
        'evolution', 'Evolution', 
87
        'text');
88
89
90
--SourcePackageRelease
91
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
92
                                  version, dateuploaded, urgency)
93
VALUES ((SELECT id FROM SourcePackage WHERE name = 'mozilla-firefox'),
94
 	1,
95
        (SELECT id FROM Person WHERE displayname = 'Mark Shuttleworth'),
96
        '0.9.1-1',
97
        timestamp '2004-06-29 00:00',
98
        1);
99
100
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
101
                                  version, dateuploaded, urgency)
102
VALUES ((SELECT id FROM SourcePackage WHERE name = 'mozilla-thunderbird'),
103
 	1,
104
        (SELECT id FROM Person WHERE displayname = 'Steve Alexander'),
105
        '0.9.1-2',
106
        timestamp '2004-06-30 00:00',
107
        1);
108
109
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
110
                                  version, dateuploaded, urgency)
111
VALUES ((SELECT id FROM SourcePackage WHERE name = 'python-twisted'),
112
 	1,
113
        (SELECT id FROM Person WHERE displayname = 'Andrew Bennetts'),
114
        '0.9.1-3',
115
        timestamp '2004-07-01 00:00',
116
        1);
117
118
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
119
                                  version, dateuploaded, urgency)
120
VALUES ((SELECT id FROM SourcePackage WHERE name = 'bugzilla'),
121
 	1,
122
        (SELECT id FROM Person WHERE displayname = 'Dave Miller'),
123
        '0.9.1-4',
124
        timestamp '2004-07-02 00:00',
125
        1);
126
127
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
128
                                  version, dateuploaded, urgency)
129
VALUES ((SELECT id FROM SourcePackage WHERE name = 'arch'),
130
 	1,
131
        (SELECT id FROM Person WHERE displayname = 'James Blackwell'),
132
        '0.9.1-5',
133
        timestamp '2004-07-03 00:00',
134
        1);
135
136
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
137
                                  version, dateuploaded, urgency)
138
VALUES ((SELECT id FROM SourcePackage WHERE name = 'kiwi2'),
139
 	1,
140
        (SELECT id FROM Person WHERE displayname = 'Christian Reis'),
141
        '0.9.1-6',
142
        timestamp '2004-07-04 00:00',
143
        1);
144
145
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
146
                                  version, dateuploaded, urgency)
147
VALUES ((SELECT id FROM SourcePackage WHERE name = 'plone'),
148
 	1,
149
        (SELECT id FROM Person WHERE displayname = 'Alexander Limi'),
150
        '0.9.1-7',
151
        timestamp '2004-07-05 00:00',
152
        1);
153
154
155
--Manifest
156
INSERT INTO Manifest (datecreated, owner)
157
VALUES (timestamp '2004-06-29 00:00',  
158
 (SELECT id FROM Person WHERE displayname = 'Mark Shuttleworth')
159
 );
160
161
INSERT INTO Manifest (datecreated, owner)
162
VALUES (timestamp '2004-06-30 00:00',  
163
 (SELECT id FROM Person WHERE displayname = 'Steve Alexander')
164
 );
165
166
INSERT INTO Manifest (datecreated, owner)
167
VALUES (timestamp '2004-07-01 00:00',  
168
 (SELECT id FROM Person WHERE displayname = 'Andrew Bennetts')
169
 );
170
171
INSERT INTO Manifest (datecreated, owner)
172
VALUES (timestamp '2004-07-02 00:00',  
173
 (SELECT id FROM Person WHERE displayname = 'Dave Miller')
174
 );
175
176
INSERT INTO Manifest (datecreated, owner)
177
VALUES (timestamp '2004-07-03 00:00',  
178
 (SELECT id FROM Person WHERE displayname = 'James Blackwell')
179
 );
180
181
INSERT INTO Manifest (datecreated, owner)
182
VALUES (timestamp '2004-07-04 00:00',  
183
 (SELECT id FROM Person WHERE displayname = 'Christian Reis')
184
 );
185
186
INSERT INTO Manifest (datecreated, owner)
187
VALUES (timestamp '2004-07-05 00:00',  
188
 (SELECT id FROM Person WHERE displayname = 'Alexander Limi')
189
 );
190
191
192
--CodeRelease
193
INSERT INTO CodeRelease (sourcepackagerelease, manifest) 
194
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-06-29 00:00'),
195
 (SELECT id FROM Manifest WHERE datecreated = timestamp '2004-06-29 00:00'));
196
197
INSERT INTO CodeRelease (sourcepackagerelease, manifest) 
198
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-06-30 00:00'),
199
 (SELECT id FROM Manifest WHERE datecreated = timestamp '2004-06-30 00:00'));
200
201
INSERT INTO CodeRelease (sourcepackagerelease, manifest) 
202
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-07-01 00:00'),
203
 (SELECT id FROM Manifest WHERE datecreated = timestamp '2004-07-01 00:00'));
204
205
INSERT INTO CodeRelease (sourcepackagerelease, manifest) 
206
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-07-02 00:00'),
207
 (SELECT id FROM Manifest WHERE datecreated = timestamp '2004-07-02 00:00'));
208
209
INSERT INTO CodeRelease (sourcepackagerelease, manifest) 
210
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-07-03 00:00'),
211
 (SELECT id FROM Manifest WHERE datecreated = timestamp '2004-07-03 00:00'));
212
213
INSERT INTO CodeRelease (sourcepackagerelease, manifest) 
214
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-07-04 00:00'),
215
 (SELECT id FROM Manifest WHERE datecreated = timestamp '2004-07-04 00:00'));
216
217
INSERT INTO CodeRelease (sourcepackagerelease, manifest) 
218
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-07-05 00:00'),
219
 (SELECT id FROM Manifest WHERE datecreated = timestamp '2004-06-29 00:00'));
220
221
222
--ArchArchive
223
INSERT INTO ArchArchive (name, title, description, visible)
224
VALUES ('mozilla', 'Mozilla', 'text', false);
225
226
INSERT INTO ArchArchive (name, title, description, visible)
227
VALUES ('thunderbird', 'Thunderbid', 'text', false);
228
229
INSERT INTO ArchArchive (name, title, description, visible)
230
VALUES ('twisted', 'Twisted', 'text', false);
231
232
INSERT INTO ArchArchive (name, title, description, visible)
233
VALUES ('bugzila', 'Bugzila', 'text', false);
234
235
INSERT INTO ArchArchive (name, title, description, visible)
236
VALUES ('arch', 'Arch', 'text', false);
237
238
INSERT INTO ArchArchive (name, title, description, visible)
239
VALUES ('kiwi2', 'Kiwi2', 'text', false);
240
241
INSERT INTO ArchArchive (name, title, description, visible)
242
VALUES ('plone', 'Plone', 'text', false);
243
244
INSERT INTO ArchArchive (name, title, description, visible)
245
VALUES ('gnome', 'GNOME', 'The GNOME Project', false);
246
247
248
--Archnamespace
249
INSERT INTO Archnamespace (archarchive, category, visible) 
250
VALUES (1, 'mozilla', true);
251
252
INSERT INTO Archnamespace (archarchive, category, visible) 
253
VALUES (2, 'tunderbird', true);
254
255
INSERT INTO Archnamespace (archarchive, category, visible) 
256
VALUES (3, 'twisted', true);
257
258
INSERT INTO Archnamespace (archarchive, category, visible) 
259
VALUES (4, 'bugzila', true);
260
261
INSERT INTO Archnamespace (archarchive, category, visible) 
262
VALUES (5, 'arch', true);
263
264
INSERT INTO Archnamespace (archarchive, category, visible) 
265
VALUES (6, 'kiwi2', true);
266
267
INSERT INTO Archnamespace (archarchive, category, visible) 
268
VALUES (7, 'plone', true);
269
270
INSERT INTO ArchNamespace (archarchive, category, branch, version, visible)
271
VALUES ((SELECT id FROM ArchArchive WHERE name = 'gnome'), 'gnome', 'evolution',
272
	'1.5.90', false);
273
274
--Branch
275
INSERT INTO Branch (archnamespace, title, description, owner)
276
VALUES ((SELECT id FROM ArchArchive WHERE name = 'mozilla'),
277
        'Mozilla Firefox 0.9.1', 'text',
278
 (SELECT id FROM Person WHERE displayname = 'Mark Shuttleworth')); 
279
280
INSERT INTO Branch (archnamespace, title, description, owner)
281
VALUES ((SELECT id FROM ArchArchive WHERE name = 'thunderbird'),
282
        'Mozilla Thunderbird 0.9.1', 'text',
283
 (SELECT id FROM Person WHERE displayname = 'Steve Alexander')); 
284
285
INSERT INTO Branch (archnamespace, title, description, owner)
286
VALUES ((SELECT id FROM ArchArchive WHERE name = 'twisted'),
287
        'Python Twisted 0.9.1', 'text',
288
 (SELECT id FROM Person WHERE displayname = 'Andrew Bennetts')); 
289
290
INSERT INTO Branch (archnamespace, title, description, owner)
291
VALUES ((SELECT id FROM ArchArchive WHERE name = 'bugzila'),
292
        'Bugzila 0.9.1', 'text',
293
 (SELECT id FROM Person WHERE displayname = 'Dave Miller')); 
294
295
INSERT INTO Branch (archnamespace, title, description, owner)
296
VALUES ((SELECT id FROM ArchArchive WHERE name = 'arch'),
297
        'Arch 0.9.1', 'text',
298
 (SELECT id FROM Person WHERE displayname = 'James Blackwell')); 
299
300
INSERT INTO Branch (archnamespace, title, description, owner)
301
VALUES ((SELECT id FROM ArchArchive WHERE name = 'kiwi2'),
302
        'Kiwi2 0.9.1', 'text',
303
 (SELECT id FROM Person WHERE displayname = 'Christian Reis')); 
304
305
INSERT INTO Branch (archnamespace, title, description, owner)
306
VALUES ((SELECT id FROM ArchArchive WHERE name = 'plone'),
307
        'Plone 0.9.1', 'text',
308
 (SELECT id FROM Person WHERE displayname = 'Alexander Limi'));
309
310
INSERT INTO Branch (archnamespace, title, description, owner)
311
VALUES ((SELECT id FROM ArchNamespace
312
	 WHERE category = 'gnome' AND
313
	       branch = 'evolution' AND
314
	       version = '1.5.90'),
315
	'Evolution 1.5.90', 'text',
316
	(SELECT id FROM Person WHERE displayname = 'Jeff Waugh'));
317
*/
318
319
/*
320
--Manifest
321
INSERT INTO Manifest (owner) 
322
VALUES ((select id from Person where presentationname='Mark Shuttleworth'));
323
*/
324
325