[DRE-commits] [SCM] pkg-ruby-extras.git branch, master, updated. a95540b18278165a64624b5538f3b3a3339cc077

Antonio Terceiro terceiro at softwarelivre.org
Fri Jul 29 07:46:41 UTC 2011


The following commit has been merged in the master branch:
commit 34824ecb71b5a9d40f7f5beac485d4324316daea
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Fri Jul 29 00:41:56 2011 -0700

    Fix for the case where we have sid/contrib

diff --git a/pkg-overview b/pkg-overview
index a7d89a7..c677d97 100755
--- a/pkg-overview
+++ b/pkg-overview
@@ -40,7 +40,7 @@ def rmadison_data(packages)
   end
   rows = lines.map { |line| line.strip.sub(/^\s*/, '').split(/\s+\|\s+/) }
   packages.each do |pkg|
-    v = rows.select { |row| row[0] == pkg && row[2] == 'sid' && row[3] =~ /source/} \
+    v = rows.select { |row| row[0] == pkg && row[2] =~ /^sid\\?/ && row[3] =~ /source/} \
       .map { |row| row[1] } \
       .map { |v| v.gsub(/^[0-9]+:/,'') } \
       .map { |v| DebVersion::new(v) } \

-- 
pkg-ruby-extras.git



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