Merge lp:~cjwatson/launchpad/db-bpb-external-dependencies into lp:launchpad

Proposed by Colin Watson
Status: Superseded
Proposed branch: lp:~cjwatson/launchpad/db-bpb-external-dependencies
Merge into: lp:launchpad
Diff against target: 29 lines (+20/-0)
2 files modified
database/schema/patch-2209-71-0.sql (+10/-0)
database/schema/patch-2209-72-0.sql (+10/-0)
To merge this branch: bzr merge lp:~cjwatson/launchpad/db-bpb-external-dependencies
Reviewer Review Type Date Requested Status
Launchpad code reviewers Pending
Review via email: mp+280597@code.launchpad.net

This proposal has been superseded by a proposal from 2015-12-15.

Commit message

Add BinaryPackageBuild.external_dependencies column.

Description of the change

Add BinaryPackageBuild.external_dependencies column. This will let suitably-privileged people specify an external bootstrap archive to break build-dependency loops, superseding the current mechanism of embedding the bootstrap archive location in the chroot.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'database/schema/patch-2209-71-0.sql'
2--- database/schema/patch-2209-71-0.sql 1970-01-01 00:00:00 +0000
3+++ database/schema/patch-2209-71-0.sql 2015-12-15 14:38:42 +0000
4@@ -0,0 +1,10 @@
5+-- Copyright 2015 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 DistroSeries ADD COLUMN publishing_options text;
11+
12+COMMENT ON COLUMN DistroSeries.publishing_options IS 'A JSON object containing options modifying the publisher''s behaviour for this series.';
13+
14+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 71, 0);
15
16=== added file 'database/schema/patch-2209-72-0.sql'
17--- database/schema/patch-2209-72-0.sql 1970-01-01 00:00:00 +0000
18+++ database/schema/patch-2209-72-0.sql 2015-12-15 14:38:42 +0000
19@@ -0,0 +1,10 @@
20+-- Copyright 2015 Canonical Ltd. This software is licensed under the
21+-- GNU Affero General Public License version 3 (see the file LICENSE).
22+
23+SET client_min_messages=ERROR;
24+
25+ALTER TABLE BinaryPackageBuild ADD COLUMN external_dependencies text;
26+
27+COMMENT ON COLUMN BinaryPackageBuild.external_dependencies IS 'Newline-separated list of repositories to be used to retrieve any external build dependencies when performing this build, in the format: "deb http[s]://[user:pass@]<host>[/path] series[-pocket] [components]". This is intended for bootstrapping build-dependency loops.';
28+
29+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 72, 0);