launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #22404
[Merge] lp:~cjwatson/launchpad/db-snap-source-tarball into lp:launchpad/db-devel
Colin Watson has proposed merging lp:~cjwatson/launchpad/db-snap-source-tarball into lp:launchpad/db-devel.
Commit message:
Add Snap.source_tarball.
Requested reviews:
Stuart Bishop (stub): db
Launchpad code reviewers (launchpad-reviewers): db
Related bugs:
Bug #1763639 in Launchpad itself: "Recovery tarballs for snap builds"
https://bugs.launchpad.net/launchpad/+bug/1763639
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/db-snap-source-tarball/+merge/343726
See https://code.launchpad.net/~cjwatson/launchpad-buildd/snap-source-tarball/+merge/343721 and https://code.launchpad.net/~cjwatson/launchpad/snap-source-tarball/+merge/343727.
--
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~cjwatson/launchpad/db-snap-source-tarball into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-83-2.sql'
--- database/schema/patch-2209-83-2.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-83-2.sql 2018-04-20 19:37:16 +0000
@@ -0,0 +1,10 @@
+-- Copyright 2018 Canonical Ltd. This software is licensed under the
+-- GNU Affero General Public License version 3 (see the file LICENSE).
+
+SET client_min_messages=ERROR;
+
+ALTER TABLE Snap ADD COLUMN source_tarball boolean DEFAULT false NOT NULL;
+
+COMMENT ON COLUMN Snap.source_tarball IS 'If true, builds of this snap should also build a tarball containing all source code, including external dependencies.';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 83, 2);