From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id AD45D1F4C0 for ; Wed, 16 Oct 2019 15:39:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405331AbfJPPjv (ORCPT ); Wed, 16 Oct 2019 11:39:51 -0400 Received: from mx0b-00256a01.pphosted.com ([67.231.153.242]:42170 "EHLO mx0b-00256a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726796AbfJPPjv (ORCPT ); Wed, 16 Oct 2019 11:39:51 -0400 X-Greylist: delayed 3268 seconds by postgrey-1.27 at vger.kernel.org; Wed, 16 Oct 2019 11:39:50 EDT Received: from pps.filterd (m0119692.ppops.net [127.0.0.1]) by mx0b-00256a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x9GEfpK9189837 for ; Wed, 16 Oct 2019 10:45:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nyu.edu; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=20180315; bh=Z4cb3+GRXA9EqnJmXpWc8AtTCxFf8v08NwzkNafzhnA=; b=eeOw7gMdwRVxg7ksrGYu1MBX1C/Vo3u8vJ2ROJyF28UNw2PX/IH5BId1U/XQguclm758 YEh7I1Ah5Q2JuVhVMv+bCi/Twd1U4kowlclW1PvPiBTM+kBTnDVKg3tMGI/b22Mgluc5 ZR8/xqgl0VSCDkSO5FrD0DCRHanRloFvEqwlbZhcE9PQUktWryRem1+XasSUd/XrSJMr KZKqlgP+W+kIe8ts/SxT0/mmysr6atlLtFcxwCX8EeWvIbssCAqB87o/GjM+wFD9y4/x KxHW/GVnNYM6oNIsfCLd8lCoR+3dcDsRhUYfImkg1EoFxxEki1shOY6Jam26qZqlqJJl QQ== Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mx0b-00256a01.pphosted.com with ESMTP id 2vnp4sbvv9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 16 Oct 2019 10:45:21 -0400 Received: by mail-qk1-f198.google.com with SMTP id s3so23953400qkd.6 for ; Wed, 16 Oct 2019 07:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nyu-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Z4cb3+GRXA9EqnJmXpWc8AtTCxFf8v08NwzkNafzhnA=; b=FZtT2DgPvEk1dkdNAE/kX2k6ChkotaFixMGtcRbkpI1FXXd4CdCa7q82FdboZMcjus 4tQO6+ls9zVGEfZZEdhmiTKa8FKKfZ0euojGxBQ4ywgmccynSf55I0PrvObiXBoKSN0O OcGsSuTN/8FNOTzndxikMia8wWCu8TmstMExVTXTdIFG11cAZQB0I5hZyQn411CUyjFb i/e1z52/FXzPWFjcq/2vP1+zymZRCzTYtA3mPzXi1sjY//dFmh6U50ynfuPvMxTgYDQk Vopum7uId5rLepOnzqpiYDmyJRrFQOzTtxXqkdxHaMpXOKm6FC2Y4p4rd4YnAtvEXb9i LRyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Z4cb3+GRXA9EqnJmXpWc8AtTCxFf8v08NwzkNafzhnA=; b=JPwz5dmTzV+0IvNQPHRXtLm6p0NOmnwkriROdDOcLfcL5GAWZzMgqbZU1sVvwenmjl t+ta6vMcUsh9M+ACC8O9eZbl3ZCtkoSCVFQ0Nq0J6DGQfiIZQ4LxTddPDoqjeZSTrv08 OPDNMU0T4zpCi50BFeD2BdeIgojQZC5hrpKewJg5JVA0mjD/y0bJD+IqgBroSN5KEOi2 aeq7zfNKxvQdZKzLgjFllb4upwWG3x2jbaK5IZXO2A5xGcCs4hp17A2OCB9kLTWYqjhn h+9uCPEt0H4xfvzjXdxoq8e9a+CZ/3Oai8fpEQdQEPnPoSKk/VqatP7mxMnyLIxj1c9m VpsQ== X-Gm-Message-State: APjAAAXdigeNPIKNVwtUipCX8aPfWQO9E5FDKARx+oMNZ9VGvuZ1H+pY n8RwIQQ5dOWHnYDcmGeBtbS/zeVZbJnXfrMut74JkW7HD+T5X4+OrmQ88iIaz5ey6WhqUqGzdMq UyJEqZN4St/k= X-Received: by 2002:a0c:eda2:: with SMTP id h2mr41542111qvr.190.1571237121340; Wed, 16 Oct 2019 07:45:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwthW6i4sYOEjqqa1DXH6trpqn8KkEK3rR31znEaiBCZutvDbhx1JX7Db1PsHhjbjJyGnuUmw== X-Received: by 2002:a0c:eda2:: with SMTP id h2mr41542092qvr.190.1571237121103; Wed, 16 Oct 2019 07:45:21 -0700 (PDT) Received: from LykOS.localdomain (216-165-95-148.natpool.nyu.edu. [216.165.95.148]) by smtp.gmail.com with ESMTPSA id d127sm11208279qke.54.2019.10.16.07.45.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 07:45:20 -0700 (PDT) Date: Wed, 16 Oct 2019 10:45:19 -0400 From: Santiago Torres Arias To: Willy Tarreau Cc: Vegard Nossum , workflows@vger.kernel.org, Git Mailing List , LKML , Konstantin Ryabitsev , Eric Wong Subject: Re: email as a bona fide git transport Message-ID: <20191016144517.giwip4yuaxtcd64g@LykOS.localdomain> References: <20191016111009.GE13154@1wt.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mrjm34jdre4iu7ux" Content-Disposition: inline In-Reply-To: <20191016111009.GE13154@1wt.eu> X-Orig-IP: 209.85.222.198 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 malwarescore=0 mlxlogscore=846 spamscore=0 suspectscore=7 adultscore=0 bulkscore=0 mlxscore=0 clxscore=1015 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1908290000 definitions=main-1910160128 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org --mrjm34jdre4iu7ux Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Willy, Vegard. On Wed, Oct 16, 2019 at 01:10:09PM +0200, Willy Tarreau wrote: > Hi Vegard, >=20 > On Wed, Oct 16, 2019 at 12:22:54PM +0200, Vegard Nossum wrote: > > (cross-posted to git, LKML, and the kernel workflows mailing lists.) > >=20 > > Hi all, > >=20 > > I've been following Konstantin Ryabitsev's quest for better development > > and communication tools for the kernel [1][2][3], and I would like to > > propose a relatively straightforward idea which I think could bring a > > lot to the table. > >=20 > > Step 1: > >=20 > > * git send-email needs to include parent SHA1s and generally all the > > information needed to perfectly recreate the commit when applied so > > that all the SHA1s remain the same > >=20 > > * git am (or an alternative command) needs to recreate the commit > > perfectly when applied, including applying it to the correct parent > >=20 > > Having these two will allow a perfect mapping between email and git; > > essentially email just becomes a transport for git. There are a lot of > > advantages to this, particularly that you have a stable way to refer to > > a patch or commit (despite it appearing on a mailing list), and there > > is no need for "changeset IDs" or whatever, since you can just use the > > git SHA1 which is unique, unambiguous, and stable. I wonder if it'd be also possible to then embed gpg signatures over send-mail payloads so as they can be transparently transferred to the commit. -Santiago --mrjm34jdre4iu7ux Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkDurc2QOttZVM+/zRo8SLOgWIpUFAl2nLP0ACgkQRo8SLOgW IpUWCQ//UFA5stuXzMxzWIKHQD+H0TuHkdaljhkWkD/PJkKg38VK0qyxCwqszoVd wRfV3HZa/hoPkY6pnoqIm+VfqbuEnZ5K93I7mGvsKnY9lAOh7GXYjETV62XN0sT7 goQPqxoBM+a9hEBYSccYARaq2EGmDHojhEYJjLIR2br4XXMn+Mrd0VQ90Kph2ozn WwwoBeqNQaA2gH2fBeYmWKfpuY+0yIRxQfX2gflOx7IDVQAm9NiPqV2FakfZ5Kq8 W8QhGRIpDvIIzmqpGpuETPBtXt/eABENOyoa+E8iFviEM471N6ww3PVQAD6ZJ9k+ LofGz4XhiNOgAHWRKIh4v6zYZgxXfXtIojAZLDR2TGSrfWDj4l9EJ0nNNI2pYspV 1xFkCYEUwoLORs1BLo1Zn2mO4XhiAcsQvrJwRdHvT6MFDDOl59SpQQkCJ77udupr oCwHoJ4Ew/zHn8y+H7PRoNc9cIqhIUbBTqSJ9lNczOjOaliSBGDQ46CsEfEoT2eT hxtkOiZQBpLKifJ9oPxGKqD1yPRFI+mNYCkye/yx7BN8Mgo/wqei4ypu+pmdpai8 LF41nXT1flRHt/ffTJSUP4JqpJXH96Kkz+PCUsBQ3x6zf0eMQNaVY59lXdXN44Wy TYRbjZx4va+x+wkmRl6Z+7WefkAqrL3H2l6XjBvTkXYfZneLuGg= =LpIO -----END PGP SIGNATURE----- --mrjm34jdre4iu7ux--