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 D6968428B3; Wed, 5 Apr 2023 03:23:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 65A4440FDF; Wed, 5 Apr 2023 03:23:44 +0200 (CEST) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mails.dpdk.org (Postfix) with ESMTP id D488D40DDC for ; Wed, 5 Apr 2023 03:23:42 +0200 (CEST) Received: by mail-pj1-f42.google.com with SMTP id d13so32440483pjh.0 for ; Tue, 04 Apr 2023 18:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; t=1680657822; 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=9HRkjZu+rM+s2MmDZogqiV+7YSx9Qy7WcejlM9YatUc=; b=T94cdNcu6pcaNGB9yWSKsY/KS/DN6JxwRa+oHlc3QSXu9MYWo7Te9tFiZNU7uZUY26 JCCZgFDyuUPskw4T9jkH0Lq+hY65HrepzPGFXpaL+NI9qBThMEDc6yAV9rLfJ55nsQtC rN0TAcJCLXk/N6aMQYvfBJf5AoLfnVrZSBldI8msL/wZCxbQAnv3/BXTdjoOlgas4pQJ eVYQhIx+T6LecXSyCgPySoaYrvGCo9GCJbJadksMfCdbg7X/4fINcZBiovh8jKn3Nhp+ sb7E2Jvnuz9252hwY4RYbqUzESvx6Jjt5bbKukxfnc7DS51xLgZ2ZqkGtZzBuA6ilyNQ 6J/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680657822; 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=9HRkjZu+rM+s2MmDZogqiV+7YSx9Qy7WcejlM9YatUc=; b=xJFlWiIJ4BIWxEDQDp6eKzDJYbw2rT6MWyjHLbc/DjRi07BWDubeodbQf3uHGpbLhe bMEVuSRlkmguUzGX+DZU5t5yqOseRJfOtktEl+/a5Y2w8eMv0atPG7P3IX5e7BUehWSS iLFZeUenlTCx0OuSf+0aPatbNlI5vunGoYTXvJl1EVFRazymU+zlCreIfzBomXhGTY9d 67DnFYb0EE3rZUjpNrtFsS4Azckxcx2G8+1N08hPbDq/H9wqd5i/2YrpeP2UyS4aFd3e cUx1o5CpcdoCrFdl4mThfnB9a2+X2riu2pGyuBFIH/RG0kiKyEynlk7sq5cDelbO3SbL yXTw== X-Gm-Message-State: AAQBX9fkfFuh4pozCz3szNIeoeRNKGBevgEtGW8vOWG0JSyDBorhdflV 1u09+kb2d5Oruomw7PwPKUDCbw== X-Google-Smtp-Source: AKy350ZhE/QW8t3KlHI/aadxh6Ly2uz9y0NO6KLBMUktYkQB2WzE8l+qu8lK4TdI1vKdf2fLhDjhjA== X-Received: by 2002:a17:902:d4c6:b0:1a1:cc5a:b07 with SMTP id o6-20020a170902d4c600b001a1cc5a0b07mr5997074plg.37.1680657821802; Tue, 04 Apr 2023 18:23:41 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id u2-20020a17090282c200b0019edf582a95sm8893415plz.20.2023.04.04.18.23.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 18:23:41 -0700 (PDT) Date: Tue, 4 Apr 2023 18:23:40 -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: <20230404182340.75d14de5@hermes.local> In-Reply-To: References: <20230331200824.195294-1-stephen@networkplumber.org> <20230403144707.8413-1-stephen@networkplumber.org> <20230403191706.445c55ed@hermes.local> 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, 04 Apr 2023 23:00:42 +0100 Luca Boccassi wrote: > > > > 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 > > No need for python, it can be done with 'jq' very easily. Also there's > 'segregate' which is close enough, it's tier 3. eg: > > $ wget https://inclusivenaming.org/word-lists/index.json -q -O- | jq -r '.data[] | select ((.tier == "3")) | .term' > man-in-the-middle > Segregate Doing it in python allows for better UI. And makes it easier to do enhancements like show tier 1 only, or add more words on command line, or exclude additional directories. Feature creep can be fun...