[kteam-tools][PATCH] collect-window-data: expand the interested_source_packages list

Po-Hsu Lin po-hsu.lin at canonical.com
Wed Aug 1 11:34:45 UTC 2018


The interested_source_packages list was overrided with "linux" only in commit
e1b01445dback in 2011, I think perhaps it's a good timing now to expand it for
the daily bug report as we're having more and more projects to care about.

Ignore the meta packages as the traffic there is really low.

Signed-off-by: Po-Hsu Lin <po-hsu.lin at canonical.com>
---
 web/scripts/collect-window-data | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/web/scripts/collect-window-data b/web/scripts/collect-window-data
index 92a30a4a..b24063a2 100755
--- a/web/scripts/collect-window-data
+++ b/web/scripts/collect-window-data
@@ -279,16 +279,11 @@ class CollectRegressionsData(StdApp):
                     if not source.supported:
                         continue
                     for package in source.packages:
-                        if package.name not in interested_source_packages:
+                        if 'meta' not in package.name and package.name not in interested_source_packages:
                             interested_source_packages.append(package.name)
 
-            interested_source_packages = ['linux']
             for package_name in interested_source_packages:
                 self.verbose('%s\n' % package_name)
-
-                # Within a distribution are many source packages. We actually care about
-                # several, but _mostly_ the 'linux' source package.
-                #
                 source_package = self.distro.get_source_package(package_name)
                 if source_package == None:
                     error("The source package does not exist.")
-- 
2.17.1





More information about the kernel-team mailing list