Merge lp:~wgrant/launchpad/maybe-publish-debug-symbols-db into lp:launchpad/db-devel

Proposed by William Grant
Status: Merged
Merged at revision: 12416
Proposed branch: lp:~wgrant/launchpad/maybe-publish-debug-symbols-db
Merge into: lp:launchpad/db-devel
Prerequisite: lp:launchpad
Diff against target: 13 lines (+9/-0)
1 file modified
database/schema/patch-2209-45-0.sql (+9/-0)
To merge this branch: bzr merge lp:~wgrant/launchpad/maybe-publish-debug-symbols-db
Reviewer Review Type Date Requested Status
Stuart Bishop (community) db Approve
Review via email: mp+163666@code.launchpad.net

This proposal supersedes a proposal from 2013-05-14.

Description of the change

The Ubuntu primary archive needs to build ddebs, but we don't have the space or need to publish them to the archive tree right now. So add an Archive.publish_debug_symbols to the DB to control publishing separately from building.

To post a comment you must log in.
Revision history for this message
Stuart Bishop (stub) wrote :

Fine.

review: Approve (db)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'database/schema/patch-2209-45-0.sql'
2--- database/schema/patch-2209-45-0.sql 1970-01-01 00:00:00 +0000
3+++ database/schema/patch-2209-45-0.sql 2013-05-14 09:29:43 +0000
4@@ -0,0 +1,9 @@
5+-- Copyright 2013 Canonical Ltd. This software is licensed under the
6+-- GNU Affero General Public License version 3 (see the file LICENSE).
7+
8+SET client_min_messages=ERROR;
9+
10+ALTER TABLE archive ADD COLUMN publish_debug_symbols boolean;
11+ALTER TABLE archive ALTER COLUMN publish_debug_symbols SET DEFAULT false;
12+
13+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 45, 0);

Subscribers

People subscribed via source and target branches

to status/vote changes: