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 55575A052B; Thu, 30 Jul 2020 02:59:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CEEC31C0B3; Thu, 30 Jul 2020 02:58:33 +0200 (CEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by dpdk.org (Postfix) with ESMTP id BA27E1C027 for ; Thu, 30 Jul 2020 02:58:24 +0200 (CEST) Received: by mail-pl1-f177.google.com with SMTP id k13so5055832plk.13 for ; Wed, 29 Jul 2020 17:58:24 -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=I5sKRyXKuajb969Jr63hNkImFQ2DVIph311QxK/eru4=; b=HJ+T5tmDR9NJCPY30ykATmt0CVfivSn3AAyNVYMUVFuNFQBmssfS92LmQcJWuKfw6d kVBjqpS4oxPha1a2t854HrirJ3JsrZx0Lrvj73lmweGXKcNoVFi0Q/CZNBBoStSUvd72 oJdhRJ6fIAO4p5x3c/84efohVcgHUThMN0rJgXzKj9Xs8XAT3q3Q8niOt1q1i2NgF5Zg eLVYahGTOvTVEZzakfp/INIezzSX5E+TVQ+xrlla7TvBFAvOu4D1s/pM9dHbekUwaX04 lAuv7EPOFv8uf6nO9tNQPwAgSh1DXxBIyvgBjbMIJIJMyB2SEQ9UO/un/u0vslJdGRnn vaEw== 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=I5sKRyXKuajb969Jr63hNkImFQ2DVIph311QxK/eru4=; b=Jmj66J99WOGGz0YRmOuvbEVW/1vQsNNic/KJqb1bFf0H4apcPuBwhkflOxmXoU8xgX ewryKls96E2QcdwbUvmz/sz1wDlBdi9wY8GUB9JTNlZkerz18p17b2POycnfpM1uu705 OXH0SfByKLx954s6G1Vm2H88t9n4GzdnC7VSx//VgwCUcjg8dkl/jDGNvmC/RiNF0uhp 5OCyEqb6fN9kqLkyZRYpFhX55XJAPMSP843yG+qUSh6gWr4JN5Fq/dprBxA8c8Km86kD c0IMcW60Hk/iCub6OHYsAKeImVSAobGFdVKRo6nQMNiu86zwYIzN8jeGHQFXTObm8lJ6 Ie1A== X-Gm-Message-State: AOAM533r0dLjVOznowNsMLYyykWzP+dJ7yrBWrhkriTDf19JUpNsB4Bj cNemjdgWwl4YSIuisvvFBnCH1veoAoNP6w== X-Google-Smtp-Source: ABdhPJzYmdQz96Gg9iDxv+f3yYUzb/dIf92VwXorAJdX/Ac0P0sKkRW7h6e8tmawlu5zuus1Zjh7jw== X-Received: by 2002:a17:90a:8009:: with SMTP id b9mr13287385pjn.190.1596070703515; Wed, 29 Jul 2020 17:58:23 -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 s4sm3630423pfh.128.2020.07.29.17.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 17:58:22 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Luca Boccassi Date: Wed, 29 Jul 2020 17:58:04 -0700 Message-Id: <20200730005804.19251-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200730005804.19251-1-stephen@networkplumber.org> References: <20200604210200.25405-1-stephen@networkplumber.org> <20200730005804.19251-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 20.08 6/6] 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.27.0