[Collab-qa-commits] r606 - bapase

lucas at alioth.debian.org lucas at alioth.debian.org
Tue Dec 18 14:11:51 UTC 2007


Author: lucas
Date: 2007-12-18 14:11:51 +0000 (Tue, 18 Dec 2007)
New Revision: 606

Modified:
   bapase/datafiles.rb
   bapase/gen_html.rb
   bapase/package-actions.txt
Log:
processed a few packages
removed magic numbers from the code


Modified: bapase/datafiles.rb
===================================================================
--- bapase/datafiles.rb	2007-12-18 14:10:16 UTC (rev 605)
+++ bapase/datafiles.rb	2007-12-18 14:11:51 UTC (rev 606)
@@ -102,11 +102,6 @@
         @act_status = "<a href=\"http://bugs.debian.org/#{@actions[idx][2][1]}\">Was orphaned</a>"
         @act_comment = @actions[idx][3] if not @actions[idx][3].nil?
         break
-      elsif @actions[idx][2][0] == 'SEC_RM'
-        @act_status = "<a href=\"http://bugs.debian.org/#{@actions[idx][2][1]}\">Removal request needed by !#{@actions[idx][1]}</a>"
-        @act_todo = true
-        @act_comment = @actions[idx][3] if not @actions[idx][3].nil?
-        break
       elsif @actions[idx][2][0] == 'PROP_RM_O'
         @act_status = "<a href=\"http://bugs.debian.org/#{@actions[idx][2][1]}\">Was orphaned, will need removal</a>"
         rm_o = true
@@ -115,12 +110,12 @@
         next
       elsif @actions[idx][2][0] == 'PROP_RM'
         ok = false
-        if @actions[idx][0] + 50 <= CURDATE and !rm_o
+        if @actions[idx][0] + WAIT_RM_O <= CURDATE and !rm_o
           @act_status = "<a href=\"http://bugs.debian.org/#{@actions[idx][2][1]}\">Should be orphaned before removal (since #{@actions[idx][0] + 50})</a>"
           @act_todo = true
           ok = true
         end
-        if @actions[idx][0] + 100 <= CURDATE
+        if @actions[idx][0] + WAIT_RM_RM <= CURDATE
           @act_status = "<a href=\"http://bugs.debian.org/#{@actions[idx][2][1]}\">Should be removed (since #{@actions[idx][0] + 100})</a>"
           @act_todo = true
           ok = true
@@ -131,7 +126,7 @@
         @act_comment = @actions[idx][3] if not @actions[idx][3].nil?
         break
       elsif @actions[idx][2][0] == 'PROP_O'
-        if @actions[idx][0] + 50 <= CURDATE
+        if @actions[idx][0] + WAIT_O_O <= CURDATE
           @act_status = "<a href=\"http://bugs.debian.org/#{@actions[idx][2][1]}\">Should be orphaned (since #{@actions[idx][0] + 50})</a>"
           @act_todo = true
         else
@@ -140,7 +135,7 @@
         @act_comment = @actions[idx][3] if not @actions[idx][3].nil?
         break
       elsif @actions[idx][2][0] == 'O_PROP_RM'
-        if @actions[idx][0] + 50 <= CURDATE
+        if @actions[idx][0] + WAIT_ORM_RM <= CURDATE
           @act_status = "<a href=\"http://bugs.debian.org/#{@actions[idx][2][1]}\">Should be removed (O pkg) (since #{@actions[idx][0] + 50})</a>"
           @act_todo = true
         else

Modified: bapase/gen_html.rb
===================================================================
--- bapase/gen_html.rb	2007-12-18 14:10:16 UTC (rev 605)
+++ bapase/gen_html.rb	2007-12-18 14:11:51 UTC (rev 606)
@@ -4,6 +4,11 @@
 require 'datafiles'
 require 'html'
 
+WAIT_RM_O = 50
+WAIT_RM_RM = 100
+WAIT_O_O = 50
+WAIT_ORM_RM = 50
+
 DATEZERO = Date::parse('0000-01-01')
 CURDATE = Date::today
 

Modified: bapase/package-actions.txt
===================================================================
--- bapase/package-actions.txt	2007-12-18 14:10:16 UTC (rev 605)
+++ bapase/package-actions.txt	2007-12-18 14:11:51 UTC (rev 606)
@@ -87,6 +87,7 @@
 ghc-cvs 2007-10-10 lucas WAIT(60) svn snapshot. really useful? low popcon...
 
 twutils 2007-10-10 lucas WAIT(20)
+twutils 2007-12-11 lucas REQ_RM(1)
 
 bayonne 2007-10-14 lucas WAIT(20) needs a sparc build, ok otherwise
 
@@ -246,6 +247,12 @@
 
 libghttp 2007-12-11 lucas WAIT(30) see discussion in #300231. still has rev-deps.
 
+cronosii 2007-12-11 lucas PROP_RM(455697)
+
+type1inst 2007-12-11 lucas O_PROP_RM(158476)
+
+gdbm173 2007-12-11 lucas PROP_RM(NNN)
+
 sim 2007-12-16 godog WAIT(120) seems fine but a new version available #420095
 
 poldi 2007-12-16 godog WAIT(120) seems OK




More information about the Collab-qa-commits mailing list