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

Message ID 20180801113445.11780-1-po-hsu.lin@canonical.com
State New
Headers show
Series
  • [kteam-tools] collect-window-data: expand the interested_source_packages list
Related show

Commit Message

Po-Hsu Lin Aug. 1, 2018, 11:34 a.m.
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@canonical.com>
---
 web/scripts/collect-window-data | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Patch

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.")