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
=== added file 'database/schema/patch-2209-71-0.sql'
--- database/schema/patch-2209-71-0.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-71-0.sql 2015-12-15 14:38:42 +0000
@@ -0,0 +1,10 @@
1-- Copyright 2015 Canonical Ltd. This software is licensed under the
2-- GNU Affero General Public License version 3 (see the file LICENSE).
3
4SET client_min_messages=ERROR;
5
6ALTER TABLE DistroSeries ADD COLUMN publishing_options text;
7
8COMMENT ON COLUMN DistroSeries.publishing_options IS 'A JSON object containing options modifying the publisher''s behaviour for this series.';
9
10INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 71, 0);
011
=== added file 'database/schema/patch-2209-72-0.sql'
--- database/schema/patch-2209-72-0.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-72-0.sql 2015-12-15 14:38:42 +0000
@@ -0,0 +1,10 @@
1-- Copyright 2015 Canonical Ltd. This software is licensed under the
2-- GNU Affero General Public License version 3 (see the file LICENSE).
3
4SET client_min_messages=ERROR;
5
6ALTER TABLE BinaryPackageBuild ADD COLUMN external_dependencies text;
7
8COMMENT 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.';
9
10INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 72, 0);