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

Proposed by Colin Watson on 2015-12-15
Status: Merged
Merged at revision: 13311
Proposed branch: lp:~cjwatson/launchpad/db-bpb-external-dependencies
Merge into: lp:launchpad/db-devel
Diff against target: 14 lines (+10/-0)
1 file modified
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
William Grant db 2015-12-15 Approve on 2016-01-04
Stuart Bishop db 2015-12-15 Pending
Review via email: mp+280599@code.launchpad.net

This proposal supersedes 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.
William Grant (wgrant) :
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-72-0.sql'
2--- database/schema/patch-2209-72-0.sql 1970-01-01 00:00:00 +0000
3+++ database/schema/patch-2209-72-0.sql 2015-12-15 14:38:28 +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 BinaryPackageBuild ADD COLUMN external_dependencies text;
11+
12+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.';
13+
14+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 72, 0);

Subscribers

People subscribed via source and target branches

to status/vote changes: