From patchwork Thu May 18 15:26:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kleber Sacilotto de Souza X-Patchwork-Id: 764048 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 3wTFQY3r6bz9s65; Fri, 19 May 2017 01:26:29 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical-com.20150623.gappssmtp.com header.i=@canonical-com.20150623.gappssmtp.com header.b="rS+jMJu9"; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1dBNJp-0005jV-TA; Thu, 18 May 2017 15:26:25 +0000 Received: from mail-wm0-f50.google.com ([74.125.82.50]) by huckleberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1dBNJk-0005jO-H1 for kernel-team@lists.ubuntu.com; Thu, 18 May 2017 15:26:20 +0000 Received: by mail-wm0-f50.google.com with SMTP id d127so56290965wmf.0 for ; Thu, 18 May 2017 08:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=0YG7b3ksFBTdMmaoYnjIf0jMT9reT72cVpE7ka7AF8Y=; b=rS+jMJu9IYW6ID4Y4GsruyarKC0hpP2/0D0/e65SrcjXhFSGG1jsJJIncxQlq/OLUR fQNZkSwJRgYUwZ/McgGziNf54lWv29C+l7jl+ohmy6iqr1bpn5hff2MZzo2qNPoiKTIZ xTGOIf0Iy5YbP/9PkWW8aGw/wlksTeUCbO72DdanadKOCl+TFa46MIVQnQ6HTYBljnz5 nTdhOfoQceR3wVbNZree/ulF/NdHtChON0/Cf5QyJDWxYVbGVbE5fr1PTVohuN+DeZJO 95Dha1nPMnXrqbCZU99UsWS91SGzA81PPebofIeQc/qu03e5k8MyAZlRspB0oligY7pg aupQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0YG7b3ksFBTdMmaoYnjIf0jMT9reT72cVpE7ka7AF8Y=; b=J2lwk4Yd3Fe5+Gu+OPbDsQmLNCbCkh0jZYyBj60P6K8HY2qQGJyinlTgOYiThbfB/u N9s7ajGycV2Dry56PR5gUW8WbBtTMRSLVSKS6XE4Yca7UuAjnmY0CxaK8mUM73XLw+Yr MLuzfSbB2ceLGGoFkCZJV20YnPYOjlNLY/rIDTmS0W7xe58muIIxqDNzGBymKt1A5LAE CJn/GbMZznLEggBtQtngnhb71cAVh3/zoKIaRDv6Px3FwP6/dlWacK95Gv3mzoL4Mi90 3s55976Iowwhl4BSUeyDbOxeznuzh3SOqD7cS3XEg6o1RVIgNiAG9yfpMeGN5aZRa79H BUeQ== X-Gm-Message-State: AODbwcDZWk27+ZaRgZgPdqJllgVuLgjBRxnE/sQ0BOlF9uw9jyK4/ag3 XW05YASTmOLyHydR X-Received: by 10.80.174.36 with SMTP id c33mr3729435edd.103.1495121180068; Thu, 18 May 2017 08:26:20 -0700 (PDT) Received: from localhost (x4e37ee15.dyn.telefonica.de. [78.55.238.21]) by smtp.gmail.com with ESMTPSA id l4sm5682231edd.69.2017.05.18.08.26.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 May 2017 08:26:19 -0700 (PDT) From: Kleber Sacilotto de Souza To: kernel-team@lists.ubuntu.com Subject: [kteam-tools][PATCH] create-release-tracker: adds prefix for cycle tag Date: Thu, 18 May 2017 17:26:13 +0200 Message-Id: <20170518152613.8924-1-kleber.souza@canonical.com> X-Mailer: git-send-email 2.11.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com Adds the 'kernel-sru-cycle-' prefix to the cycle tag parameter so it behaves the same as 'start-sru-cycle'. Signed-off-by: Kleber Sacilotto de Souza Acked-by: Thadeu Lima de Souza Cascardo Acked-by: Colin Ian King --- stable/create-release-tracker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/create-release-tracker b/stable/create-release-tracker index cb1abefd..abc97b5f 100755 --- a/stable/create-release-tracker +++ b/stable/create-release-tracker @@ -72,7 +72,7 @@ class CreateTrackingBug(): private=self.args.private) if self.args.cycle is not None: - bug.tags.append(self.args.cycle) + bug.tags.append('kernel-sru-cycle-' + self.args.cycle) # ------------------------------------------------------------------------------------- # C H A N G E L O G W O R K @@ -122,7 +122,7 @@ if __name__ == '__main__': parser.add_argument('--private', action='store_true', default=False, help='The bug will be private and not everyone will have access.') parser.add_argument('--staging', action='store_true', default=False, help='Use the staging LP server to create the bug. This is just for testing and will go away when the staging database is reset.') parser.add_argument('--master_bug', default=None, help='If you are running this from a derivative or backport branch, you should use this option to specify the number of the tracking bug for the master branch release where this was rebased on.') - parser.add_argument('--cycle', default=None, help='The sru cycle tag to be applied to the bug that is created.') + parser.add_argument('--cycle', default=None, help='The sru cycle tag to be applied to the bug that is created (e.g. \'2017.04.04-1\').') args = parser.parse_args()