From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] scripts: check commit formatting Date: Mon, 11 Apr 2016 23:59:06 +0200 Message-ID: <1669977.GbkgN6coQ4@xps13> References: <1459286986-31148-1-git-send-email-thomas.monjalon@6wind.com> <1460389145-5570-1-git-send-email-thomas.monjalon@6wind.com> <20160411161342.GG3080@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Yuanhan Liu Return-path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 732B02C38 for ; Mon, 11 Apr 2016 23:59:08 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id n3so3816704wmn.0 for ; Mon, 11 Apr 2016 14:59:08 -0700 (PDT) In-Reply-To: <20160411161342.GG3080@yliu-dev.sh.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-04-12 00:13, Yuanhan Liu: > On Mon, Apr 11, 2016 at 05:39:05PM +0200, Thomas Monjalon wrote: > > The git messages have three parts: > > 1/ the headline > > 2/ the explanations > > 3/ the footer tags > > > > The headline helps to quickly browse an history or catch instantly the > > purpose of a commit. Making it short with some consistent wording > > allows to easily parse it or match some patterns. > > > > The explanations must give some keys like the reason of the change. > > Nothing can be automatically checked for this part, except line length. > > > > The footer contains some tags to find the origin of a bug or who > > was working on it. > > > > This script is doing some basic checks mostly on parts 1 and 3. > > > > Signed-off-by: Thomas Monjalon > > Reviewed-by: Yuanhan Liu Applied