{"id":814191,"url":"http://patchwork.ozlabs.org/api/1.2/patches/814191/?format=json","web_url":"http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20170915093704.4714-1-po-hsu.lin@canonical.com/","project":{"id":15,"url":"http://patchwork.ozlabs.org/api/1.2/projects/15/?format=json","name":"Ubuntu Kernel","link_name":"ubuntu-kernel","list_id":"kernel-team.lists.ubuntu.com","list_email":"kernel-team@lists.ubuntu.com","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170915093704.4714-1-po-hsu.lin@canonical.com>","list_archive_url":null,"date":"2017-09-15T09:37:04","name":"[kteam-tools] wfl/bug.py: change the way to detect when to use esm ppa","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"2dbac2f52b6e200e0506e78c6ac06e661afe56c7","submitter":{"id":70488,"url":"http://patchwork.ozlabs.org/api/1.2/people/70488/?format=json","name":"Po-Hsu Lin","email":"po-hsu.lin@canonical.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20170915093704.4714-1-po-hsu.lin@canonical.com/mbox/","series":[{"id":3262,"url":"http://patchwork.ozlabs.org/api/1.2/series/3262/?format=json","web_url":"http://patchwork.ozlabs.org/project/ubuntu-kernel/list/?series=3262","date":"2017-09-15T09:37:04","name":"[kteam-tools] wfl/bug.py: change the way to detect when to use esm ppa","version":1,"mbox":"http://patchwork.ozlabs.org/series/3262/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/814191/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/814191/checks/","tags":{},"related":[],"headers":{"Return-Path":"<kernel-team-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com\n\t(client-ip=91.189.94.19; helo=huckleberry.canonical.com;\n\tenvelope-from=kernel-team-bounces@lists.ubuntu.com;\n\treceiver=<UNKNOWN>)","Received":["from huckleberry.canonical.com (huckleberry.canonical.com\n\t[91.189.94.19])\n\tby ozlabs.org (Postfix) with ESMTP id 3xtr0Q0tktz9s7B;\n\tFri, 15 Sep 2017 19:37:26 +1000 (AEST)","from localhost ([127.0.0.1] helo=huckleberry.canonical.com)\n\tby huckleberry.canonical.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1dsn3q-0004PS-El; Fri, 15 Sep 2017 09:37:22 +0000","from youngberry.canonical.com ([91.189.89.112])\n\tby huckleberry.canonical.com with esmtps\n\t(TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128)\n\t(Exim 4.86_2) (envelope-from <po-hsu.lin@canonical.com>)\n\tid 1dsn3o-0004PG-Ct\n\tfor kernel-team@lists.ubuntu.com; Fri, 15 Sep 2017 09:37:20 +0000","from mail-pf0-f200.google.com ([209.85.192.200])\n\tby youngberry.canonical.com with esmtps\n\t(TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.76) (envelope-from <po-hsu.lin@canonical.com>)\n\tid 1dsn3o-00039R-1F\n\tfor kernel-team@lists.ubuntu.com; Fri, 15 Sep 2017 09:37:20 +0000","by mail-pf0-f200.google.com with SMTP id f84so3583445pfj.0\n\tfor <kernel-team@lists.ubuntu.com>;\n\tFri, 15 Sep 2017 02:37:19 -0700 (PDT)","from localhost.localdomain ([175.41.48.77])\n\tby smtp.gmail.com with ESMTPSA id\n\tj9sm1360374pgc.11.2017.09.15.02.37.17\n\tfor <kernel-team@lists.ubuntu.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 15 Sep 2017 02:37:17 -0700 (PDT)"],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:subject:date:message-id;\n\tbh=PXl7/2WemDfucntOXStLidtTeBQIdvMJxNY9a6+79RA=;\n\tb=GjRLaV1489lcfRWV6etLWiHXayOyuOpZSjP8wuiV2DIHN+mQN6+Outhu1EalyWFsOq\n\te+puvn53FAMqFdkdE8/dAOkp7bMZQXWPCBlBQ1BsVRW2a7530vtccUo+zW0gSaS1Uer8\n\tDxWXsso44qkui215mNBA73kQ/0qO4mLoYPlC00uVep9AQUnzCZvyj+wS0GBFYov4BwJ8\n\tSaHrVt2NACN7Ys/YOi6Cl9+BXq4rgre6FQGe3mvmZdiKjuhFdbF6fPRFeyFglyanhxgs\n\tZwkW4tm+HXoKRjAjg84f7KXQXVnLkmxCbCL0WWwv43QABIqCy9BCc6ScDzFwB6XsVvLk\n\tWWNg==","X-Gm-Message-State":"AHPjjUiRtZC3fA7GK5c2l0VFEtAeupcDHVT8zZdbvgRUAowg0kJ/+TzT\n\tDivH4y6OLHy8gS3RIEJv0ckQNaJvqvdJqcqcZPA0kG9mWNhGT0OkD9/3qBLNl3j5cVmRx7b3qCY\n\tYptRU8Iny1qcxRoOQ75NUJPzU/myqQCtc","X-Received":["by 10.99.96.75 with SMTP id u72mr21551376pgb.178.1505468238649; \n\tFri, 15 Sep 2017 02:37:18 -0700 (PDT)","by 10.99.96.75 with SMTP id u72mr21551367pgb.178.1505468238469; \n\tFri, 15 Sep 2017 02:37:18 -0700 (PDT)"],"X-Google-Smtp-Source":"ADKCNb5eIlbyQpMjP/lDpzTUWcJDrKMD04Fv+1wwGTpyNDy73PwQJZ42kdYsjs85Ixzk6HXMnOBa8Q==","From":"Po-Hsu Lin <po-hsu.lin@canonical.com>","To":"kernel-team@lists.ubuntu.com","Subject":"[kteam-tools][PATCH] wfl/bug.py: change the way to detect when to\n\tuse esm ppa","Date":"Fri, 15 Sep 2017 17:37:04 +0800","Message-Id":"<20170915093704.4714-1-po-hsu.lin@canonical.com>","X-Mailer":"git-send-email 2.11.0","X-BeenThere":"kernel-team@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Kernel team discussions <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n\t<mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/kernel-team>","List-Post":"<mailto:kernel-team@lists.ubuntu.com>","List-Help":"<mailto:kernel-team-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n\t<mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"kernel-team-bounces@lists.ubuntu.com","Sender":"\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"},"content":"Both Precise and Trusty HWE kernel are running on series Precise.\nUse this as a better criteria, since the old if statement does not\nwork for Precise kernel, there is no package called precise.\n\nSigned-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>\n---\n stable/wfl/bug.py | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)","diff":"diff --git a/stable/wfl/bug.py b/stable/wfl/bug.py\nindex 632cbc05..f897a139 100644\n--- a/stable/wfl/bug.py\n+++ b/stable/wfl/bug.py\n@@ -847,12 +847,12 @@ class WorkflowBug():\n \n         if ppa:\n             msg['pocket'] = 'ppa'\n-            if s.pkg_name in ['linux-lts-trusty'] or s.pkg_name in ['precise']:\n+            if s.series in ['precise']:\n                 msg['ppa'] = 'ppa:canonical-kernel-esm/ppa'\n             else:\n                 msg['ppa'] = 'ppa:canonical-kernel-team/ppa'\n             msg['key']    = 'kernel.published.ppa.%s' % s.series\n-        elif s.pkg_name in ['linux-lts-trusty'] or s.pkg_name in ['precise']:\n+        elif s.series in ['precise']:\n             msg['pocket'] = 'ppa'\n             msg['ppa']    = 'ppa:canonical-kernel-esm/proposed'\n             msg['key']    = 'kernel.published.ppa.%s' % s.series\n","prefixes":["kteam-tools"]}