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

Stefan Bader stefan.bader at canonical.com
Fri Aug 24 07:52:22 UTC 2018


On 01.08.2018 13:34, Po-Hsu Lin wrote:
> 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.

This seems to have been ignored for some time. Speaking for myself only, I find
it hard to make up my mind as I don't know really where this change will show up
and what this would look like before and after. Maybe that is something which
other people would also find helpful.

-Stefan

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20180824/06733edd/attachment.sig>


More information about the kernel-team mailing list