Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5BAFEC433FE for ; Mon, 10 Oct 2022 20:01:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 90CB484EE8; Mon, 10 Oct 2022 22:00:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="H1WSPxeZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3B74C84EFA; Mon, 10 Oct 2022 22:00:50 +0200 (CEST) Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1C76584EF6 for ; Mon, 10 Oct 2022 22:00:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x130.google.com with SMTP id h18so6179100ilh.3 for ; Mon, 10 Oct 2022 13:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ga+SomvH7vkU6gD3zL6wYM4Iza+MApj/jxGJN+/cwgs=; b=H1WSPxeZkw+gVmC/ibkhsPtI6OtnEFFv6b2nuhcREW8k7K0BYiTZIZMtLZ0RwoQBuw QEnDE/QhHsiq9/u5qQk//zygKPzHqtjAVPYV02RnA3hC8b0oSRFw6W5oM3WJIupyQqbL x8UwBan9tZ0B4kM1wZ1sqN36CgyoIC1t8crIs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ga+SomvH7vkU6gD3zL6wYM4Iza+MApj/jxGJN+/cwgs=; b=FAvQfvBE04M+42u25MMTRyjL0moO1A4PnA7i7Q2ZuY5qrReD/d4o32lL5g16kKNU0S iGF/KDTNyU+p3QUvuyQ+dtpgqDEx/eyA5K/rhRlJEcnM+wpf1jnzp4dfMu2wMLHmEfdV sm9lgBo7Mxm7okilcAXuYBGPOrn+gTeH5NqNyTclz/xh0WiaxXQJQn65ZbST+R8ydQGr nfTfKtTc4iny5FZ7AFgf8YMnhzFDh6TwyINS8Zf6sNZiDHLtmeANjrRcriYplrKOkfFE yK8bDRDUVPpJXnEzVGwHsjaVeeJHlPF1kfO8KeAStVYLGpnVs84bhV5fLJKelAA4Q9gt JgXQ== X-Gm-Message-State: ACrzQf0mAwiZTlNROlQ/CZgstsJ72Z7risOe8VKSoyYLrEPESWgD9fp0 iI874U5Tn2+OvC8/CKkCrInTeI53+KsTqw== X-Google-Smtp-Source: AMsMyM5j3J2O7qu30EVsC3azgGxdVcqzmaWr55NTvFcWgtUKoOS60TV00HclZ/NjNWLcEoGchgBS2w== X-Received: by 2002:a05:6e02:507:b0:2f9:6ab8:2dd5 with SMTP id d7-20020a056e02050700b002f96ab82dd5mr9431962ils.85.1665432045257; Mon, 10 Oct 2022 13:00:45 -0700 (PDT) Received: from kea.bld.corp.google.com ([2620:15c:183:200:295e:d074:1d59:53b1]) by smtp.gmail.com with ESMTPSA id z18-20020a926512000000b002f5024d8543sm4157717ilb.38.2022.10.10.13.00.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Oct 2022 13:00:44 -0700 (PDT) From: Simon Glass To: u-boot@lists.denx.de Cc: Rasmus Villemoes , Tom Rini , Simon Glass Subject: [PATCH 1/5] buildman: Handle the MAINTAINERS 'N' tag Date: Mon, 10 Oct 2022 14:00:28 -0600 Message-Id: <20221010200032.73483-2-sjg@chromium.org> X-Mailer: git-send-email 2.38.0.rc2.412.g84df46c1b4-goog In-Reply-To: <20221010200032.73483-1-sjg@chromium.org> References: <20221010200032.73483-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This is needed for some soon-to-be-applied patches. Scan the configs/ directory to see if any of the files match. Signed-off-by: Simon Glass Suggested-by: Tom Rini --- tools/buildman/boards.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tools/buildman/boards.py b/tools/buildman/boards.py index cdc4d9ffd27..0bb0723b18e 100644 --- a/tools/buildman/boards.py +++ b/tools/buildman/boards.py @@ -368,6 +368,17 @@ class MaintainersDatabase: targets.append(front) elif tag == 'S:': status = rest + elif tag == 'N:': + # Just scan the configs directory since that's all we care + # about + for dirpath, _, fnames in os.walk('configs'): + for fname in fnames: + path = os.path.join(dirpath, fname) + front, match, rear = path.partition('configs/') + if not front and match: + front, match, rear = rear.rpartition('_defconfig') + if match and not rear: + targets.append(front) elif line == '\n': for target in targets: self.database[target] = (status, maintainers) -- 2.38.0.rc2.412.g84df46c1b4-goog