Received: by 10.213.65.68 with SMTP id h4csp6948imn; Thu, 15 Mar 2018 14:40:21 -0700 (PDT) X-Google-Smtp-Source: AG47ELtLxk8flIwXlW0qVewIFcLi4+OUP2nwHAgzYXtygtFzhHtjeXae5tgzBrr9RI6J47PDyVqD X-Received: by 10.99.151.26 with SMTP id n26mr7894106pge.370.1521150021290; Thu, 15 Mar 2018 14:40:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521150021; cv=none; d=google.com; s=arc-20160816; b=vNHaXPtX5jMHwsGu1G+/2sK/mymoPccyugAwgH6iGqAzRAyXAn4f9G+PynpPZ8sUem m8teRSlBRzxk829/4OVe2nswic33aeepjDVrOaB7z8yr6c3UKx6o4jozXYfDi3Y5zDBG QNMF5aiv10Hbzz5A2xWZJ6SSFalGZHZA8iJnxM41GwC83QGDlBe2r38cAZYsDBR/ga18 Pci6VEbCRr+mkKBuZtcXyGMj79PcLDLtgZngongb9rnfHkZnF+N6DmnKxTcyqvgPaQs0 5X7URSDsLQie8DxrIsqR2bByFHThRy3n2P+NkI1ggHwiOX7oqM/cuY/q3ex71CNq6KvC k5PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=Xxaoh2kUbiChp/QN4O1DsuJSUI2/2Au8e64LOYu1sgs=; b=b84/DbkZ5cR3F2lvcjh0CuFYNSRmaxy9w5vVFA3aSkhBaUSp1vmAnW5koHqpzrgPW4 wqJIDtgQsZygRT5P7l4dcA8FKQat0Kg6ZQ5byxrt0IEp3X5ZvSubbfkcc/5+8jMQV1P1 VgGWx70rhmvoeBoAipNHXEFdPVPNGxba8FszV6UxZowzIKX2tfa93vfbFdb8+Gup1APM ID4q3wpcuxpY0wvzdFvyS/pR+2Mx5fFAgc0KuuNRW6i0I0eUhUZfVAGrtqSI+/urP4zk tcdqzrPcm8fz141pv1tiyuSaDpz6adKGKbhfY5lNUkqxAwwD06FRG+Ji5oe7R0R3aAig Uq9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=d6axAnU6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g14si4027764pgn.275.2018.03.15.14.40.06; Thu, 15 Mar 2018 14:40:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=d6axAnU6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932345AbeCOVjH (ORCPT + 99 others); Thu, 15 Mar 2018 17:39:07 -0400 Received: from ozlabs.org ([103.22.144.67]:50387 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751877AbeCOVjG (ORCPT ); Thu, 15 Mar 2018 17:39:06 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 402MRX3mzdz9sRX; Fri, 16 Mar 2018 08:39:04 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1521149944; bh=ZX7jAC53BxshwTdda7+6eTikL6g3oumKvFETZZlPS1Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=d6axAnU6OKQD64nXOTVwPrAISF1OEo7F++/GvOswkNRHjBlmMgKkoywyqar2h0o9E IZ/hZoN7A98y8cOizQmPmfxr+OHVZD+GLNuZjGypqxmIVi2xMsJ+GJTANMBsc5EEn7 JhaOPH0UDaSJ+r5sW2CBcUrQamKkpseO4iNiS7TCXnnHnLaSuDMD2/jVWBEkDIgRuT 9P0FcXeCfRjI54w/18siuO12pAvr/gparhR7XiVISFPFDWkMxaFPuczzj93Pgn6y2A NW768BHrgaJg+DqFrCy0p6l0X5g0ge0ne3PlHHbXgDRWo5lM9yTWRzZazBXjf00+M7 qHkJrSdnuEjiQ== Date: Fri, 16 Mar 2018 08:38:34 +1100 From: Stephen Rothwell To: Arnd Bergmann Cc: Olof Johansson , ARM , Linux-Next Mailing List , Linux Kernel Mailing List , Patrice Chotard Subject: Re: linux-next: Signed-off-by missing for commit in the arm-soc tree Message-ID: <20180316083834.3aa0c438@canb.auug.org.au> In-Reply-To: References: <20180316075629.019b6560@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/4Tpp=nJyFCEXiTiZpwCCHrC"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/4Tpp=nJyFCEXiTiZpwCCHrC Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Arnd, On Thu, 15 Mar 2018 22:06:29 +0100 Arnd Bergmann wrote: > > What script do you use to find those? I guess I should check for > missing signoffs as well when pulling a branch. See below. You can give it any commit range you would give e.g. gitk. I run this using he ranges reported by the "git fetch" for each tree each day. --=20 Cheers, Stephen Rothwell #!/bin/bash if [ "$#" -lt 1 ]; then printf "Usage: %s \n", "$0" 1>&2 exit 1 fi commits=3D$(git rev-list --no-merges "$@") if [ -z "$commits" ]; then printf "No commits\n" exit 0 fi for c in $commits; do ae=3D$(git log -1 --format=3D'%ae' "$c") aE=3D$(git log -1 --format=3D'%aE' "$c") an=3D$(git log -1 --format=3D'%an' "$c") aN=3D$(git log -1 --format=3D'%aN' "$c") ce=3D$(git log -1 --format=3D'%ce' "$c") cE=3D$(git log -1 --format=3D'%cE' "$c") cn=3D$(git log -1 --format=3D'%cn' "$c") cN=3D$(git log -1 --format=3D'%cN' "$c") sob=3D$(git log -1 --format=3D'%b' "$c" | grep -i '^[[:space:]]*Signed-off= -by:') am=3Dfalse cm=3Dfalse grep -i -q "<$ae>" <<<"$sob" || grep -i -q "<$aE>" <<<"$sob" || grep -i -q ":[[:space:]]*$an[[:space:]]*<" <<<"$sob" || grep -i -q ":[[:space:]]*$aN[[:space:]]*<" <<<"$sob" || am=3Dtrue grep -i -q "<$ce>" <<<"$sob" || grep -i -q "<$cE>" <<<"$sob" || grep -i -q ":[[:space:]]*$cn[[:space:]]*<" <<<"$sob" || grep -i -q ":[[:space:]]*$cN[[:space:]]*<" <<<"$sob" || cm=3Dtrue if "$am" || "$cm"; then printf "Commit %s\n" "$c" "$am" && printf "\tauthor SOB missing\n" "$cm" && printf "\tcommitter SOB missing\n" printf "%s %s\n%s\n" "$ae" "$ce" "$sob" fi done exec gitk "$@" --Sig_/4Tpp=nJyFCEXiTiZpwCCHrC Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAlqq59oACgkQAVBC80lX 0GxWNQf/XNyHte04Fq3fqTaOZaStQ2IZkrZp15pJwablp/Cp7+JRevcVioCbbKqC PQCWdWMVZgipdU9F1cbT7l1xoZUSzAICcYRN2nk71pxI0UVn2EaZhRtuchwXkZmM 1C/KVtKHFxLF1fEHIBq3jhdYm4BxVUOWxchlIRzmA+QEcj/heOk44i8wh1HEv9dw EbIlaHLdy1evJXv6cwsCkUTh9q+/oSgB97+cN7+PJ4TSmq+/ft4cXG9u/43lxspt f8irlYp4OhsHmluNE1YHd/gXpeTnMlN0h4h8mIlmEkeXgnpsqU3eLSLxRCd/eUrn c0Wq+DaBkjmEKOXdF7IgUQ1LSVvlWg== =hdCg -----END PGP SIGNATURE----- --Sig_/4Tpp=nJyFCEXiTiZpwCCHrC--