[Collab-qa-commits] r645 - bapase

lucas at alioth.debian.org lucas at alioth.debian.org
Wed Jan 16 09:59:47 UTC 2008


Author: lucas
Date: 2008-01-16 09:59:46 +0000 (Wed, 16 Jan 2008)
New Revision: 645

Added:
   bapase/Snippets
Modified:
   bapase/Makefile
Log:
finished adding scores-nmued.html

Modified: bapase/Makefile
===================================================================
--- bapase/Makefile	2008-01-16 09:59:08 UTC (rev 644)
+++ bapase/Makefile	2008-01-16 09:59:46 UTC (rev 645)
@@ -84,6 +84,6 @@
 	./getremovals.rb > removals.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
+	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
 
 .PHONY: clean scores-html

Added: bapase/Snippets
===================================================================
--- bapase/Snippets	                        (rev 0)
+++ bapase/Snippets	2008-01-16 09:59:46 UTC (rev 645)
@@ -0,0 +1,14 @@
+# get all orphaned packages matching 'game':
+for i in $(cat wnppsummary |grep -v -e RFH -e RFA | awk '{print $1}'); do
+  if apt-cache show $i &>/dev/null ; then
+    apt-cache show $i | grep -q -i -e game && echo "game: $i" || echo "notgame: $i"
+  else
+    echo "aptfailed: $i"
+  fi
+done |grep "^game" > /tmp/games
+
+# list them in a nice way
+for i in $(awk '{print $2}' /tmp/games); do
+  desc=$(apt-cache show $i | grep "^Description:"| cut -d ' ' -f 2-)
+  echo "$i -- $desc"
+done




More information about the Collab-qa-commits mailing list