Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp76931ybg; Tue, 22 Oct 2019 16:25:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIsp8x59EsmoJlINW/wYev6vUvaQJFtBzDXmiV9vJzsbY3GoZmnV3iANe4z85u44+2V7ap X-Received: by 2002:a17:906:f1d0:: with SMTP id gx16mr14148522ejb.62.1571786721940; Tue, 22 Oct 2019 16:25:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571786721; cv=none; d=google.com; s=arc-20160816; b=spdZdOJAx7al6HWKoPSAakbQyb5vawJhbrsRGFhP0FNdxff9oNSQXHwowDq4LiantM qFe3Az8FCCIegV2FTCAcwv4AOHkmfO8/Ykz39/iO4DeFk8CFlgv7+EXRQ3WvCMtqxI7G SEWrjTwQXfIDRC9vApf8LcLWE1j5jWwroDVrnTsx57OVciErxk/SiZlKWjyLbZNY3Nnt BKs+Z8MOcEKYLQvJhEVyFijLu8SVbw6ZMN8fAuHpb6ByfSKeCb2ra0gF0kfRJMWwt13n HgTpDCnFjqMdhWtz0b9N7H7GcVFkl9AUi7sU8Yi3DYtUADbGgmII38ze+Tsr3Z5AnF2l z0dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=nT8uMeuKXYV/Dr+Ve6A161viQNocVL8Vn7RkhHOT9K4=; b=PYZjdTsEPSWkp5SS6kAUZZh5okbrMpAkEM3dEFxlSjr6Jt/5UwEnHZvp3w1zDGGpec JV4c5Em4/JT1tUjOlathOmmfOzZ5aVI3R3PDXJif2wjm/2kGofl89QwlaNJBDyYd1W/M 7ULPXzAau8I9sjsJRyj6xqgWCuWxlPpGccY3Ro6szSVShBEZ9Ps0HdVQKseeEUvjWNK6 E7EWq0ndCUNg3T1UWm5YHrDVmsDdVORek38WDlThnsTeQy5a45qtCcKjFOO2PFDMsIFV NEx5Z8o9+G1FqlxeavlXKeHIhuN11sZx/TbBUT9UV9QUq7A8zojSDt/I1/9jsDJpISYC 0ALA== ARC-Authentication-Results: i=1; mx.google.com; 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 f19si2972088eda.435.2019.10.22.16.24.46; Tue, 22 Oct 2019 16:25: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; 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 S1732867AbfJVTBb (ORCPT + 99 others); Tue, 22 Oct 2019 15:01:31 -0400 Received: from dcvr.yhbt.net ([64.71.152.64]:53062 "EHLO dcvr.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732843AbfJVTB3 (ORCPT ); Tue, 22 Oct 2019 15:01:29 -0400 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id A57891F4C0; Tue, 22 Oct 2019 19:01:28 +0000 (UTC) Date: Tue, 22 Oct 2019 19:01:27 +0000 From: Eric Wong To: Vegard Nossum Cc: Willy Tarreau , "Theodore Y. Ts'o" , Santiago Torres Arias , workflows@vger.kernel.org, Git Mailing List , LKML , Konstantin Ryabitsev Subject: Re: email as a bona fide git transport Message-ID: <20191022190127.GA697@dcvr> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vegard Nossum wrote: > I sent v2 of the patches (with metadata _after_ the diff) to the git > list here: > > https://public-inbox.org/git/20191022114518.32055-1-vegard.nossum@oracle.com/T/#u > > 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: --message-id helps provide a concrete reference, yes. However, being able to search for commit subjects in the mail archives is already implemented via cgit filter. An example is here: https://80x24.org/mirrors/git.git/commit/?id=8da56a484800023a545d7a7c022473f5aa9e720f The link at "userdiff: fix some corner cases in dts regex" makes a link to: https://public-inbox.org/git/?x=t&q=%22userdiff:+fix+some+corner+cases+in+dts+regex%22 (side note: not sure if that "x=t" to expand the whole message is good...) That link is generated by examples/cgit-commit-filter.lua in the public-inbox source: https://public-inbox.org/meta/1677253/s/?b=examples/cgit-commit-filter.lua My longer term plan is to be able to use the post-image blob OIDs from cgit to generate a search query for public-inbox such as: https://public-inbox.org/git/?q=dfpost:afc6b5b404+dfpost:072d58b69d+dfpost:4353b8220c+dfpost:333a625c70+dfpost:e187d356f6 Which finds all versions of the userdiff patch posted. But AFAIK there's no easy way to get at blob OIDs from cgit to a Lua filter...