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

Lucas Nussbaum lucas at alioth.debian.org
Wed Apr 13 18:42:16 UTC 2011


The following commit has been merged in the master branch:
commit 257dd102886d4e364bd70beeeaa46a1fc42b49e4
Author: Lucas Nussbaum <lucas at alioth.debian.org>
Date:   Wed Apr 13 18:42:09 2011 +0000

    generate two lists: team-maintained and not team-maintained

diff --git a/details.html.erb b/details.html.erb
index ce11b79..592f456 100644
--- a/details.html.erb
+++ b/details.html.erb
@@ -15,6 +15,7 @@
       <li>Pending binary packages: <%= pending_packages.count %></li>
       <li>Pending source packages: <%= pending_source_packages.count %></li>
     </ul>
+    <h3>Maintained by the PRE team</h3>
     <table class='buglist'>
       <tr>
         <th>source</th>
@@ -24,7 +25,7 @@
         <th>maintainer</th>
         <th>uploaders</th>
       </tr>
-    <% pending_packages.each do |package| %>
+    <% pending_packages_team.each do |package| %>
       <tr>
         <td><%= package['source'] %></th>
         <td><%= package['binary'] %></th>
@@ -35,7 +36,27 @@
       </tr>
     <% end %>
     </table>
-    <h2>Packages using new policy</h2>
+    <h3>Not maintained by the PRE team</h3>
+    <table class='buglist'>
+      <tr>
+        <th>source</th>
+        <th>package</th>
+        <th>arch</th>
+        <th>popcon</th>
+        <th>maintainer</th>
+        <th>uploaders</th>
+      </tr>
+    <% pending_packages_noteam.each do |package| %>
+      <tr>
+        <td><%= package['source'] %></th>
+        <td><%= package['binary'] %></th>
+        <td><%= package['arch'] %></th>
+        <td><%= package['popcon'] %></th>
+        <td><%= package['maintainer'] %></th>
+        <td><%= package['uploaders'] %></th>
+      </tr>
+    <% end %>
+    </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>
diff --git a/retrieve.rb b/retrieve.rb
index bf35f33..5c7385a 100644
--- a/retrieve.rb
+++ b/retrieve.rb
@@ -45,6 +45,9 @@ done_binary_packages = done_packages.map { |pkg| pkg['binary'] }
 pending_packages.reject! { |pkg| done_binary_packages.include?(pkg['binary']) }
 pending_source_packages = pending_packages.map { |pkg| pkg['source'] }.uniq
 
+pending_packages_team = pending_packages.select { |pkg| pkg['maintainer'] =~ /pkg-ruby-extras/ or pkg['uploaders'] =~ /pkg-ruby-extras/ }
+pending_packages_noteam = pending_packages.select { |pkg| not (pkg['maintainer'] =~ /pkg-ruby-extras/ or pkg['uploaders'] =~ /pkg-ruby-extras/) }
+
 new_time_data = {
   'date' => Date.today.strftime('%Y%m%d').to_i,
   'pending' => pending_packages.count,

-- 
Tracking the Debian/Ruby wheezy transition



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