[Collab-qa-commits] r1647 - udd/web/cgi-bin
David Paleino
dapal at alioth.debian.org
Mon Dec 21 18:04:37 UTC 2009
Author: dapal
Date: 2009-12-21 18:04:28 +0000 (Mon, 21 Dec 2009)
New Revision: 1647
Modified:
udd/web/cgi-bin/rcbugs.cgi
Log:
Fix second table of the page, really exclude bugs tagged "patch"
Modified: udd/web/cgi-bin/rcbugs.cgi
===================================================================
--- udd/web/cgi-bin/rcbugs.cgi 2009-12-21 18:03:25 UTC (rev 1646)
+++ udd/web/cgi-bin/rcbugs.cgi 2009-12-21 18:04:28 UTC (rev 1647)
@@ -50,7 +50,7 @@
puts "<tr><th>bug</th><th>package</th><th>source</th><th>versions (D/U)</th><th>popcon</th><th>title</th></tr>"
sth = dbh.prepare("WITH ubudeb AS (select distinct on (d.source, u.source) d.source as dsource, u.source as usource, d.version as dversion, u.version as uversion from sources_uniq d, ubuntu_sources u where d.release = 'sid' and d.distribution = 'debian' and u.release = 'lucid' and u.distribution = 'ubuntu' and u.source = d.source and u.version > d.version order by d.source asc, u.source asc, d.version desc)
-select id, bugs.package, bugs.source, title, dversion, uversion, insts from bugs, ubudeb, popcon_src where popcon_src.source = bugs.source and id in (select id from bugs_rt_affects_testing_and_unstable) and id in (select id from bugs_tags where tag='patch') and severity >= 'serious' and ubudeb.dsource = bugs.source order by id")
+select id, bugs.package, bugs.source, title, dversion, uversion, insts from bugs, ubudeb, popcon_src where popcon_src.source = bugs.source and id in (select id from bugs_rt_affects_testing_and_unstable) and id not in (select id from bugs_tags where tag='patch') and severity >= 'serious' and ubudeb.dsource = bugs.source order by id")
sth.execute ; rows = sth.fetch_all
rows.each do |r|
puts "<tr><td><a href=\"http://bugs.debian.org/#{r['id']}\">#{r['id']}</a></td>"
More information about the Collab-qa-commits
mailing list