[DRE-commits] [SCM] Tracking the Debian/Ruby wheezy transition branch, master, updated. efdf2d19208628d362ba8ffa180f756b4aaa7c43

Lucas Nussbaum lucas at alioth.debian.org
Thu Apr 14 18:40:14 UTC 2011


The following commit has been merged in the master branch:
commit efdf2d19208628d362ba8ffa180f756b4aaa7c43
Author: Lucas Nussbaum <lucas at alioth.debian.org>
Date:   Thu Apr 14 18:39:15 2011 +0000

    also display packages in NEW

diff --git a/details.html.erb b/details.html.erb
index 592f456..f6c9f56 100644
--- a/details.html.erb
+++ b/details.html.erb
@@ -56,7 +56,8 @@
         <td><%= package['uploaders'] %></th>
       </tr>
     <% end %>
-    </table>    <h2>Packages using new policy</h2>
+    </table>
+    <h2>Packages using new policy</h2>
     <ul>
       <li>Migrated binary packages: <%= done_packages.count %></li>
       <li>Migrated source packages: <%= done_source_packages.count %></li>
@@ -81,6 +82,21 @@
       </tr>
     <% end %>
     </table>
+    <h2>Packages in NEW</h2>
+    <table class='buglist'>
+      <tr>
+        <th>source</th>
+        <th>package</th>
+        <th>maintainer</th>
+      </tr>
+    <% new_packages.each do |package| %>
+      <tr>
+        <td><%= package['source'] %></th>
+        <td><%= package['package'] %></th>
+        <td><%= package['maintainer'] %></th>
+      </tr>
+    <% end %>
+    </table>
     <h2>About this service</h2>
     <p>
     Source code for this service <a href='http://git.debian.org/?p=pkg-ruby-extras/wheezy-transition-tracker.git;a=summary'>is available</a> on <code>git.debian.org</code>.
diff --git a/retrieve.rb b/retrieve.rb
index 5c7385a..0bd9338 100644
--- a/retrieve.rb
+++ b/retrieve.rb
@@ -36,8 +36,14 @@ and (s.build_depends ~ '.*gem2deb.*')
 order by source, p.package;
 EOF
 
+new_packages_query = <<EOF
+select source, package, maintainer from new_packages
+where package ~ 'ruby' or source ~ 'ruby' or maintainer ~ 'ruby';
+EOF
+
 pending_packages = connection.exec(pending_packages_query)
 done_packages = connection.exec(done_packages_query)
+new_packages = connection.exec(new_packages_query)
 
 done_source_packages = done_packages.map { |pkg| pkg['source'] }.uniq
 pending_packages = pending_packages.to_a

-- 
Tracking the Debian/Ruby wheezy transition



More information about the Pkg-ruby-extras-commits mailing list