[Collab-qa-commits] r781 - bapase

lucas at alioth.debian.org lucas at alioth.debian.org
Sun Apr 13 17:56:35 UTC 2008


Author: lucas
Date: 2008-04-13 17:56:34 +0000 (Sun, 13 Apr 2008)
New Revision: 781

Modified:
   bapase/Makefile
   bapase/bugs_rm_pkgs.rb
Log:
bugs_rm_pkgs.* improvements

Modified: bapase/Makefile
===================================================================
--- bapase/Makefile	2008-04-13 17:49:03 UTC (rev 780)
+++ bapase/Makefile	2008-04-13 17:56:34 UTC (rev 781)
@@ -1,6 +1,6 @@
 MIRROR=http://ftp.de.debian.org/debian
 
-all: scores-html
+all: scores-html bugs_rm_pkgs.txt
 	
 scores-html: Sources_ok testing-status.txt popcon_sources.txt package-actions.txt bugsummary wnppsummary orphaned_packages.txt upload-history.txt removals.txt dehs.txt
 	./gen_html.rb
@@ -86,7 +86,10 @@
 dehs.txt:
 	wget -O dehs.txt http://dehs.alioth.debian.org/ddpomail.txt
 
+bugs_rm_pkgs.txt: bts2ldap-fullindex
+	./bugs_rm_pkgs.rb > bugs_rm_pkgs.txt
+
 clean:
-	rm -f testing-status.txt *-Sources popcon_sources.txt scores.txt Sources_ok bts2ldap-fullindex RC+patch.txt bugsummary wnppsummary orphaned_packages.txt scores-buggy.html scores-orphaned.html upload-history.txt scores-useless.html removals.txt scores-nmued.html dehs.txt
+	rm -f testing-status.txt *-Sources popcon_sources.txt scores.txt Sources_ok bts2ldap-fullindex RC+patch.txt bugsummary wnppsummary orphaned_packages.txt scores-buggy.html scores-orphaned.html upload-history.txt scores-useless.html removals.txt scores-nmued.html dehs.txt bugs_rm_pkgs.txt
 
 .PHONY: clean scores-html

Modified: bapase/bugs_rm_pkgs.rb
===================================================================
--- bapase/bugs_rm_pkgs.rb	2008-04-13 17:49:03 UTC (rev 780)
+++ bapase/bugs_rm_pkgs.rb	2008-04-13 17:56:34 UTC (rev 781)
@@ -1,9 +1,9 @@
-#!/usr/bin/ruby -w
 
+
 # see merkel:/org/bugs.debian.org/etc/pseudo-packages.description
 PSEUDO_PKGS = ['base', 'cdrom', 'spam', 'press', 'kernel', 'project', 'general', 'listarchives', 'nm.debian.org', 'qa.debian.org', 'ftp.debian.org', 'www.debian.org', 'bugs.debian.org', 'lists.debian.org', 'wnpp', 'cdimage.debian.org', 'tech-ctte', 'mirrors', 'security.debian.org', 'installation-reports', 'upgrade-reports', 'release-notes']
 
-STDERR.puts "#{Time::now} Reading LDAP dump"
+#STDERR.puts "#{Time::now} Reading LDAP dump"
 bugid = nil
 bugsrcpkg = nil
 bugpkg = nil
@@ -44,8 +44,8 @@
   end
 end
 
-STDERR.puts "#{Time::now} End reading LDAP dump"
-STDERR.puts "#{Time::now} Reading *Sources"
+#STDERR.puts "#{Time::now} End reading LDAP dump"
+#STDERR.puts "#{Time::now} Reading *Sources"
 f = []
 [ 'testing-*-Sources', 'unstable-*-Sources', 'experimental-*-Sources'].each do |m|
   f += Dir::glob(m)
@@ -63,7 +63,7 @@
     end
   end
 end
-STDERR.puts "#{Time::now} End reading *Sources"
+#STDERR.puts "#{Time::now} End reading *Sources"
 ibugs.each do |l|
   # could be made stricter at some point
   next if srcs[l[2]] or bins[l[1]] or srcs[l[1]] or bins[l[2]]




More information about the Collab-qa-commits mailing list