[Collab-qa-commits] r2358 - ddpo-by-mail

Lucas Nussbaum lucas at alioth.debian.org
Thu May 31 19:20:18 UTC 2012


Author: lucas
Date: 2012-05-31 19:20:16 +0000 (Thu, 31 May 2012)
New Revision: 2358

Modified:
   ddpo-by-mail/ddpo-config.rb
   ddpo-by-mail/reminder-mail.rb
Log:
fix ddpo-by-mail for wheezy, but it cant be run due to udd being partially outdated (it really needs new hardware)

Modified: ddpo-by-mail/ddpo-config.rb
===================================================================
--- ddpo-by-mail/ddpo-config.rb	2012-05-31 03:00:54 UTC (rev 2357)
+++ ddpo-by-mail/ddpo-config.rb	2012-05-31 19:20:16 UTC (rev 2358)
@@ -105,15 +105,18 @@
 EXC_EMAILS_PKGS['wolf at kondancemilch.de'] = ['apt-proxy']
 
 BUG_AGE = 0
-AGE_IN_DEBIAN = 18
-LAST_IN_SYNC = 14
-LAST_IN_SYNC_SERIOUS = 20
+# AGE_IN_DEBIAN = 18
+AGE_IN_DEBIAN = 30
+# LAST_IN_SYNC = 14
+# LAST_IN_SYNC_SERIOUS = 20
+LAST_IN_SYNC = 20
+LAST_IN_SYNC_SERIOUS = 30
 # etch released on 2007-04-08. So
 # (Date::today - Date::parse('2007-04-08')).to_i
 
-TESTING = 'squeeze'
+TESTING = 'wheezy'
 FROZEN = false
-CLOSE_TO_FREEZE = false
+CLOSE_TO_FREEZE = true
 
 require "date"
 d = Date::today

Modified: ddpo-by-mail/reminder-mail.rb
===================================================================
--- ddpo-by-mail/reminder-mail.rb	2012-05-31 03:00:54 UTC (rev 2357)
+++ ddpo-by-mail/reminder-mail.rb	2012-05-31 19:20:16 UTC (rev 2358)
@@ -3,8 +3,15 @@
 puts "#{Time::now} Starting and reading the data we need"
 
 require 'ddpo-config'
+
 require 'udddata'
+class DateTime < Date
+  def to_date
+    ::Date.new(year, month, day)
+  end
+end
 
+
 udd = UDDData::new
 udd.fetch
 
@@ -150,7 +157,7 @@
 T_RGBUGS = "rgbugs"
 T_BUILDS = "builds"
 T_TESTING = "testing"
-T_LINTIAN = "lintian"
+T_LINTIAN = :lintian
 T_DEHS = "dehs"
 T_SECURITY = "security"
 




More information about the Collab-qa-commits mailing list