[Collab-qa-commits] r1805 - udd/web/cgi-bin/attic

Lucas Nussbaum lucas at alioth.debian.org
Sat Sep 25 06:43:35 UTC 2010


Author: lucas
Date: 2010-09-25 06:43:32 +0000 (Sat, 25 Sep 2010)
New Revision: 1805

Modified:
   udd/web/cgi-bin/attic/ubuntu_stats.cgi
Log:
update for maverick

Modified: udd/web/cgi-bin/attic/ubuntu_stats.cgi
===================================================================
--- udd/web/cgi-bin/attic/ubuntu_stats.cgi	2010-09-25 06:43:07 UTC (rev 1804)
+++ udd/web/cgi-bin/attic/ubuntu_stats.cgi	2010-09-25 06:43:32 UTC (rev 1805)
@@ -2,7 +2,7 @@
 
 require 'dbi'
 require 'pp'
-RELEASE='karmic'
+RELEASE='maverick'
 
 puts "Content-type: text/plain\n\n"
 
@@ -26,7 +26,7 @@
 allpkgs = rows[0][0]
 
 puts "Source packages in Ubuntu: #{allpkgs}"
-puts "Source packages per component:"
+puts "Source packages per component: [main+restricted, universe+multiverse, total]"
 sth = dbh.prepare("select component,count(*) from ubuntu_sources where distribution = 'ubuntu' and release = '#{RELEASE}' group by component")
 sth.execute ; rows = sth.fetch_all
 pp getnums(rows)
@@ -75,16 +75,7 @@
 sth.execute ; rows = sth.fetch_all
 pp getnums(rows)
 
-puts "Also in Debian, (version !~ /ubuntu/):"
-sth = dbh.prepare("select component, count(*) from ubuntu_sources where distribution = 'ubuntu' and release = '#{RELEASE}'
-AND source !~ '^language-(support|pack)-.*' AND source !~ '^kde-l10n-.*' AND source !~ 'ubuntu' AND source !~ 'launchpad'
-AND source in (select source from sources where distribution='debian' and release in ('sid', 'lenny'))
-AND version !~ 'ubuntu'
- group by component")
-sth.execute ; rows = sth.fetch_all
-pp getnums(rows)
 
-
 puts "diverged+new upstream (main):"
 sth = dbh.prepare("select source from ubuntu_sources where distribution = 'ubuntu' and release = '#{RELEASE}' and component = 'main'
 AND source !~ '^language-(support|pack)-.*' AND source !~ '^kde-l10n-.*' AND source !~ 'ubuntu' AND source !~ 'launchpad'




More information about the Collab-qa-commits mailing list