[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] Update for Ubuntu Quantal as stable release



I like the UDD webpage, but saw that the links to Ubuntu are out-dated. Please
find attached the changes that I think are necessary to bring udd.debian.org
up-to-date.

Paul

---
 web/bugs.cgi                                                       |    3 ++-
 .../attic/sources_in_ubuntu_but_not_in_debian_by_popcon.cgi        |    2 +-
 web/dmd.cgi                                                        |    4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/web/bugs.cgi b/web/bugs.cgi
index 1860aa7..74ac4d8 100755
--- a/web/bugs.cgi
+++ b/web/bugs.cgi
@@ -1,4 +1,5 @@
 #!/usr/bin/ruby -w
+# -*- coding: utf-8 -*-
 
 require 'dbi'
 require 'pp'
@@ -39,7 +40,7 @@ FILTERS = [
  ['outdatedwheezy', 'outdated binaries in wheezy', "bugs.source in (select distinct p1.source from packages_summary p1, packages_summary p2 where p1.source = p2.source and p1.release='wheezy' and p2.release='wheezy' and p1.source_version != p2.source_version)"],
  ['outdatedsid', 'outdated binaries in sid', "bugs.source in (select distinct p1.source from packages_summary p1, packages_summary p2 where p1.source = p2.source and p1.release='sid' and p2.release='sid' and p1.source_version != p2.source_version)"],
  ['needmig', 'different versions in wheezy and sid', "bugs.source in (select s1.source from sources s1, sources s2 where s1.source = s2.source and s1.release = 'wheezy' and s2.release='sid' and s1.version != s2.version)"],
- ['newerubuntu', 'newer in Ubuntu than in sid', "bugs.source in (select s1.source from sources_uniq s1, ubuntu_sources s2 where s1.source = s2.source and s1.release = 'sid' and s2.release='precise' and s1.version < s2.version)"],
+ ['newerubuntu', 'newer in Ubuntu than in sid', "bugs.source in (select s1.source from sources_uniq s1, ubuntu_sources s2 where s1.source = s2.source and s1.release = 'sid' and s2.release='raring' and s1.version < s2.version)"],
  ['rtwheezy-will-remove', 'RT tag for wheezy: will-remove', "id in (select id from bugs_usertags where email='release.debian.org@packages.debian.org' and tag='wheezy-will-remove')"],
  ['rtwheezy-can-defer', 'RT tag for wheezy: can-defer', "id in (select id from bugs_usertags where email='release.debian.org@packages.debian.org' and tag='wheezy-can-defer')"],
  ['rtwheezy-is-blocker', 'RT tag for wheezy: is-blocker', "id in (select id from bugs_usertags where email='release.debian.org@packages.debian.org' and tag='wheezy-is-blocker')"],
diff --git a/web/cgi-bin/attic/sources_in_ubuntu_but_not_in_debian_by_popcon.cgi b/web/cgi-bin/attic/sources_in_ubuntu_but_not_in_debian_by_popcon.cgi
index c04f948..4d00ca6 100755
--- a/web/cgi-bin/attic/sources_in_ubuntu_but_not_in_debian_by_popcon.cgi
+++ b/web/cgi-bin/attic/sources_in_ubuntu_but_not_in_debian_by_popcon.cgi
@@ -10,7 +10,7 @@ my $dbh = DBI->connect("dbi:Pg:dbname=udd;port=5452;host=localhost", "guest") or
 my $sth = $dbh->prepare(<<EOF
 	SELECT DISTINCT ubu.source, insts
         FROM (SELECT DISTINCT source FROM ubuntu_sources
-                WHERE release = 'precise')
+                WHERE release = 'quantal')
           AS ubu,
              ubuntu_popcon_src
         WHERE NOT EXISTS (SELECT * FROM sources WHERE distribution = 'debian'
diff --git a/web/dmd.cgi b/web/dmd.cgi
index 2ffb4b4..cb114df 100755
--- a/web/dmd.cgi
+++ b/web/dmd.cgi
@@ -308,13 +308,13 @@ if cgi.params != {}
 <tr>
 <th>source</th>
 <th>&nbsp;&nbsp;&nbsp;&nbsp;bugs&nbsp;&nbsp;&nbsp;&nbsp;</th><th>&nbsp;&nbsp;&nbsp;&nbsp;patches&nbsp;&nbsp;&nbsp;&nbsp;</th>
-<th>&nbsp;&nbsp;&nbsp;&nbsp;precise (stable)&nbsp;&nbsp;&nbsp;&nbsp;</th><th>&nbsp;&nbsp;&nbsp;&nbsp;raring (devel)&nbsp;&nbsp;&nbsp;&nbsp;</th><th>&nbsp;&nbsp;&nbsp;&nbsp;sid&nbsp;&nbsp;&nbsp;&nbsp;</th>
+<th>&nbsp;&nbsp;&nbsp;&nbsp;quantal (stable)&nbsp;&nbsp;&nbsp;&nbsp;</th><th>&nbsp;&nbsp;&nbsp;&nbsp;raring (devel)&nbsp;&nbsp;&nbsp;&nbsp;</th><th>&nbsp;&nbsp;&nbsp;&nbsp;sid&nbsp;&nbsp;&nbsp;&nbsp;</th>
 <th>&nbsp;&nbsp;&nbsp;&nbsp;links&nbsp;&nbsp;&nbsp;&nbsp;</th>
 </tr>
 </thead>
 <tbody>
   EOF
-  USTB='precise'
+  USTB='quantal'
   UDEV='raring'
   $uddd.sources.keys.sort.each do |src|
     next if not $uddd.versions.include?(src)
-- 
1.7.10.4


Reply to: