Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1342329ybg; Fri, 18 Oct 2019 16:19:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBB83jF3+TfcHURwISArjhXBjsa1QJyC+z9Mr7YxmdEP/Bgl5LMlouhY6x4x582LuVbRgt X-Received: by 2002:a05:6402:88d:: with SMTP id e13mr12274775edy.246.1571440783346; Fri, 18 Oct 2019 16:19:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571440783; cv=none; d=google.com; s=arc-20160816; b=Mqw3dPW44JkX2hVssAhGCrtUAEe4yAEMQFFNdMU6EHP3TPZtryLcWjLAB1DlwT0Q9u Z4JQwiIuRI6EuMKPCx+IdJEZiJD0zEO8cHwnst+OZ7gNYX/VBwnJc06PbW+C86Er/B/D jav7YH+YEBwOdl4TfCyNtBehLb78Jxe1oBvtDjsRfC8W1EWFIk+lZLXrZ3rY2nEGdgNG zY/ZVfh8KFqCHAMt0vUGXol4IZXKs3G4IUs0/mNGcxStk1catPGJ9NKMfjrA/Wqpoh+R YFC+cT3tbv9BJDe2JEwg4jF1dMC9ekMRTWmWUc/BlwMBchFPd5LJn8/aBrBKQNkaiFtb 9/AA== 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=1oy3cGNgH0i5Lwak9f1antb3wV2au+a9q+6gcEuLQxk=; b=o2MtadDPLASiR+OTVtO2Whhixa8evs69pdwvCSorpCFCcIgPtdGxv8mPbg/1ViegVf 03/Va/QQ37tDBmVDO7nb9spcECMrkPLqdTaBplVfoPFxT+JtgOJtdLRdAAQHHe/G9Lbv DFW2huW/C5tW/GetoK4vXZ6bU9fKHLCDjZ2r1BAQzo0mSHORxvJ+nVeBp7q8hdRBl5XS iyoF6vuId4yBlbB7FTcSa4zaG87Rm3q6il/kjNgrg7wKTW+8djMYAQcefmIcpdFF6d3F 7T2u57yz0r91oI2PeCXnqoc/+D7Xj4xl1Zouk7Y2PPKLgPLelOTJLC+Q380dZWOaNMap RZtg== 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 e18si4624458eds.68.2019.10.18.16.19.20; Fri, 18 Oct 2019 16:19:43 -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 S2504206AbfJRGCi (ORCPT + 99 others); Fri, 18 Oct 2019 02:02:38 -0400 Received: from dcvr.yhbt.net ([64.71.152.64]:53884 "EHLO dcvr.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732713AbfJRGCh (ORCPT ); Fri, 18 Oct 2019 02:02:37 -0400 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C7E851F4C0; Fri, 18 Oct 2019 02:22:53 +0000 (UTC) Date: Fri, 18 Oct 2019 02:22:53 +0000 From: Eric Wong To: Vegard Nossum Cc: workflows@vger.kernel.org, git@vger.kernel.org, linux-kernel@vger.kernel.org, Konstantin Ryabitsev Subject: Re: email as a bona fide git transport Message-ID: <20191018022253.GA29290@dcvr> References: 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: > Disadvantages: > > - requires patching git The bigger disadvantage is this won't work with a historical patch series (and some folks stay on ancient git). But maybe that window for that is only a few years... The toughest part right now for public-inbox is trying to make sense of --range-diff (supporting --interdiff would be easy, I think...). Also, we've only had --range-diff for a year or so. Your proposal would make things 100% easier for public-inbox to deal with future --range-diff uses, however :) > - requires a bot to continuously create branches for patchsets sent to > mailing lists Not necessarily, being able to search on commit OIDs would be pretty handy itself for dealing with --range-diff output in public-inbox, so there's no real need to actually make the branch in git. I also have a parallel solution in the works to make --range-diff output more amenable for search engines like public-inbox by adding blob OIDs to its output: https://public-inbox.org/git/20191017121045.GA15364@dcvr/ I shall call myself an "SEO expert" from now on :> > Thoughts? Pretty much the same concerns others brought up around exactness and working on top of cherry-picks. > PS: Eric Wong described something that comes quite close to this idea, but > AFAICT without actually recreating commits exactly. I've included the link > for completeness. [4] > [4]: https://lore.kernel.org/workflows/20191008003931.y4rc2dp64gbhv5ju@dcvr/ My plan is to work on interdiff support in the next week or so once bugs are fixed and public-inbox v1.2 is out the door. Not sure about range-diff and reverse-mapping blobs -> trees -> commits, but searching on "git patch-id --stable" output is also on the table. PS: Attached patches: I have nothing against using MIME for those, (not speaking for anybody else). public-inbox needs to handle those better w.r.t search indexing linkification. And then I found some bugs for --reindex corner cases which I'm still working on :x