From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5E47D428C0; Tue, 4 Apr 2023 01:08:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A1AF40EE3; Tue, 4 Apr 2023 01:08:43 +0200 (CEST) Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) by mails.dpdk.org (Postfix) with ESMTP id 2A55D4067E for ; Tue, 4 Apr 2023 01:08:42 +0200 (CEST) Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-544f7c176easo581410667b3.9 for ; Mon, 03 Apr 2023 16:08:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680563321; x=1683155321; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WUn6ZWhGv+bCGNWt345tXjz/yrE8QtYXuHb9ApwrBY0=; b=2aTtSn53G+xl01RQxNjtufnTSyP3FCRdYPBzAtcYgvpJEKBxCYvyICjTV2kTDjBwME xYmRxzb91us0A9DKkESGViKqXjfH8qIuYqJhnqx2rOQj3YnBgD72kF0tIkLVlFe2MzKM 8oEhjEpstktc0cl7xydJy4k8Jz6lnxdcwKfQw2kG7f/5i6IrSOkIAmjND2gjXOc4TAzr QMQ/a8ii5snsJ4Jr2XYj2t8vk6PEyPhuTfjbyfFe1pVzjD3WDD5ODE7EOTK+xq4uWDlv GRG8ZJVjmimBHNYE32QczfjFEQSf+CzkCJipBg80u+zSC8hXhaUahSHg066Myynfqf5W WXGQ== X-Gm-Message-State: AAQBX9eTKMrBz7AJxJaP3K/kZWDSDPGpEbYCNT0zSvhKslcKRyFT6RvV zZtKOBeeN/qyYCVjkP7RZ4sOGaUqCWFLyw== X-Google-Smtp-Source: AKy350Ym7E3eQA0zfmA3qYbmli2lsRIXVMYiYWDsEtnznoMHyoFcJW85I8znUxdS0d71POodH9IC3Q== X-Received: by 2002:a0d:d603:0:b0:545:81fe:d327 with SMTP id y3-20020a0dd603000000b0054581fed327mr710606ywd.37.1680563321328; Mon, 03 Apr 2023 16:08:41 -0700 (PDT) Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com. [209.85.128.180]) by smtp.gmail.com with ESMTPSA id i22-20020a81be16000000b00545a08184f9sm2862697ywn.137.2023.04.03.16.08.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Apr 2023 16:08:41 -0700 (PDT) Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-536af432ee5so582383607b3.0 for ; Mon, 03 Apr 2023 16:08:41 -0700 (PDT) X-Received: by 2002:a81:bd09:0:b0:546:4456:78f9 with SMTP id b9-20020a81bd09000000b00546445678f9mr435419ywi.3.1680563320875; Mon, 03 Apr 2023 16:08:40 -0700 (PDT) MIME-Version: 1.0 References: <20230331200824.195294-1-stephen@networkplumber.org> <20230403144707.8413-1-stephen@networkplumber.org> In-Reply-To: <20230403144707.8413-1-stephen@networkplumber.org> From: Luca Boccassi Date: Tue, 4 Apr 2023 00:08:30 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] devtools: add script to check for non inclusive naming To: Stephen Hemminger Cc: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, 3 Apr 2023 at 15:47, Stephen Hemminger wrote: > > Shell script to find use of words that not be used. > By default it prints matches. The -q (quiet) option > is used to just count. There is also -l option > which lists lines matching (like grep -l). > > Uses the word lists from Inclusive Naming Initiative > see https://inclusivenaming.org/word-lists/ > > Examples: > $ ./devtools/check-naming-policy.sh -q > Total files: 37 errors, 90 warnings, 2 suggestions > > $ ./devtools/check-naming-policy.sh -q -l lib/eal > Total lines: 32 errors, 8 warnings, 0 suggestions > > Add MAINTAINERS file entry for the new tool and resort > the list files back into to alphabetic order > > Signed-off-by: Stephen Hemminger > --- > v2 - fix typo in words > - add subtree (pathspec) option > - update maintainers file (and fix alphabetic order) There's a json file on the website, how about downloading that on the fly rather than storing a local copy that will go out of date? https://inclusivenaming.org/word-lists/index.json