← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~jelmer/launchpad/optional-deb-version into lp:launchpad/db-devel

 

Jelmer Vernooij has proposed merging lp:~jelmer/launchpad/optional-deb-version into lp:launchpad/db-devel.

Requested reviews:
  Robert Collins (lifeless): db
  Stuart Bishop (stub): db
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~jelmer/launchpad/optional-deb-version/+merge/85244

Allow the deb_version_template field in sourcepackagerecipedata to be NULL.

This is necessary for newer versions of bzr-builder, which allow the "deb-version" field in recipes to be missing. (bug 891928)
-- 
https://code.launchpad.net/~jelmer/launchpad/optional-deb-version/+merge/85244
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~jelmer/launchpad/optional-deb-version into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-00-2.sql'
--- database/schema/patch-2209-00-2.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-00-2.sql	2011-12-11 01:47:25 +0000
@@ -0,0 +1,9 @@
+-- Copyright 2011 Canonical Ltd.  This software is licensed under the
+-- GNU Affero General Public License version 3 (see the file LICENSE).
+
+SET client_min_messages=ERROR;
+
+-- deb-version in recipes is optional in newer versions of bzr-builder:
+ALTER TABLE SourcePackageRecipeData ALTER COLUMN deb_version_template DROP NOT NULL;
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 0, 2);


Follow ups