Colin Watson has proposed merging lp:~cjwatson/launchpad/db-packageset-score 
into lp:launchpad/db-devel.

Requested reviews:
  Stuart Bishop (stub): db
  Robert Collins (lifeless): db
  Launchpad code reviewers (launchpad-reviewers)
Related bugs:
  Bug #990219 in Launchpad itself: "Reprioritize package build scores based on 
packageset"
  https://bugs.launchpad.net/launchpad/+bug/990219

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/db-packageset-score/+merge/105113

== Summary ==

We'd like more flexible ways to control package build scores in the 
distribution, so that packages which are on community-flavour CDs can be 
prioritised above random stuff in universe even though they don't get the 
component bonus for main.  Consensus seems to be that per-packageset scoring 
would be sensible.

== Proposed fix ==

Add a score column to Packageset so that a later code change can use it.

== LOC Rationale ==

+8; I'll see about offsetting this in the code change.
-- 
https://code.launchpad.net/~cjwatson/launchpad/db-packageset-score/+merge/105113
Your team Launchpad code reviewers is requested to review the proposed merge of 
lp:~cjwatson/launchpad/db-packageset-score into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-18-0.sql'
--- database/schema/patch-2209-18-0.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-18-0.sql	2012-05-08 19:20:25 +0000
@@ -0,0 +1,8 @@
+-- Copyright 2012 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 Packageset ADD COLUMN score INTEGER DEFAULT 0 NOT NULL;
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 18, 0);

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to