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 |
||
8687.15.9
by Karl Fogel
Add the copyright header block to more files (everything under database/). |
6 |
Copyright 2009 Canonical Ltd. This software is licensed under the
|
7 |
GNU Affero General Public License version 3 (see the file LICENSE).
|
|
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
8 |
*/
|
9 |
||
10 |
-- Person
|
|
11 |
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Mark Shuttleworth', 'Mark', 'Shuttleworth' ); -- 1 |
|
12 |
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Robert Collins', 'Robert', 'Collins' ); -- 2 |
|
13 |
/*
|
|
14 |
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Dave Miller', 'David', 'Miller' ); -- 2
|
|
15 |
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Colin Watson', 'Colin', 'Watson' ); -- 3
|
|
16 |
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Scott James Remnant', 'Scott James', 'Remnant' ); -- 4
|
|
17 |
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Jeff Waugh', 'Jeff', 'Waugh' ); -- 6
|
|
18 |
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Andrew Bennetts', 'Andrew', 'Bennetts' ); -- 7
|
|
19 |
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'James Blackwell', 'James', 'Blackwell' ); -- 8
|
|
20 |
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Christian Reis', 'Christian', 'Reis' ); -- 9
|
|
21 |
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Alexander Limi', 'Alexander', 'Limi' ); -- 10
|
|
22 |
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Steve Alexander', 'Steve', 'Alexander' ); -- 11
|
|
23 |
INSERT INTO Person ( displayname, givenname, familyname ) VALUES ( 'Carlos Perelló Marín', 'Carlos', 'Perelló Marín' ); -- 12
|
|
24 |
*/
|
|
25 |
||
26 |
---
|
|
27 |
||
28 |
---
|
|
29 |
||
30 |
-- EmailAddress
|
|
9105.3.2
by Brad Crittenden
Changed mark@hbd.com to mark@example.com. Tests that used base64 encoding for basic auth credentials were changed to use plaintext. |
31 |
INSERT INTO EmailAddress ( email, person, status ) VALUES ( 'mark@example.com', 1, 2 ); |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
32 |
INSERT INTO EmailAddress ( email, person, status ) VALUES ( 'robertc@robertcollins.net', 2, 2 ); |
33 |
||
34 |
/*
|
|
35 |
-- BugSystemType
|
|
36 |
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 );
|
|
37 |
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 );
|
|
38 |
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 );
|
|
39 |
*/
|
|
40 |
||
41 |
||
42 |
-- Project
|
|
43 |
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 |
|
44 |
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 |
|
45 |
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 |
|
46 |
||
47 |
||
48 |
||
49 |
-- Product
|
|
50 |
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/' ); |
|
51 |
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/' ); |
|
52 |
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/' ); |
|
53 |
||
54 |
/*
|
|
55 |
-- SourcePackage
|
|
56 |
INSERT INTO SourcePackage (maintainer, name, title, description)
|
|
57 |
VALUES ((SELECT id FROM Person WHERE displayname = 'Mark Shuttleworth'),
|
|
58 |
'mozilla-firefox', 'Ubuntu Mozilla Firefox',
|
|
59 |
'text');
|
|
60 |
||
61 |
INSERT INTO SourcePackage (maintainer, name, title, description)
|
|
62 |
VALUES ((SELECT id FROM Person WHERE displayname = 'Steve Alexander'),
|
|
63 |
'mozilla-thunderbird', 'Ubuntu Mozilla Thunderbird',
|
|
64 |
'text');
|
|
65 |
||
66 |
INSERT INTO SourcePackage (maintainer, name, title, description)
|
|
67 |
VALUES ((SELECT id FROM Person WHERE displayname = 'Andrew Bennetts'),
|
|
68 |
'python-twisted', 'Python Twisted',
|
|
69 |
'text');
|
|
70 |
INSERT INTO SourcePackage (maintainer, name, title, description)
|
|
71 |
VALUES ((SELECT id FROM Person WHERE displayname = 'Dave Miller'),
|
|
72 |
'bugzilla', 'Bugzilla',
|
|
73 |
'text');
|
|
74 |
INSERT INTO SourcePackage (maintainer, name, title, description)
|
|
75 |
VALUES ((SELECT id FROM Person WHERE displayname = 'James Blackwell'),
|
|
76 |
'arch', 'Arch(TLA)',
|
|
77 |
'text');
|
|
78 |
INSERT INTO SourcePackage (maintainer, name, title, description)
|
|
79 |
VALUES ((SELECT id FROM Person WHERE displayname = 'Christian Reis'),
|
|
80 |
'kiwi2', 'Kiwi2',
|
|
81 |
'text');
|
|
82 |
INSERT INTO SourcePackage (maintainer, name, title, description)
|
|
83 |
VALUES ((SELECT id FROM Person WHERE displayname = 'Alexander Limi'),
|
|
84 |
'plone', 'Plone',
|
|
85 |
'text');
|
|
86 |
INSERT INTO SourcePackage (maintainer, name, title, description)
|
|
87 |
VALUES ((SELECT id FROM Person WHERE displayname = 'Jeff Waugh'),
|
|
88 |
'evolution', 'Evolution',
|
|
89 |
'text');
|
|
90 |
||
91 |
||
92 |
--SourcePackageRelease
|
|
93 |
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
|
|
94 |
version, dateuploaded, urgency)
|
|
95 |
VALUES ((SELECT id FROM SourcePackage WHERE name = 'mozilla-firefox'),
|
|
96 |
1,
|
|
97 |
(SELECT id FROM Person WHERE displayname = 'Mark Shuttleworth'),
|
|
98 |
'0.9.1-1',
|
|
99 |
timestamp '2004-06-29 00:00',
|
|
100 |
1);
|
|
101 |
||
102 |
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
|
|
103 |
version, dateuploaded, urgency)
|
|
104 |
VALUES ((SELECT id FROM SourcePackage WHERE name = 'mozilla-thunderbird'),
|
|
105 |
1,
|
|
106 |
(SELECT id FROM Person WHERE displayname = 'Steve Alexander'),
|
|
107 |
'0.9.1-2',
|
|
108 |
timestamp '2004-06-30 00:00',
|
|
109 |
1);
|
|
110 |
||
111 |
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
|
|
112 |
version, dateuploaded, urgency)
|
|
113 |
VALUES ((SELECT id FROM SourcePackage WHERE name = 'python-twisted'),
|
|
114 |
1,
|
|
115 |
(SELECT id FROM Person WHERE displayname = 'Andrew Bennetts'),
|
|
116 |
'0.9.1-3',
|
|
117 |
timestamp '2004-07-01 00:00',
|
|
118 |
1);
|
|
119 |
||
120 |
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
|
|
121 |
version, dateuploaded, urgency)
|
|
122 |
VALUES ((SELECT id FROM SourcePackage WHERE name = 'bugzilla'),
|
|
123 |
1,
|
|
124 |
(SELECT id FROM Person WHERE displayname = 'Dave Miller'),
|
|
125 |
'0.9.1-4',
|
|
126 |
timestamp '2004-07-02 00:00',
|
|
127 |
1);
|
|
128 |
||
129 |
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
|
|
130 |
version, dateuploaded, urgency)
|
|
131 |
VALUES ((SELECT id FROM SourcePackage WHERE name = 'arch'),
|
|
132 |
1,
|
|
133 |
(SELECT id FROM Person WHERE displayname = 'James Blackwell'),
|
|
134 |
'0.9.1-5',
|
|
135 |
timestamp '2004-07-03 00:00',
|
|
136 |
1);
|
|
137 |
||
138 |
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
|
|
139 |
version, dateuploaded, urgency)
|
|
140 |
VALUES ((SELECT id FROM SourcePackage WHERE name = 'kiwi2'),
|
|
141 |
1,
|
|
142 |
(SELECT id FROM Person WHERE displayname = 'Christian Reis'),
|
|
143 |
'0.9.1-6',
|
|
144 |
timestamp '2004-07-04 00:00',
|
|
145 |
1);
|
|
146 |
||
147 |
INSERT INTO SourcePackageRelease (sourcepackage, srcpackageformat, creator,
|
|
148 |
version, dateuploaded, urgency)
|
|
149 |
VALUES ((SELECT id FROM SourcePackage WHERE name = 'plone'),
|
|
150 |
1,
|
|
151 |
(SELECT id FROM Person WHERE displayname = 'Alexander Limi'),
|
|
152 |
'0.9.1-7',
|
|
153 |
timestamp '2004-07-05 00:00',
|
|
154 |
1);
|
|
155 |
||
156 |
||
157 |
--Manifest
|
|
158 |
INSERT INTO Manifest (datecreated, owner)
|
|
159 |
VALUES (timestamp '2004-06-29 00:00',
|
|
160 |
(SELECT id FROM Person WHERE displayname = 'Mark Shuttleworth')
|
|
161 |
);
|
|
162 |
||
163 |
INSERT INTO Manifest (datecreated, owner)
|
|
164 |
VALUES (timestamp '2004-06-30 00:00',
|
|
165 |
(SELECT id FROM Person WHERE displayname = 'Steve Alexander')
|
|
166 |
);
|
|
167 |
||
168 |
INSERT INTO Manifest (datecreated, owner)
|
|
169 |
VALUES (timestamp '2004-07-01 00:00',
|
|
170 |
(SELECT id FROM Person WHERE displayname = 'Andrew Bennetts')
|
|
171 |
);
|
|
172 |
||
173 |
INSERT INTO Manifest (datecreated, owner)
|
|
174 |
VALUES (timestamp '2004-07-02 00:00',
|
|
175 |
(SELECT id FROM Person WHERE displayname = 'Dave Miller')
|
|
176 |
);
|
|
177 |
||
178 |
INSERT INTO Manifest (datecreated, owner)
|
|
179 |
VALUES (timestamp '2004-07-03 00:00',
|
|
180 |
(SELECT id FROM Person WHERE displayname = 'James Blackwell')
|
|
181 |
);
|
|
182 |
||
183 |
INSERT INTO Manifest (datecreated, owner)
|
|
184 |
VALUES (timestamp '2004-07-04 00:00',
|
|
185 |
(SELECT id FROM Person WHERE displayname = 'Christian Reis')
|
|
186 |
);
|
|
187 |
||
188 |
INSERT INTO Manifest (datecreated, owner)
|
|
189 |
VALUES (timestamp '2004-07-05 00:00',
|
|
190 |
(SELECT id FROM Person WHERE displayname = 'Alexander Limi')
|
|
191 |
);
|
|
192 |
||
193 |
||
194 |
--CodeRelease
|
|
195 |
INSERT INTO CodeRelease (sourcepackagerelease, manifest)
|
|
196 |
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-06-29 00:00'),
|
|
197 |
(SELECT id FROM Manifest WHERE datecreated = timestamp '2004-06-29 00:00'));
|
|
198 |
||
199 |
INSERT INTO CodeRelease (sourcepackagerelease, manifest)
|
|
200 |
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-06-30 00:00'),
|
|
201 |
(SELECT id FROM Manifest WHERE datecreated = timestamp '2004-06-30 00:00'));
|
|
202 |
||
203 |
INSERT INTO CodeRelease (sourcepackagerelease, manifest)
|
|
204 |
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-07-01 00:00'),
|
|
205 |
(SELECT id FROM Manifest WHERE datecreated = timestamp '2004-07-01 00:00'));
|
|
206 |
||
207 |
INSERT INTO CodeRelease (sourcepackagerelease, manifest)
|
|
208 |
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-07-02 00:00'),
|
|
209 |
(SELECT id FROM Manifest WHERE datecreated = timestamp '2004-07-02 00:00'));
|
|
210 |
||
211 |
INSERT INTO CodeRelease (sourcepackagerelease, manifest)
|
|
212 |
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-07-03 00:00'),
|
|
213 |
(SELECT id FROM Manifest WHERE datecreated = timestamp '2004-07-03 00:00'));
|
|
214 |
||
215 |
INSERT INTO CodeRelease (sourcepackagerelease, manifest)
|
|
216 |
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-07-04 00:00'),
|
|
217 |
(SELECT id FROM Manifest WHERE datecreated = timestamp '2004-07-04 00:00'));
|
|
218 |
||
219 |
INSERT INTO CodeRelease (sourcepackagerelease, manifest)
|
|
220 |
VALUES ((SELECT id FROM SourcePackageRelease WHERE dateuploaded = timestamp '2004-07-05 00:00'),
|
|
221 |
(SELECT id FROM Manifest WHERE datecreated = timestamp '2004-06-29 00:00'));
|
|
222 |
||
223 |
||
224 |
--ArchArchive
|
|
225 |
INSERT INTO ArchArchive (name, title, description, visible)
|
|
226 |
VALUES ('mozilla', 'Mozilla', 'text', false);
|
|
227 |
||
228 |
INSERT INTO ArchArchive (name, title, description, visible)
|
|
229 |
VALUES ('thunderbird', 'Thunderbid', 'text', false);
|
|
230 |
||
231 |
INSERT INTO ArchArchive (name, title, description, visible)
|
|
232 |
VALUES ('twisted', 'Twisted', 'text', false);
|
|
233 |
||
234 |
INSERT INTO ArchArchive (name, title, description, visible)
|
|
235 |
VALUES ('bugzila', 'Bugzila', 'text', false);
|
|
236 |
||
237 |
INSERT INTO ArchArchive (name, title, description, visible)
|
|
238 |
VALUES ('arch', 'Arch', 'text', false);
|
|
239 |
||
240 |
INSERT INTO ArchArchive (name, title, description, visible)
|
|
241 |
VALUES ('kiwi2', 'Kiwi2', 'text', false);
|
|
242 |
||
243 |
INSERT INTO ArchArchive (name, title, description, visible)
|
|
244 |
VALUES ('plone', 'Plone', 'text', false);
|
|
245 |
||
246 |
INSERT INTO ArchArchive (name, title, description, visible)
|
|
247 |
VALUES ('gnome', 'GNOME', 'The GNOME Project', false);
|
|
248 |
||
249 |
||
250 |
--Archnamespace
|
|
251 |
INSERT INTO Archnamespace (archarchive, category, visible)
|
|
252 |
VALUES (1, 'mozilla', true);
|
|
253 |
||
254 |
INSERT INTO Archnamespace (archarchive, category, visible)
|
|
255 |
VALUES (2, 'tunderbird', true);
|
|
256 |
||
257 |
INSERT INTO Archnamespace (archarchive, category, visible)
|
|
258 |
VALUES (3, 'twisted', true);
|
|
259 |
||
260 |
INSERT INTO Archnamespace (archarchive, category, visible)
|
|
261 |
VALUES (4, 'bugzila', true);
|
|
262 |
||
263 |
INSERT INTO Archnamespace (archarchive, category, visible)
|
|
264 |
VALUES (5, 'arch', true);
|
|
265 |
||
266 |
INSERT INTO Archnamespace (archarchive, category, visible)
|
|
267 |
VALUES (6, 'kiwi2', true);
|
|
268 |
||
269 |
INSERT INTO Archnamespace (archarchive, category, visible)
|
|
270 |
VALUES (7, 'plone', true);
|
|
271 |
||
272 |
INSERT INTO ArchNamespace (archarchive, category, branch, version, visible)
|
|
273 |
VALUES ((SELECT id FROM ArchArchive WHERE name = 'gnome'), 'gnome', 'evolution',
|
|
274 |
'1.5.90', false);
|
|
275 |
||
276 |
--Branch
|
|
277 |
INSERT INTO Branch (archnamespace, title, description, owner)
|
|
278 |
VALUES ((SELECT id FROM ArchArchive WHERE name = 'mozilla'),
|
|
279 |
'Mozilla Firefox 0.9.1', 'text',
|
|
280 |
(SELECT id FROM Person WHERE displayname = 'Mark Shuttleworth'));
|
|
281 |
||
282 |
INSERT INTO Branch (archnamespace, title, description, owner)
|
|
283 |
VALUES ((SELECT id FROM ArchArchive WHERE name = 'thunderbird'),
|
|
284 |
'Mozilla Thunderbird 0.9.1', 'text',
|
|
285 |
(SELECT id FROM Person WHERE displayname = 'Steve Alexander'));
|
|
286 |
||
287 |
INSERT INTO Branch (archnamespace, title, description, owner)
|
|
288 |
VALUES ((SELECT id FROM ArchArchive WHERE name = 'twisted'),
|
|
289 |
'Python Twisted 0.9.1', 'text',
|
|
290 |
(SELECT id FROM Person WHERE displayname = 'Andrew Bennetts'));
|
|
291 |
||
292 |
INSERT INTO Branch (archnamespace, title, description, owner)
|
|
293 |
VALUES ((SELECT id FROM ArchArchive WHERE name = 'bugzila'),
|
|
294 |
'Bugzila 0.9.1', 'text',
|
|
295 |
(SELECT id FROM Person WHERE displayname = 'Dave Miller'));
|
|
296 |
||
297 |
INSERT INTO Branch (archnamespace, title, description, owner)
|
|
298 |
VALUES ((SELECT id FROM ArchArchive WHERE name = 'arch'),
|
|
299 |
'Arch 0.9.1', 'text',
|
|
300 |
(SELECT id FROM Person WHERE displayname = 'James Blackwell'));
|
|
301 |
||
302 |
INSERT INTO Branch (archnamespace, title, description, owner)
|
|
303 |
VALUES ((SELECT id FROM ArchArchive WHERE name = 'kiwi2'),
|
|
304 |
'Kiwi2 0.9.1', 'text',
|
|
305 |
(SELECT id FROM Person WHERE displayname = 'Christian Reis'));
|
|
306 |
||
307 |
INSERT INTO Branch (archnamespace, title, description, owner)
|
|
308 |
VALUES ((SELECT id FROM ArchArchive WHERE name = 'plone'),
|
|
309 |
'Plone 0.9.1', 'text',
|
|
310 |
(SELECT id FROM Person WHERE displayname = 'Alexander Limi'));
|
|
311 |
||
312 |
INSERT INTO Branch (archnamespace, title, description, owner)
|
|
313 |
VALUES ((SELECT id FROM ArchNamespace
|
|
314 |
WHERE category = 'gnome' AND
|
|
315 |
branch = 'evolution' AND
|
|
316 |
version = '1.5.90'),
|
|
317 |
'Evolution 1.5.90', 'text',
|
|
318 |
(SELECT id FROM Person WHERE displayname = 'Jeff Waugh'));
|
|
319 |
*/
|
|
320 |
||
321 |
/*
|
|
322 |
--Manifest
|
|
323 |
INSERT INTO Manifest (owner)
|
|
324 |
VALUES ((select id from Person where presentationname='Mark Shuttleworth'));
|
|
325 |
*/
|
|
326 |
||
327 |