Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5922651ybg; Tue, 22 Oct 2019 10:17:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3PMGEqvwH1dOu8fBRPxAOs17BpL/IMTjZecSV1g2AbuzzRQYP09PbyU6zlEjSWGkoaq0X X-Received: by 2002:a05:6402:68b:: with SMTP id f11mr6266450edy.173.1571764677205; Tue, 22 Oct 2019 10:17:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571764677; cv=none; d=google.com; s=arc-20160816; b=pPn3nYJuI1c2mY/PTt/J2Y4xLupzbgHnm/8GxoivknVaiblLARM7Jllwajn0kdzJYg S+Fv8y0kmyJGuOxAZbHYPFrp2XrGihGZ9rqaRaoaEo0u9N4uHqDSfE5Tdk19ENgOwf2d Gef48IQOyxHEBFix/Qjt5spZrpmuM1No4qnt+J96HqSmZhABQnJPCgX+PRwTo12ciKRW YYu+WGbNrTn4spcXYVMrnrv2aj4ciWzG4rvVPnGG962yyMZ3cmjjUcRTk10u0d23Z15C Z55VKV0cfVM6UbTDd3zkjVJ0w05u/5JYAXoxEvRsmTleiYdV2N/rtIJPB/SEzU0NRpk9 kLnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=aGu1aHzafMqFrU5v6bmC0bZUGDBIxfBU5FS6beFKAV4=; b=zWO9G/pgoH4Afc/sqqNen7COnu4oMEyzKITj4fwTkVyQAzEQIk9WCdDhIySSH2VGxE DA1VZGPUnZHMFgNXKiY5KLwzQjqad38DGoW0TaqfvDL4ujJmEgCa00/HMQCY3a4e4XbJ 9uyRao6r1LGrjR1A2SRVxoSe4MOmilaqRmofccQCdCecG+xgdnHWzUfmt5rNRpVTL9C/ XOZuoM4ugWL8zExDCg+4ImTVy232KFCoLXngZJ+u9lIxNBT5p8XTHLoWmeIN0/4imew1 oRvIT8gAiZHs85Xt+E3cUcnEBEjg8JXYSDrqDUK8l4W90h+4CqHFSPq6AmnR3+NbdUJ3 BGEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=lI37fSWr; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s20si11278515eja.63.2019.10.22.10.17.30; Tue, 22 Oct 2019 10:17:57 -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=@oracle.com header.s=corp-2019-08-05 header.b=lI37fSWr; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388466AbfJVQaX (ORCPT + 99 others); Tue, 22 Oct 2019 12:30:23 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:36112 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387873AbfJVQaW (ORCPT ); Tue, 22 Oct 2019 12:30:22 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9MGSuKD165257; Tue, 22 Oct 2019 16:29:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=aGu1aHzafMqFrU5v6bmC0bZUGDBIxfBU5FS6beFKAV4=; b=lI37fSWrTn9vVdOmdpBjEJGThnaTTpKR11O4uvEIwaQ1/NdWEE/Ipn2i7uVL7rhsQWq8 lVm+fj4SJpy0Eejilmx60PyC39LXfx4Cq+TOYyTPJx2pZZBH2FMn9PbsPjsaS02vjIoG 5yPkHfuouWceRyr+vK58Az1dkGkZNBQxdseedeOjvORlw91qbdMIS91ZNgoyNT+dF9Ha LHZgVvtE8gu0KHXv62vxZOHEIOML2gPIcPIs7SqiXD5xwvAN1ZNggzjeYQJO9BmlyRlD UovC5s+xsF+NB3qpOU1q08qoOAGH9F6pC6hOzSfCvp6gR7AN/PSohPROXx3ARZ/LiHs0 iQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 2vqu4qqsx7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 22 Oct 2019 16:29:48 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9MGStG0064556; Tue, 22 Oct 2019 16:29:47 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 2vt2hdbqb0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 22 Oct 2019 16:29:47 +0000 Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x9MGThJN023491; Tue, 22 Oct 2019 16:29:43 GMT Received: from [10.175.28.77] (/10.175.28.77) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 22 Oct 2019 09:29:43 -0700 Subject: Re: email as a bona fide git transport To: "Theodore Y. Ts'o" Cc: Willy Tarreau , Santiago Torres Arias , workflows@vger.kernel.org, Git Mailing List , LKML , Konstantin Ryabitsev , Eric Wong References: <20191016111009.GE13154@1wt.eu> <20191016144517.giwip4yuaxtcd64g@LykOS.localdomain> <56664222-6c29-09dc-ef78-7b380b113c4a@oracle.com> <20191018161547.GG21137@mit.edu> <20191018191456.GI21137@mit.edu> <20191020031716.GA17475@1wt.eu> <1a259d8d-b3d1-b64e-07c3-ba143b42c442@oracle.com> <20191022135344.GC23268@mit.edu> From: Vegard Nossum Message-ID: Date: Tue, 22 Oct 2019 18:29:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191022135344.GC23268@mit.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9418 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910220139 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9418 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910220139 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/22/19 3:53 PM, Theodore Y. Ts'o wrote: > On Tue, Oct 22, 2019 at 02:11:22PM +0200, Vegard Nossum wrote: >> >> As I wrote in there, we could already today start using >> >> git am --message-id >> >> when applying patches and this would provide something that a bot could >> annotate with git notes pointing to lore/LKML/LWN/whatever. I think that >> would already be a pretty nice improvement over today's situation. >> >> Sadly, since the beginning of 2018, this was only used for a measly >> ~0.14% of all non-merge commits in the kernel: >> >> $ git rev-list --count --no-merges --since='2018-01-01' --grep 'Message-Id: >> ' linus/master >> 178 > > You might also want to count commits which have a link tag with a > Message-Id: > > Link: https://lore.kernel.org/r/c3438dad66a34a7d4e7509a5dd64c2326340a52a.1571647180.git.mbobrowski@mbobrowski.org > > That's because some kernel developers have been using a hook script like this: > > #!/bin/sh > # For .git/hooks/applypatch-msg > # > # You must have the following in .git/config: > # [am] > # messageid = true > > . git-sh-setup > perl -pi -e 's|^Message-Id:\s*]+)>?$|Link: https://lore.kernel.org/r/$1|g;' "$1" > test -x "$GIT_DIR/hooks/commit-msg" && > exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} > : > > .... as we had reached rough consensus that this was the best way to > incorprate the message id (since it could made to be a clickable link > in tools like gitk, for example). This rough consensus has only been > in place since around the time of the Maintainer's Summit in Lisbon, > so uptake is still probably a bit slow. I'd expect to see a lot more > of this in the next merge window, though. Thanks, I was not aware of this! Seems like something that should go in Documentation/maintainer/, right? The figure is much better, 16.7% on all non-merges since 2018-01-01. This should help and we can maybe already do some interesting things with git notes and lore/public-inbox. Vegard