[Collab-qa-commits] r2254 - udd/web/cgi-bin

Iain Lane laney at alioth.debian.org
Thu May 3 11:49:36 UTC 2012


Author: laney
Date: 2012-05-03 11:49:35 +0000 (Thu, 03 May 2012)
New Revision: 2254

Modified:
   udd/web/cgi-bin/merges.cgi
   udd/web/cgi-bin/merges.json.cgi
   udd/web/cgi-bin/rcbugsl.cgi
   udd/web/cgi-bin/sync-candidates.cgi
   udd/web/cgi-bin/ubuntu_ftbfs.cgi
   udd/web/cgi-bin/ubuntu_old_packages.cgi
   udd/web/cgi-bin/ubuntu_orphaned.cgi
   udd/web/cgi-bin/ubuntupackages.cgi
Log:
s/precise/quantal/ in UDD web cgi scripts



Modified: udd/web/cgi-bin/merges.cgi
===================================================================
--- udd/web/cgi-bin/merges.cgi	2012-05-03 11:48:19 UTC (rev 2253)
+++ udd/web/cgi-bin/merges.cgi	2012-05-03 11:49:35 UTC (rev 2254)
@@ -5,7 +5,7 @@
 require 'uri'
 require 'net/http'
 
-URELEASE='precise'
+URELEASE='quantal'
 
 puts "Content-type: text/html\n\n"
 
@@ -32,7 +32,7 @@
 EOF
 
 DREL='sid'
-UREL='precise'
+UREL='quantal'
 puts "Debian release: #{DREL}<br>"
 puts "Ubuntu release: #{UREL}<br>"
 puts "Bugs data refreshed once a day. Packages data refreshed twice a day.<br>"

Modified: udd/web/cgi-bin/merges.json.cgi
===================================================================
--- udd/web/cgi-bin/merges.json.cgi	2012-05-03 11:48:19 UTC (rev 2253)
+++ udd/web/cgi-bin/merges.json.cgi	2012-05-03 11:49:35 UTC (rev 2254)
@@ -6,12 +6,12 @@
 require 'net/http'
 require 'json/pure'
 
-URELEASE='precise'
+URELEASE='quantal'
 
 puts "Content-type: application/json\n\n"
 
 DREL='sid'
-UREL='precise'
+UREL='quantal'
 
 dbh = DBI::connect('DBI:Pg:dbname=udd;port=5441;host=localhost', 'guest')
 

Modified: udd/web/cgi-bin/rcbugsl.cgi
===================================================================
--- udd/web/cgi-bin/rcbugsl.cgi	2012-05-03 11:48:19 UTC (rev 2253)
+++ udd/web/cgi-bin/rcbugsl.cgi	2012-05-03 11:49:35 UTC (rev 2254)
@@ -79,13 +79,13 @@
 puts "<table>"
 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 = 'precise' 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)
+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 = 'quantal' 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 and bugs.source in ('#{spkgss}') 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>"
    puts "<td>#{r['package']}</td>"
-   puts "<td><a href=\"http://packages.qa.debian.org/#{r['source']}\">#{r['source']}</a> <a href=\"https://launchpad.net/ubuntu/precise/+source/#{r['source']}/+changelog\">UbCh</a></td>"
+   puts "<td><a href=\"http://packages.qa.debian.org/#{r['source']}\">#{r['source']}</a> <a href=\"https://launchpad.net/ubuntu/quantal/+source/#{r['source']}/+changelog\">UbCh</a></td>"
    puts "<td>#{r['dversion']} / #{r['uversion']}</td>"
    puts "<td>#{r['insts']}</td>"
    puts "<td>#{r['title']}</td>"

Modified: udd/web/cgi-bin/sync-candidates.cgi
===================================================================
--- udd/web/cgi-bin/sync-candidates.cgi	2012-05-03 11:48:19 UTC (rev 2253)
+++ udd/web/cgi-bin/sync-candidates.cgi	2012-05-03 11:49:35 UTC (rev 2254)
@@ -9,7 +9,7 @@
 puts "Content-type: application/json\n\n"
 
 DREL='sid'
-UREL='precise'
+UREL='quantal'
 
 dbh = DBI::connect('DBI:Pg:dbname=udd;port=5441;host=localhost', 'guest')
 

Modified: udd/web/cgi-bin/ubuntu_ftbfs.cgi
===================================================================
--- udd/web/cgi-bin/ubuntu_ftbfs.cgi	2012-05-03 11:48:19 UTC (rev 2253)
+++ udd/web/cgi-bin/ubuntu_ftbfs.cgi	2012-05-03 11:49:35 UTC (rev 2254)
@@ -6,7 +6,7 @@
 require 'net/http'
 require 'cgi'
 
-URELEASE='precise'
+URELEASE='quantal'
 
 $cgi = CGI::new
 

Modified: udd/web/cgi-bin/ubuntu_old_packages.cgi
===================================================================
--- udd/web/cgi-bin/ubuntu_old_packages.cgi	2012-05-03 11:48:19 UTC (rev 2253)
+++ udd/web/cgi-bin/ubuntu_old_packages.cgi	2012-05-03 11:49:35 UTC (rev 2254)
@@ -3,7 +3,7 @@
 
 require 'dbi'
 
-RELEASE='precise'
+RELEASE='quantal'
 
 puts "Content-type: text/html\n\n"
 

Modified: udd/web/cgi-bin/ubuntu_orphaned.cgi
===================================================================
--- udd/web/cgi-bin/ubuntu_orphaned.cgi	2012-05-03 11:48:19 UTC (rev 2253)
+++ udd/web/cgi-bin/ubuntu_orphaned.cgi	2012-05-03 11:49:35 UTC (rev 2254)
@@ -33,7 +33,7 @@
              WHERE maintainer_name LIKE '%Debian QA%'
              AND release = 'sid' )
            AND s.release = 'sid'
-           AND u.release = 'precise'
+           AND u.release = 'quantal'
            AND u.version LIKE '%ubuntu%'
            ORDER BY s.source'''
 

Modified: udd/web/cgi-bin/ubuntupackages.cgi
===================================================================
--- udd/web/cgi-bin/ubuntupackages.cgi	2012-05-03 11:48:19 UTC (rev 2253)
+++ udd/web/cgi-bin/ubuntupackages.cgi	2012-05-03 11:49:35 UTC (rev 2254)
@@ -3,7 +3,7 @@
 
 require 'dbi'
 
-RELEASE='precise'
+RELEASE='quantal'
 
 puts "Content-type: text/plain\n\n"
 




More information about the Collab-qa-commits mailing list