From patchwork Tue Feb 7 07:36:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 1738763 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=Cff2YbbY; 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 4P9w1730tZz23y9 for ; Tue, 7 Feb 2023 18:36:25 +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 1pPIWS-0002VD-SS; Tue, 07 Feb 2023 07:36:12 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1pPIWR-0002Ud-9j for kernel-team@lists.ubuntu.com; Tue, 07 Feb 2023 07:36:11 +0000 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (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-0.canonical.com (Postfix) with ESMTPS id 83AD63F5DD for ; Tue, 7 Feb 2023 07:36:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1675755369; bh=J4+GOvCFkKhArZEmBaK/Mij7+cvBUgc4Dm+iDV4K0Po=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=Cff2YbbYrcbp5kGuVbhRdsnHn1YASqXgX3nX0J7pGR9GDtLu2BBHm2LgsxR23MjEk M1ue6Qbg/DKpztIp2ATaanbJeyVMfTBfbmM3YXdH2bX6WThQWfebzkASFc62hlqZW9 ktu9oHbWctA1YItlMMe+hm57RQoAkwBI284JQBLuSZomfwIh9z1erXNguSkHDXFedL Iso0QSh2QmOxMoXhEz8iIVvFT1ApWHNrfK19zRjntc5vxm3GFrkOQSCf2ih6EIpyXW +nDlj9DxmuF7QnEzArFbDbmWho8f1LE6ZnOtYUlbKCwlEZ+gTehzNho1MRUu2LoZtb yhzBUvobOaAEA== Received: by mail-ed1-f71.google.com with SMTP id dm4-20020a05640222c400b004aaa5e3c414so4027273edb.3 for ; Mon, 06 Feb 2023 23:36:09 -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=J4+GOvCFkKhArZEmBaK/Mij7+cvBUgc4Dm+iDV4K0Po=; b=5f0FDNb5MNQE3FFymwoVfvjYk5C653KiA2hqrgnZjC4ZPkvuFy9FqDvNInAcelYq/5 mmxsLmmwxcAqjMSSE7Thl6IlYSw2Vt0sqWcDPdpEgS2Zjle6M28CVhwJSmzYLojjSCPg JvYvGszkyM6De78wC3XPR1V3pM3/f0T81EC+0fneNY5jZgGCa4aNcdzGK/33ZsfFTjQA e04OBqZnIHn7hg6nbbKQ2OxE293JRzA9R3MoM9I3VWI0aFNl4yQgInelOPPeG9S71mfm Na2l4Z5s8AKHEIlADLM3LZYnY0EGLJhY1IxAFDBzL5uic27R1vP6pBAdHmvDNxgoDSp6 GH/g== X-Gm-Message-State: AO0yUKVIpuSLDVJcWIJLKR13NXSpXRT0U249h8x10TVutwtJg+XyLgG8 ZW6GzQyO1MIJj2VvW67z398bEBULqaYzebmtaqTafAUTxRGuB2xZmQZyV8gZkvSS1QYkujCNVXm ehEid40KGUyhL1tgzanDuH2LlYLh6xB0VUiRxEQbwPaMI9Hc= X-Received: by 2002:a50:d6de:0:b0:4aa:b767:a4b7 with SMTP id l30-20020a50d6de000000b004aab767a4b7mr2572854edj.23.1675755368783; Mon, 06 Feb 2023 23:36:08 -0800 (PST) X-Google-Smtp-Source: AK7set/B3ojCjvFAdIotioOJ5uunFuW4eC9nWZKmzMmuJoGDp3hzvkhvxgSg8tPQ/uY3kpY01pfruQ== X-Received: by 2002:a50:d6de:0:b0:4aa:b767:a4b7 with SMTP id l30-20020a50d6de000000b004aab767a4b7mr2572848edj.23.1675755368589; Mon, 06 Feb 2023 23:36:08 -0800 (PST) Received: from gollum.fritz.box ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id fg10-20020a056402548a00b004a23558f01fsm6008679edb.43.2023.02.06.23.36.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Feb 2023 23:36:08 -0800 (PST) From: Juerg Haefliger To: kernel-team@lists.ubuntu.com Subject: [Unstable/Lunar][PATCH 0/5] annotations: Cleanups and splitting Date: Tue, 7 Feb 2023 08:36:02 +0100 Message-Id: <20230207073607.913994-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" A couple of patches to clean up the annotations class, make the parsing more robust and split the annotations into two groups: with and without notes. Juerg Haefliger (5): UBUNTU: [Packaging] annotations: Fix linter errors UBUNTU: [Packaging] annotations: Clean up policy writes UBUNTU: [Packaging] annotations: Handle tabs in annotations file UBUNTU: [Packaging] annotations: Fail on invalid lines UBUNTU: [Packaging] annotations: Write out annotations with notes first debian/scripts/misc/annotations | 20 +-- debian/scripts/misc/kconfig/annotations.py | 138 +++++++++++++-------- 2 files changed, 94 insertions(+), 64 deletions(-)