[Collab-qa-commits] r539 - bapase
lucas at alioth.debian.org
lucas at alioth.debian.org
Tue Dec 4 00:29:31 UTC 2007
Author: lucas
Date: 2007-12-04 00:29:31 +0000 (Tue, 04 Dec 2007)
New Revision: 539
Added:
bapase/Template.old-orphaned
Modified:
bapase/README
bapase/datafiles.rb
bapase/html.rb
bapase/package-actions.txt
bapase/wnppsummary.rb
Log:
Orphaned packages improvements
- added O_PROP_RM (removal of O pkg suggested)
- fixed bug about merged bugs in wnppsummary.rb
- added Template.old-orphaned
- processed a few packages
Modified: bapase/README
===================================================================
--- bapase/README 2007-12-03 21:47:20 UTC (rev 538)
+++ bapase/README 2007-12-04 00:29:31 UTC (rev 539)
@@ -5,10 +5,20 @@
Actions:
--------
-PROP_RM - TODO
-PROP_RM_O - TODO
-PROP_O - TODO
-RM_REQ - TODO
-O - TODO
+PROP_RM - Removal has been proposed.
+
+PROP_RM_O - Removal has been proposed for some time, we are now orphaning the
+ package.
+
+PROP_O - Orphaning has been proposed.
+
+RM_REQ - Removal has been requested.
+
+O - Package has been orphaned.
+
WAIT - Package evolved somehow, so we postpone action for ARGUMENT days.
+
OK - Package returned to a normal state, and needs no further action currently.
+
+O_PROP_RM - Package is orphaned, previous maintainers have just been pinged.
+ (only for orphaned/ITAed packages)
Added: bapase/Template.old-orphaned
===================================================================
--- bapase/Template.old-orphaned (rev 0)
+++ bapase/Template.old-orphaned 2007-12-04 00:29:31 UTC (rev 539)
@@ -0,0 +1,20 @@
+severity XXX serious
+thanks
+
+Hi,
+
+The XXX package has been orphaned for a very long time now (in
+fact, it's one of the oldest orphaned packages in Debian). I'm going
+through such packages, to see if they can be safely removed from Debian,
+since noone seems to care about them.
+
+You are receiving this mail because your name showed up somewhere in the
+history of the package, or because I think that you might be interested
+for some reason, or because you maintain a related/similar package. Are
+you interested in adopting this package? Do you know potential adopters?
+If so, could you forward them this mail, Ccing the BTS and me?
+
+With no action from anyone, I'll request the removal of this package
+from Debian after a month.
+
+Thank you,
Modified: bapase/datafiles.rb
===================================================================
--- bapase/datafiles.rb 2007-12-03 21:47:20 UTC (rev 538)
+++ bapase/datafiles.rb 2007-12-04 00:29:31 UTC (rev 539)
@@ -57,7 +57,7 @@
date = Date::parse(date)
if act =~ /^(.+)\((.+)\)$/
act_name, act_arg = $1, $2
- if [ 'PROP_RM', 'PROP_RM_O', 'PROP_O', 'O', 'REQ_RM', 'SEC_RM' ].include?(act_name)
+ if [ 'PROP_RM', 'PROP_RM_O', 'PROP_O', 'O', 'REQ_RM', 'SEC_RM', 'O_PROP_RM' ].include?(act_name)
# FIXME check bug
elsif act_name == 'WAIT'
act_arg = act_arg.to_i
@@ -137,6 +137,15 @@
end
@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
+ @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
+ @act_status = "<a href=\"http://bugs.debian.org/#{@actions[idx][2][1]}\">Removal suggested (O pkg) (since #{@actions[idx][0]})</a>"
+ end
+ @act_comment = @actions[idx][3] if not @actions[idx][3].nil?
+ break
else
puts "Unknown act: #{@actions[idx][2][0]}"
exit(1)
Modified: bapase/html.rb
===================================================================
--- bapase/html.rb 2007-12-03 21:47:20 UTC (rev 538)
+++ bapase/html.rb 2007-12-04 00:29:31 UTC (rev 539)
@@ -53,7 +53,7 @@
if orphaned
d = ((Time::now - $orph[pkg].date)/86400).to_i
da = $orph[pkg].date.xmlschema.split('T')[0]
- io.puts "<td>#{d} (#{da})</td>"
+ io.puts "<td>#{d} (#{da})</td>"
end
if $testing[pkg]
io.puts "<td>#{$testing[pkg].testingdays}</td><td>#{$testing[pkg].syncdays}</td>"
Modified: bapase/package-actions.txt
===================================================================
--- bapase/package-actions.txt 2007-12-03 21:47:20 UTC (rev 538)
+++ bapase/package-actions.txt 2007-12-04 00:29:31 UTC (rev 539)
@@ -181,3 +181,10 @@
libapache-mod-auth-useragent 2007-12-02 filippo PROP_RM(429102) already done by alfie
+swedish 2007-12-04 lucas O_PROP_RM(156532)
+
+xgsmlib 2007-12-04 lucas O_PROP_RM(180060)
+
+libzvt 2007-12-04 lucas O_PROP_RM(195969)
+
+gtktalog 2007-12-04 lucas REQ_RM(266305)
Modified: bapase/wnppsummary.rb
===================================================================
--- bapase/wnppsummary.rb 2007-12-03 21:47:20 UTC (rev 538)
+++ bapase/wnppsummary.rb 2007-12-04 00:29:31 UTC (rev 539)
@@ -6,11 +6,18 @@
bugtitle = nil
bugtags = []
bugaffect = []
+bugmerged = false
IO::read('bts2ldap-fullindex').each_line do |l|
l.chomp!
key, val = l.split(' ', 2)
if key == 'dn:' and bugid != nil
+ if bugmerged
+ bugmerged = false
+ next
+ else
+ bugmerged = false
+ end
next if bugpkg != 'wnpp'
# Analyze bug.
if bugtitle =~ /^(ITA|ITP|O|RFA|RFP|RFH): ([^\s]*) -- (.*)$/
@@ -35,6 +42,8 @@
bugtitle = val
elsif key == 'debbugsAffected:'
bugaffect << val
+ elsif key == 'debbugsMergedWith:'
+ bugmerged = true if val.to_i < bugid.to_i
end
end
More information about the Collab-qa-commits
mailing list