From patchwork Thu Dec 8 07:17:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 1713581 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=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=kant+6sM; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (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 4NSQTm3611z23ns for ; Thu, 8 Dec 2022 18:17:47 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1p3B9w-0004af-5s; Thu, 08 Dec 2022 07:17:32 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1p3B9u-0004aL-Bb for kernel-team@lists.ubuntu.com; Thu, 08 Dec 2022 07:17:30 +0000 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 36C4F41558 for ; Thu, 8 Dec 2022 07:17:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1670483850; bh=GnaW+hSKmX1HC57wXMgh3A5OsIdTDIn867M34pPwIgM=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=kant+6sMFGigk1DVk4405bHirE4GGqjDka1TGS6X7m032+NV5b2vQ2u9BXZUCcycx 2lA4HWnZxSzH75KyrD3xubOHbFEeZ3UiiZAbbNzrmSGmbMmxaVCA7WzWXcxro18xwU vJwKI64ZduS7bifCCpmVoVIBAZ9kO0xSrce3fHDg5PxzUSg3U2Gar7ernXyKJu1wQr 7mFzLceGODUEGY1utFAE9wIIuFVTWVF0/qU3Pg/GF9tmMTfKeZKbWgqkhjuE7bbi7h y5zHsOfI/Cb2z7ipjODHLzdfHYXYejrPGbypVqjRahihw18aSRR6lOoPkDevwgFU9K iuhylV2MziLOQ== Received: by mail-ed1-f69.google.com with SMTP id j6-20020a05640211c600b0046d6960b266so484677edw.6 for ; Wed, 07 Dec 2022 23:17:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GnaW+hSKmX1HC57wXMgh3A5OsIdTDIn867M34pPwIgM=; b=2er05FFS/t9dW785v1bYjNY9Dgt7pTt0yPg9FvTXykEr64Ooiyl6oOg7IEO5Fmy/W3 g87nobMjGHdpwKWhc8kHIWbqECio00+28aldg9uSsm9rQjEIEaBDabV3yNyV2sX8GUf+ BrFW/UhGeijDylzLCcOqCYGuN9brBhZ3dHIZ/j+NVCWBnYRmEz/HlclUmxAoThdfvfv7 4SDc0zIj9RjYvH8zzljivGiKEDpRXmJoKg5DLKxU8Siu1aSTaDotHnC0JTwHtW1pdchn JDOAaWV8yTbYpKnFBnNtuclSgx/qZ0WDSmL/C6pw4/f/RbtY88gZ0lL61ZHV0aeE/T4p RG8Q== X-Gm-Message-State: ANoB5plntEW+cDSRB4jEIZcGNH3u7oAdQLGsEjVbFOn7+Ite1atCgoUd y68dZP8dJEknNbKZjAfaD8bMRAXtysLgBB3cURWLm3zhgyn1QRJYng2pEt63vYEPmTDygedkpdW D54QB8SqORPtD2flDKnUjjRWWPdtuKB9IuFvs5cp86w== X-Received: by 2002:a17:906:8241:b0:7be:1ce1:ce3d with SMTP id f1-20020a170906824100b007be1ce1ce3dmr1275621ejx.66.1670483849919; Wed, 07 Dec 2022 23:17:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf6MmcsXLKrKVQI0XTuTyIH6qpdLgP/DK1sQYSeiA8mN+Cr9jOQ5j2P59lSOXEe22Mq1EzgbZw== X-Received: by 2002:a17:906:8241:b0:7be:1ce1:ce3d with SMTP id f1-20020a170906824100b007be1ce1ce3dmr1275616ejx.66.1670483849676; Wed, 07 Dec 2022 23:17:29 -0800 (PST) Received: from gollum.fritz.box ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id 4-20020a170906308400b007bd9e683639sm9346891ejv.130.2022.12.07.23.17.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 23:17:29 -0800 (PST) From: Juerg Haefliger To: kernel-team@lists.ubuntu.com Subject: [Unstable][PATCH 0/4] Rewrite abi-check in Python plus cleanups Date: Thu, 8 Dec 2022 08:17:24 +0100 Message-Id: <20221208071728.193067-1-juerg.haefliger@canonical.com> X-Mailer: git-send-email 2.34.1 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" Long overdue, abi-check rewritten in Python as agreed upon some time ago at one of our sprints. While at it, clean up module-check to match the new abi-check both in coding style and script output. Finally, move all checker scripts to a new subdirectory to put some order into our scripts. Note that the new abi-check script does no longer check for symbol hash changes since we seem to ignore this anyways. Shout if that's not the case. Juerg Haefliger (4): UBUNTU: [Packaging] Rewrite debian/scripts/abi-check in Python UBUNTU: [Packaging] Simplify debian/scripts/module-check UBUNTU: [Packaging] Clean up debian/scripts/module-check UBUNTU: [Packaging] Move checker scripts to debian/scripts/checks debian/rules.d/4-checks.mk | 13 +- debian/scripts/abi-check | 210 ------------------ debian/scripts/checks/abi-check | 139 ++++++++++++ debian/scripts/{ => checks}/config-check | 0 debian/scripts/{ => checks}/module-check | 106 +++++---- .../{ => checks}/module-signature-check | 2 +- debian/scripts/{ => checks}/retpoline-check | 0 7 files changed, 208 insertions(+), 262 deletions(-) delete mode 100755 debian/scripts/abi-check create mode 100755 debian/scripts/checks/abi-check rename debian/scripts/{ => checks}/config-check (100%) rename debian/scripts/{ => checks}/module-check (51%) rename debian/scripts/{ => checks}/module-signature-check (97%) rename debian/scripts/{ => checks}/retpoline-check (100%)