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 C55C3428B9; Tue, 4 Apr 2023 04:17:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B2EC34067E; Tue, 4 Apr 2023 04:17:10 +0200 (CEST) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mails.dpdk.org (Postfix) with ESMTP id 7C41540141 for ; Tue, 4 Apr 2023 04:17:09 +0200 (CEST) Received: by mail-pj1-f47.google.com with SMTP id om3-20020a17090b3a8300b0023efab0e3bfso34610768pjb.3 for ; Mon, 03 Apr 2023 19:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; t=1680574628; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=j9Y6xLax26FhB5YdD8lFfw5SFIimXNShLdKEbwF/sRk=; b=JAVCZ00GINETTcnPhGITS5y3iBQ28wH+/U4dGFUYH2cLnjHW1g1crzuzjZSTGO7Ytv VTygsNyca/0HclzYZopldkFI++GjCEIyBhhiQHHA/4OW7cL3ZYWv9EufcBJtXVT6d3oa CYr0d0+FTWtRtvThV0SUuFir9pusArNg9hy+cCEQqhA1bacMOrdYEGPhUAY2TQFOn09y ia8RmmDqdRRIvXGorvom9cOI0WtdLzOMRgfpdf3R2fFr+6UD9j5hOoAxhq2vD7NEBVL9 09XhrrxdNe9nHgczTi5OmGkyFNmm/Uzq4YPHrWKn1GzF4bK+o6wNSG6+0tzXoOBY2QgP Qz8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680574628; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j9Y6xLax26FhB5YdD8lFfw5SFIimXNShLdKEbwF/sRk=; b=vB9mF8OaR+eDT6508KGPuXIOvbLEWCFPmIMGw7nc7sbE4wM20ZyL3HT9BCJJ+22C08 ye6CtPQCKRmEaxylfVXcyvZxgtPWKTwy3RKbKPmEgoPAhi6k97PMfna20uRHpHmhPM/I 4DymodULTbdvOhh9v9l/oHpCZRY7eIWLV6+Bhy/0hvWDsMfC0zCed9bPTAfCHpXE2fTl IrPwX58XhP/5eVwibwRWIpBwQZc2dT2Vo/8cnd530mqok9vDRVD9KrZHJ39RgrSeamT1 ZOxubI7WKYHArZNiLgFELlxHCu7IlkwlmFLtuDnotb2e3jlCZOmEkdTBvg8oktbTA9TK B6fg== X-Gm-Message-State: AAQBX9fKxzraet8u5O2rAlaUfSFVzGngNGGvNbWBweN7JvnRBAD3Yl2m ihhnakCnIMcERQnNwAYDJP5P8g== X-Google-Smtp-Source: AKy350ZJPVLffuDLSiovFvPHiODxRZlAySjW99r5/8mVLjz0tICubBvhB5PBx+rQqFWjkDYQjlucGg== X-Received: by 2002:a05:6a20:e1e:b0:da:b92c:a949 with SMTP id ej30-20020a056a200e1e00b000dab92ca949mr626824pzb.36.1680574628543; Mon, 03 Apr 2023 19:17:08 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id h16-20020a632110000000b0051366c88476sm6543994pgh.30.2023.04.03.19.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 19:17:08 -0700 (PDT) Date: Mon, 3 Apr 2023 19:17:06 -0700 From: Stephen Hemminger To: Luca Boccassi Cc: dev@dpdk.org Subject: Re: [PATCH v2] devtools: add script to check for non inclusive naming Message-ID: <20230403191706.445c55ed@hermes.local> In-Reply-To: References: <20230331200824.195294-1-stephen@networkplumber.org> <20230403144707.8413-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Tue, 4 Apr 2023 00:08:30 +0100 Luca Boccassi wrote: > 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 Ok, but that would mean using python and would also mean that terms like segreation which are not on the official list would not be caught