Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp507156pxu; Thu, 3 Dec 2020 06:04:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+GG6Ghw8bLYGkJzLrMxOpgCpGo8mIC1m/YVCXci+ILWG2OtzskcmpGIcEj0lzSVeQl0aw X-Received: by 2002:a50:fb1a:: with SMTP id d26mr2963192edq.101.1607004253129; Thu, 03 Dec 2020 06:04:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607004253; cv=none; d=google.com; s=arc-20160816; b=K5F0AKx/WWZCC+3I1xzAixcZskEluekpmIA8N3MJpHTPTYE3VN9EtAix0/5EP27eVJ loX4qV9rLKEunUnNHE3HpiRekSxRFvINKEH1ukLxujydkw/nw+OYgyZQfk/fSghCM7tu 8rnNnRxfU1cUd1XxEoeWL6ZW528R9JKAMKM5Wjb2vb4Y4MCGlh5WCb3jviMGvuF3mUDC 47JR3I78dcjclaOXhDRzGFFHGXQiGO8nYCr5TSbpraT67uwmGvwc5Kvwqoh6NyCp2/Ti uruNQuou/ev3LZA0iqArVP5zi265NMX0MYNgGi/oaBNujqTHokspLZEOIX+wqSRYMNBd 808g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature:dkim-signature; bh=43SOe65HNb1sEVEDpooVbNU3EcAXp20VvPG6F5M8IPs=; b=xbBSoWpVRLv/a/V4Xir9JrelIO2nevaWApYLZRqmxjzs8KDfwxSaH6uFk2IXxPuccr D6qndwYhMomTsoKWK9AiGIZsa0MNsj/xtu8Vp5WG6Zms/8NqsIfDEhsSstaFvS2/R9z7 DpytLRnxz2WNOn/Duvm4dBhLemYE5ARn+YDtt4tU+4JrCPUSHPolHtodXzW9s88P8uGa fdMXQkwFPHA14gwA8ZqlXT/M9TM3EtS8Nh9eY2W7XLCEzLJysjMGGb0H9KWemMcYMcvD RKrdRtLA9gKoRHRocucX7ikAP5ODS2PqP8jU+w08dnG634TlD1nG3kkq0pFi7waNrYVn JZQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b="eq3/hiAv"; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b="eq3/hiAv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x91si954110ede.370.2020.12.03.06.03.48; Thu, 03 Dec 2020 06:04:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b="eq3/hiAv"; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b="eq3/hiAv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730811AbgLCN7B (ORCPT + 99 others); Thu, 3 Dec 2020 08:59:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726112AbgLCN7B (ORCPT ); Thu, 3 Dec 2020 08:59:01 -0500 Received: from bedivere.hansenpartnership.com (bedivere.hansenpartnership.com [IPv6:2607:fcd0:100:8a00::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D64AC061A4E for ; Thu, 3 Dec 2020 05:58:21 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 928DC128074A; Thu, 3 Dec 2020 05:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1607003898; bh=2e4QVL6oFGBsIaZX31w+Mg071wTO2ua7Y21muJ4Hi3I=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:From; b=eq3/hiAvSAZlIM2WTLDZAbxwmU9+teGEQmv447OEzXMBw9lA7GlbtvfOZo5xZsM8n 1qcWdTBPCWKk9qp/bDDP8cYKl3dDBrcdAIzQjRSgNDCipEIv4O5Fo8F0wcpzsoSEF6 tUhvoBNxneFp5TIiDHyNcCRVg3BGb4rOpMIf2qjY= Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uG4WwRwZhca0; Thu, 3 Dec 2020 05:58:18 -0800 (PST) Received: from jarvis.int.hansenpartnership.com (unknown [IPv6:2601:600:8280:66d1::527]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 40B4D1280742; Thu, 3 Dec 2020 05:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1607003898; bh=2e4QVL6oFGBsIaZX31w+Mg071wTO2ua7Y21muJ4Hi3I=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:From; b=eq3/hiAvSAZlIM2WTLDZAbxwmU9+teGEQmv447OEzXMBw9lA7GlbtvfOZo5xZsM8n 1qcWdTBPCWKk9qp/bDDP8cYKl3dDBrcdAIzQjRSgNDCipEIv4O5Fo8F0wcpzsoSEF6 tUhvoBNxneFp5TIiDHyNcCRVg3BGb4rOpMIf2qjY= Message-ID: <694039d6e386d999fd74d038cf2627f5b3b0ca71.camel@HansenPartnership.com> Subject: Re: [Ksummit-discuss] crediting bug reports and fixes folded into original patch From: James Bottomley To: Vlastimil Babka , "ksummit-discuss@lists.linuxfoundation.org" Cc: LKML Date: Thu, 03 Dec 2020 05:58:17 -0800 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-12-03 at 00:43 +0100, Vlastimil Babka wrote: > Hi, > > there was a bit of debate on Twitter about this, so I thought I would > bring it here. Imagine a scenario where patch sits as a commit in > -next and there's a bug report or fix, possibly by a bot or with some > static analysis. The maintainer decides to fold it into the original > patch, which makes sense for e.g. bisectability. But there seem to be > no clear rules about attribution in this case, which looks like there > should be, probably in > Documentation/maintainer/modifying-patches.rst > > The original bug fix might include a From: $author, a Reported-by: > (e.g. syzbot), Fixes: $next-commit, some tag such as Addresses- > Coverity: to credit the static analysis tool, and an SoB. After > folding, all that's left might be a line as "include fix from > $author" in the SoB area. This is a loss of metadata/attribution just > due to folding, and might make contributors unhappy. Had they sent > the fix after the original commit was mainline and immutable, all > the info above would "survive" in the form of new commit. It has been the case since forever that discussion which improves an uncommitted patch is only captured in email (which now may be preserved in a link tag). Patch updates that come in after the patch is committed get their own commit. We've tried to move people away from counting commits as an indicator of upstream eminence, but it's still a fact of life that this is what matters to a lot of open source community managers. The tension we have is between liking a clean commit in the tree as opposed to a sequence of commits tracking the evolution of the patch and this community manager desire to track patches. So there are two embedded questions here: firstly, should we be as wedded to clean history as we are, because showing the evolution would simply solve this? Secondly, if we are agreed on clean history, how can we make engagement via email as important as engagement via commit for the community managers so the Link tag is enough? I've got to say I think trying to add tags to recognize patch evolution is a mistake and we instead investigate one of the two proposals above. James