Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1081949imj; Thu, 14 Feb 2019 00:38:18 -0800 (PST) X-Google-Smtp-Source: AHgI3IacCpniKh1Z2oRsyuaLIicH+1llWhI+Bid8A1cGzxf6fiefYPayTtNopd5RLP1Nj5AQbSsl X-Received: by 2002:a17:902:a50e:: with SMTP id s14mr2917077plq.311.1550133498030; Thu, 14 Feb 2019 00:38:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550133498; cv=none; d=google.com; s=arc-20160816; b=VmrfwkwzLwmll8sQuy8vJREbV2QHBcEhoKCHb2Jv0KEISe5eCALOH6CqJFrl3L5cpl PBsqEHW5TUt1M54YEDfTe+lSPt+XyThX+08UMuZDJrVqkjYtwgKgcFqgIUEX/F2KWIOA txH+PLFqOc0VkQLi0xPPGqlpYXS6c17JLMki+UhwrKiHBBK+YoEeILIecKFTzEb/gEPd JZPbnpq6+qgHN0wuHCM2JdvEVhPu6LFcc4p7u3mvs4kNcv9bnqSBnhQxOmVIkmzI5RR+ Kl4lytKi4F6aUd+wktAFP8myvmY8tfVzt2MXLJ4Iauh1G1zdqwE+X40FPy+JyFf/LmeB jJQQ== 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; bh=IrmMvQ9KxdHMcLSqT6OzGU/cwy1oGwluDPrrSrLlQUI=; b=nhrfxhZFG2K1ar0Ca9S1StDVr29ajj378akzhPTO+GjxDog1kMCvtN6SbqwvYrMrXg j1KBYrHiWdLahBH36CWwsBSkEEepFn4utgVC/U8/1zQtVAj5GoHQ7yCEEijKOMdftGw6 SiLsto9ZaVhO7kCZcMutTBC2X9YD1E9AKN70AacFA9TQMRXAPNaTB2u8etUZfxcGMKvp 6MhnpJNnXl6sfi+Fu3Btv4hnPGPlQBOBHSTaH7q9RkR3YAwaCp1JXFbcVWw1WTzaKA1r 3WZV4RRzuNvshAnSqNsVALmEahuKFlf3gupcjyPHDamjkooSTRCDpGy1+mWF1FNqopMF xY0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=Cdm2VheA; 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 u4si1748768pga.91.2019.02.14.00.38.01; Thu, 14 Feb 2019 00:38:18 -0800 (PST) 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=Cdm2VheA; 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 S2391277AbfBMVR1 (ORCPT + 99 others); Wed, 13 Feb 2019 16:17:27 -0500 Received: from ozlabs.org ([203.11.71.1]:53627 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727580AbfBMVR0 (ORCPT ); Wed, 13 Feb 2019 16:17:26 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 440C5r4gnnz9sMp; Thu, 14 Feb 2019 08:17:20 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1550092642; bh=usZD1EHBiWCYhzRpVGMb6jzegoQs6kDHeIOc47qPbdQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Cdm2VheArDNKYky10oqqe1JnTxaEux1KjBZzry81HiR7z96c8QqmIn8ZE05uzDDLl uiq2P7aVhxe8pG+6hpcd8AJV4SKgLuMkNPM3drX8C7nwEFQ3C4BshFc2DhQ+84KX6f MEjdj5ecERJlDWI1ENNf1+ngQlSl8MU3rHGwtgKFCl1N8JxjDZYr13orRAYcVS6J09 rL6Z8QGQUDfhLgPOU3Eo/XI+FsjhHtZ7U3GgCjU3W4mSr/66tZY+WAZNMfZj1ZDRfa ryrxvUKY5f7x8uRjbthUQSn45jAXOYxpxKokjNqviLB/A7m6G1Ac/PvrHY9xUSgzAu 3P96utEf/EGLg== Date: Thu, 14 Feb 2019 08:17:16 +1100 From: Stephen Rothwell To: Bjorn Helgaas Cc: Linux Next Mailing List , Linux Kernel Mailing List , Wen Yang , Lorenzo Pieralisi Subject: Re: linux-next: Fixes tag needs some work in the pci tree Message-ID: <20190214081716.1367f024@canb.auug.org.au> In-Reply-To: References: <20190213100309.03b5ea58@canb.auug.org.au> <20190214070958.058aaf32@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/PH76b2KzPsXn/xXl=LbMreg"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/PH76b2KzPsXn/xXl=LbMreg Content-Type: multipart/mixed; boundary="MP_/Ckag9eUwX/k/LeRKcpE3w7." --MP_/Ckag9eUwX/k/LeRKcpE3w7. Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Bjorn, On Wed, 13 Feb 2019 14:19:32 -0600 Bjorn Helgaas wrot= e: > > Thanks, I guess now I have no more excuse :) :-) > Is the "missing a Signed-off-by from their committer" thing that I > regularly trip over a manual check? Ah, attached is the other script I run (maybe I should combine them). --=20 Cheers, Stephen Rothwell --MP_/Ckag9eUwX/k/LeRKcpE3w7. Content-Type: application/x-shellscript Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=check_commits #!/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 author_missing=3D committer_missing=3D print_commits() { local t=3D"$1" shift s=3D is=3D'is' its=3D'its' [ "$#" -gt 1 ] && { s=3D's' is=3D'are' its=3D'their' } printf "Commit%s\n\n" "$s" git log --no-walk --pretty=3D'format: %h ("%s")' "$@" printf "\n%s missing a Signed-off-by from %s %s%s.\n" "$is" "$its" "$t" "$= s" printf "\n" } for c in $commits; do ae=3D$(git log -1 --format=3D'<%ae>%n<%aE>%n %an %n %aN ' "$c" | sort -u) ce=3D$(git log -1 --format=3D'<%ce>%n<%cE>%n %cn %n %cN ' "$c" | sort -u) msg=3D$(git log -1 --format=3D'%b' "$c") sob=3D$(echo "$msg" | sed -En 's/^\s*Signed-off-by:?\s*/ /ip') am=3Dfalse cm=3Dfalse grep -i -F -q "$ae" <<<"$sob" || am=3Dtrue grep -i -F -q "$ce" <<<"$sob" || cm=3Dtrue "$am" && author_missing+=3D" $c" "$cm" && committer_missing+=3D" $c" done if [ "$author_missing" ]; then print_commits "author" $author_missing fi if [ "$committer_missing" ]; then print_commits "committer" $committer_missing fi exec gitk "$@" --MP_/Ckag9eUwX/k/LeRKcpE3w7.-- --Sig_/PH76b2KzPsXn/xXl=LbMreg Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAlxkiVwACgkQAVBC80lX 0GxHnAgAn0wqCQDaZTTAKXS0uh4RKt4K+8EFvWHTku2hhvUXsbP2ZKTBcWWj71T+ sdu4+Gb5AgNXCUagRL3ujNwQKXosfQ0XhKVr9PlC0mh9zzodX/p5Wl63ECQRrJkI 0wiT1gyQMVgmSIpge1Q3iC24fCUbAaL+bQslxYk1Lkg+ka20sFax4ji2+7yn4Cks sJHAm+SrfsamfhK3plTivebLHZe7Ifw6RpCUykRVn7WoilP1khBHl7MXzzo0bS59 5/opDSbEDf8MWYuWn49BgMO2GLy2Jy44DfRP5TqtrZxUDMu6GZvTerd7uAUqUtKq p9v9r3lHVNUyhSpLLXVfkFvHkcfdTw== =10xJ -----END PGP SIGNATURE----- --Sig_/PH76b2KzPsXn/xXl=LbMreg--