From patchwork Wed Oct 30 13:19:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Agathe Porte X-Patchwork-Id: 2004197 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XdnqB4Hc8z1xxp for ; Thu, 31 Oct 2024 00:22:29 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1t68eC-0005ps-TN; Wed, 30 Oct 2024 13:22:04 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1t68eB-0005oL-Cv for kernel-team@lists.ubuntu.com; Wed, 30 Oct 2024 13:22:03 +0000 Received: from localhost (43-114-103-145.static.glaslokaal.nl [145.103.114.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id C0EE63F3A7; Wed, 30 Oct 2024 13:22:02 +0000 (UTC) From: Agathe Porte To: kernel-team@lists.ubuntu.com Subject: [unstable][PATCH linux-signed v2 0/9] Refactor and test generate-control Date: Wed, 30 Oct 2024 14:19:47 +0100 Message-ID: <20241030132153.482139-1-agathe.porte@canonical.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" The goal of this patch set is to introduce some Python testing for the generate-control script (which becomes generate_control.py). In this v2 patchset the debian/scripts/test-generate-control.sh file is dropped when the test_generate_control.py is introduced. Agathe Porte (9): UBUNTU: [Packaging] generate-control: use stdin and stdout UBUNTU: [Packaging] introduce debian/scripts/test-generate-control.sh UBUNTU: [Packaging] generate-control: fix 'os' imported but unused UBUNTU: [Packaging] generate-control: reformat using black UBUNTU: [Packaging] generate-control: split into functions UBUNTU: [Packaging] generate-control: use full path to parameterise-ancillaries in comment UBUNTU: [Packaging] generate-control: rename to generate_control.py UBUNTU: [Packaging] generate_control.py: pass everything by argument UBUNTU: [Packaging] introduce test_generate_control.py debian/rules | 2 +- debian/scripts/generate-control | 141 --------------- debian/scripts/generate_control.py | 223 ++++++++++++++++++++++++ debian/scripts/test_generate_control.py | 134 ++++++++++++++ 4 files changed, 358 insertions(+), 142 deletions(-) delete mode 100755 debian/scripts/generate-control create mode 100755 debian/scripts/generate_control.py create mode 100644 debian/scripts/test_generate_control.py Acked-by: Masahiro Yamada