From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1AD20A0540; Tue, 14 Jul 2020 07:39:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E61181D165; Tue, 14 Jul 2020 07:39:36 +0200 (CEST) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by dpdk.org (Postfix) with ESMTP id 096941C43E for ; Tue, 14 Jul 2020 07:39:34 +0200 (CEST) Received: by mail-pj1-f48.google.com with SMTP id gc9so1044964pjb.2 for ; Mon, 13 Jul 2020 22:39:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7a+zVeZWUc8ISP+yAa/h/nxk8OZ7d6IXCS3L59OMFMg=; b=RN71PJRnuDrTuuGqJoGUtrCDp79cBYWSxf8fThQSY+S0NOYsH6Dhm1ea3ImdNGIIoB MmqK+krU+B51sDrH9YDkT8IXsO9elyDypWYB4SdldOE420/XMjAGzwg1rttlm0ZAfesU 00GyQpBbzePSbey0tM7a9XDS5ZBBI+A/wjoppJs1kJxGITH8YN1VO9LoWYRmGtkAOybF tqHNP9mpMGmQLpUw7ZtznxhyP1QUhS80qmhm2PnVY29COS5WrN63wDVsUapEC1HyEff5 xhdVDFNi9iYplnyHXIeW9rCF7YFslSnWc2zchshC+ERfOLJ89hLcvwltSUqKNdU627R1 eKBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7a+zVeZWUc8ISP+yAa/h/nxk8OZ7d6IXCS3L59OMFMg=; b=cFtnqCs2h5PSxAHVb2YdF4Vqfpqm+/AZz4YQoy8NNZcOvVUYcOVXgWMpFpT4ex9++M TNoMfMqokr8E1TtxQSENAKoZGqydqLcYXBwdY90h+tY6Fn1AWRhbdsa8o+bQVptBL5pG 9JDzy01AheolDbj6HyqYd7zQSPulhGcVvpBsUO0fyZpu1Y+i0GX8+jJuAP92NCBNy4Ut Qjqh6QWOw97Qcvhw1kCS0N3qFo0hWy9iNFg2/kjfoWDueOIOQX9HXHpwGOd9LTitvWab ajgD02J1NLxjuFmPwOBHm0tt4sYn9m1a2W1m4+E7qqlgCEyzHJzxZ537Gm9IxmLrFT0C 7ydw== X-Gm-Message-State: AOAM532IJ2wQJpxfht/cemXNVhOU7hPRcHz7MxlTN4VYlGLORAfu6OZx LSxsSAa70ffUecGaxLadHt11Jb+ntHN40Q== X-Google-Smtp-Source: ABdhPJzVDcB5bl0f+s6Cu2xo+dmBWm4xgmgOfFBOLYzKkAk+nYIVsiWDZcsepDCaaKJaGqQh1FwYOQ== X-Received: by 2002:a17:90a:25ef:: with SMTP id k102mr2921000pje.145.1594705172810; Mon, 13 Jul 2020 22:39:32 -0700 (PDT) Received: from hermes.corp.microsoft.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h9sm15810259pfk.155.2020.07.13.22.39.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 22:39:31 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Luca Boccassi Date: Mon, 13 Jul 2020 22:39:11 -0700 Message-Id: <20200714053919.5609-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200714053919.5609-1-stephen@networkplumber.org> References: <20200613000055.7909-1-stephen@networkplumber.org> <20200714053919.5609-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 03/11] check_maintainers: change variable names X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Change variable names in python script: replace whitelist with include_files and blacklist with exclude_files. Signed-off-by: Stephen Hemminger Acked-by: Luca Boccassi --- devtools/check-maintainers.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/devtools/check-maintainers.sh b/devtools/check-maintainers.sh index 85a300f0a029..df3f740b6e84 100755 --- a/devtools/check-maintainers.sh +++ b/devtools/check-maintainers.sh @@ -42,10 +42,10 @@ parse_fx () # for line in $( (sed '/^-\+$/d' $1 ; echo) | sed 's,^$,§,') ; do if echo "$line" | grep -q '^§$' ; then # empty line delimit end of section - whitelist=$(files $flines) - blacklist=$(files $xlines) - match=$(aminusb "$whitelist" "$blacklist") - if [ -n "$whitelist" ] ; then + include_files=$(files $flines) + exclude_files=$(files $xlines) + match=$(aminusb "$include_files" "$exclude_files") + if [ -n "$include_files" ] ; then printf "# $title " maintainers=$(echo "$maintainers" | sed -r 's,.*<(.*)>.*,\1,') maintainers=$(printf "$maintainers" | sed -e 's,^,<,' -e 's,$,>,') -- 2.26.2