← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~jcsackett/launchpad/fix-rip-out-portlet into lp:launchpad

 

j.c.sackett has proposed merging lp:~jcsackett/launchpad/fix-rip-out-portlet into lp:launchpad.

Requested reviews:
  Curtis Hovey (sinzui)

For more details, see:
https://code.launchpad.net/~jcsackett/launchpad/fix-rip-out-portlet/+merge/126288

Summary
=======
Turns out we can't just remove date_next_suggest_packaging.

So we'll add it back in.
-- 
https://code.launchpad.net/~jcsackett/launchpad/fix-rip-out-portlet/+merge/126288
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.
=== modified file 'lib/lp/registry/interfaces/product.py'
--- lib/lp/registry/interfaces/product.py	2012-09-25 15:03:30 +0000
+++ lib/lp/registry/interfaces/product.py	2012-09-25 16:17:53 +0000
@@ -675,6 +675,16 @@
 
     sourcepackages = Attribute(_("List of packages for this product"))
 
+    date_next_suggest_packaging = exported(
+        Datetime(
+            title=_('Next suggest packaging date'),
+            description=_(
+                "The date when Launchpad can resume suggesting Ubuntu "
+                "packages that the project provides. The default value is "
+                "one year after a user states the project is not packaged "
+                "in Ubuntu."),
+            required=False))
+
     distrosourcepackages = Attribute(_("List of distribution packages for "
         "this product"))
 

=== modified file 'lib/lp/registry/model/product.py'
--- lib/lp/registry/model/product.py	2012-09-25 15:03:30 +0000
+++ lib/lp/registry/model/product.py	2012-09-25 16:17:53 +0000
@@ -396,6 +396,7 @@
         dbName='official_malone', notNull=True, default=False)
     remote_product = Unicode(
         name='remote_product', allow_none=True, default=None)
+    date_next_suggest_packaging = UtcDateTimeCol(default=None)
 
     @property
     def information_type(self):