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 91C63A0C43; Wed, 20 Oct 2021 11:14:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5CB3340687; Wed, 20 Oct 2021 11:14:30 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 3248140142 for ; Wed, 20 Oct 2021 11:14:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634721268; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pckRr0DfjxaB2T5JMxR77RbVUHb2oqbN52HhYVNv544=; b=GEVJxcCamfQb9rxz1d+aFF0Froz4/QcIUfbFA/7s1Eb/tiVXzrCpkWSifKWPpdaIcccG39 UNdnfoY9eh8b4ZUdjU8AdTs0Ux/ZokT6ezmcWSfOkP/JD1KExalnNY1X0JD8Q9UIYScl9o fBYV1GG2DuVXdlXbnDl1/2b5lMRQgNM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-464-cr4nXLP2NWaijaAtyT_ucw-1; Wed, 20 Oct 2021 05:14:25 -0400 X-MC-Unique: cr4nXLP2NWaijaAtyT_ucw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6707ABAF80; Wed, 20 Oct 2021 09:14:24 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.193.101]) by smtp.corp.redhat.com (Postfix) with ESMTP id F00991009AB7; Wed, 20 Oct 2021 09:14:22 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Thomas Monjalon Date: Wed, 20 Oct 2021 11:14:15 +0200 Message-Id: <20211020091415.7010-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-dev] [PATCH] devtools: check prefix for libraries patches 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 Sender: "dev" The convention in DPDK is to directly use library names as prefix, without a lib/. Signed-off-by: David Marchand --- devtools/check-git-log.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devtools/check-git-log.sh b/devtools/check-git-log.sh index 9988bf863d..475f2464ab 100755 --- a/devtools/check-git-log.sh +++ b/devtools/check-git-log.sh @@ -89,6 +89,12 @@ bad=$(for commit in $commits ; do done | sed 's,^,\t,') [ -z "$bad" ] || { printf "Wrong headline prefix:\n$bad\n" && failure=true;} +# check headline prefix for libraries +bad=$(echo "$headlines" | grep --color=always \ + -e '^lib/' \ + | sed 's,^,\t,') +[ -z "$bad" ] || { printf "Wrong headline prefix:\n$bad\n" && failure=true;} + # check headline label for common typos bad=$(echo "$headlines" | grep --color=always \ -e '^example[:/]' \ -- 2.23.0