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 7FA7BC433F5 for ; Tue, 11 Oct 2022 14:16:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BE56084F08; Tue, 11 Oct 2022 16:16:05 +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="a00ueys7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6B13D84EFB; Tue, 11 Oct 2022 16:15:56 +0200 (CEST) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (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 7879584F05 for ; Tue, 11 Oct 2022 16:15:53 +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-io1-xd2a.google.com with SMTP id h203so3250771iof.1 for ; Tue, 11 Oct 2022 07:15:53 -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=vci+LvteBLDyNEZBPQMPEDqgUr4MTfYJ8TCW+cJCvaY=; b=a00ueys7NgTpQS8HtkYNYhxrfS4ZCUfGa557RSsQQEsHzh7X4T9lYGOM6CFePniyF/ Ktp9fMnbxnlDH5vJSoLWeV4VepcZVcBVIWNpJDJvSpRtMZwUBV9sQtpc077XZPcXpfQo +a5uNVyErhSNpdE8YbvuQuahQwqPx0AjzHuds= 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=vci+LvteBLDyNEZBPQMPEDqgUr4MTfYJ8TCW+cJCvaY=; b=0RsfGUQbRsrf2gObVNQW7CJkL+MhLQP5S+xfe1dB47DQ6Am2fYKHofTEamLqTGPw9O 7m9Stb7fDOgtuvEkoXqnLOetBSPEN8WsX/x4AaNyV+MbjXtVNNlg94q940GXSIG580rx F8IxdciUXyV6uhQkQ9WMZqg23udplRBRMMrSa04hd3qDN/+xCY8vzSCYFsTiip+1wnW3 8BvSqdS+L4i1k0EDv4+HgzLEx5aBVT7ocwkv8Fgc41b4OF5lRAlV11KmGN+hArrZK3+h FEV3Z31fSZEZxyz48vcfJ/hQRXu+97SyoxG4uqS4Wq2Z2+kOln2Lm+BWlYL/DWQD/lHQ LpVA== X-Gm-Message-State: ACrzQf06W5S9spyemBbLq4Cbn3oAVO6MdQFTlJWObuX5LtG2puccU8oP 9OxaIIrqAntmHjkKsz1V1Vq9eNVPh74W/Q== X-Google-Smtp-Source: AMsMyM4gdlVq73ok6i5ruj2YJ0uDyjoXzsCknuk8caci10/BUM0+8vZ5Yc6gtcISfy53CFRPRKRDfA== X-Received: by 2002:a05:6638:2589:b0:363:bc7a:19eb with SMTP id s9-20020a056638258900b00363bc7a19ebmr4788624jat.80.1665497752614; Tue, 11 Oct 2022 07:15:52 -0700 (PDT) Received: from sjg1.roam.corp.google.com (c-67-190-102-125.hsd1.co.comcast.net. [67.190.102.125]) by smtp.gmail.com with ESMTPSA id o42-20020a02742a000000b0035a9b0050easm5235155jac.18.2022.10.11.07.15.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 07:15:52 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Quentin Schulz , Rasmus Villemoes , Tom Rini , Simon Glass Subject: [PATCH v2 1/5] buildman: Handle the MAINTAINERS 'N' tag Date: Tue, 11 Oct 2022 08:15:37 -0600 Message-Id: <20221011141541.538175-2-sjg@chromium.org> X-Mailer: git-send-email 2.38.0.rc1.362.ged0d419d3c-goog In-Reply-To: <20221011141541.538175-1-sjg@chromium.org> References: <20221011141541.538175-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 Tested-by: Tom Rini Suggested-by: Tom Rini --- (no changes since v1) 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.rc1.362.ged0d419d3c-goog