Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp635901lqb; Wed, 17 Apr 2024 06:56:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWTCmRAc7aS5OyXJxeeogQrk1wou/vxvcdhgzaU2NkGXm05trhs7uIUa5XFv2mdrpedHPskfwjfGn2hQ+ib7JtSHwwLuhijH0/XtgFIfg== X-Google-Smtp-Source: AGHT+IFMKI3AyosQJzdpjJ8Vg1A14YiAjUf0t9oI+DokHt5R4n+1RuoF+0Y0YEPFLBBoddkz47yu X-Received: by 2002:a17:90a:990b:b0:2a7:7a8e:bdc2 with SMTP id b11-20020a17090a990b00b002a77a8ebdc2mr11285898pjp.9.1713362162568; Wed, 17 Apr 2024 06:56:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713362162; cv=pass; d=google.com; s=arc-20160816; b=npyfXdgDyKpOhITN6AmvZnJOx56gpYKEUPJeXO8uGTaJi3jTAEVGw0KZtu2K90ayx7 7c4jmMBTQilvnl/MAL5jB5b3VJnKcJ6rWdnEy0b0M1GytsOZIE1aEvCi4f2aGWuuYd5n Hh98bT2Zw4mlXsF/zVMwEAYh9iy7Dv+QKk0CqfuCiqo2C2Rnl6vlTqeIHRjP1us5WP9q MG9V5kfDJkCXySrOEehl9jheXH+Qe3zN53pkQOFJxDFUOnjZsQ74O8uwf+jq/zuw+iTR RFa2L0U0ab4qgjO9g4FL3zDzj/0Z2jRn5ckcEwi1PWHAJrBjq5B1SnUNrEk3abj/UMl6 +T6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7Oam91sfcJZHmeQ0Mt/z2OdYz4cs5OKhJ/niWlrCtss=; fh=u/CHhuxyCY0PTldXYX/WvDgr/yprMXEcdwp5W4/a5TA=; b=pKEBnzDEBmyUyIUqoOTIpSy1KQyRdLJsCchY+hhGhq/oKu+HtucepM/7O9SVCS/iqM A59Boc8nIk8yq12Cb7q8iDffVsOF/2vgyQRT+kubctKrK5oQRnxhBlRNlQK0b2FZWavN 8LBEL++p0MwVDbtXGwbc1aqXBfhcwQHYF0g9X84ARLK3UbwKPQoh0DHqaiIgDWY7u7Z1 ozm6FXGvC6RVE3pYR6HjhlEiFWBbY0nN5t9KJ8QJNCtwnok7HUFLn4BKhYAeEnKmFM6o u0chl4bapIahQggxyM36WM6dVpY2g1aHavbbhAtf+q26aaOS7lSIKcgmSdmkIxJNuLKD oxiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=W02DEiN6; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-148635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b20-20020a17090a489400b002a4d3f035c9si1332818pjh.115.2024.04.17.06.56.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 06:56:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=W02DEiN6; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-148635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A58DE281C2E for ; Wed, 17 Apr 2024 13:56:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 756CE140E34; Wed, 17 Apr 2024 13:55:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="W02DEiN6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8894012DDB2; Wed, 17 Apr 2024 13:55:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713362156; cv=none; b=DKTgDvJeffUI+4u2QU7uIgwaF7jSIoLiRkKAUPW/NU6qGJKznLerVIyeTBaZZYdC4tjBNQ9Bz+KrKt4AmhpJITWA4E3/qwWculPk3vhfDI3Ox58yG3goXS870sqRsuDQmCpQEg1C7AmQwXafljHw+O6ZfMbb0NES5S2v5FzitVI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713362156; c=relaxed/simple; bh=PHhywEDejzCtYrvo8CvOuGJJnvBEhXLfU2dwZK5oFx4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oBpPsl65ilwJaIFWaXwZpWWeDasivUKt5sVupmLio0F5+mdeJu5Ai0tRBqA1PaXzH1CEhj/t7NuOh/w40XnPMwfEp/mPv1zeURz+pKgyxOwIEbSzV3+oX05S1W4/rmlz+l0qdXx0F9hsayJStdBiZEKRG+qpK/MfNnXHJAW7qn8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=W02DEiN6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF2FAC072AA; Wed, 17 Apr 2024 13:55:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713362156; bh=PHhywEDejzCtYrvo8CvOuGJJnvBEhXLfU2dwZK5oFx4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=W02DEiN6yeGwb6a4u24jSIqT8gDfxeeGMHQw6OUmyNU0YYLnfYpbMiysAWSpGbS8L H7lwohYZrfuj09Wvq8Zb53cu8XoB8wGhbpp1ughlwnp9ol/3M+dyB+IrXYj+tpCqen S8nhUvk8YnvlANU6tsDedOw25wcB9u9GnGWQ01PA= Date: Wed, 17 Apr 2024 09:55:52 -0400 From: Konstantin Ryabitsev To: Greg KH Cc: Thorsten Leemhuis , helpdesk@kernel.org, "workflows@vger.kernel.org" , LKML Subject: Re: Please create the email alias do-not-apply-to-stable@kernel.org -> /dev/null Message-ID: <20240417-spectral-doberman-of-prosperity-d2c0cc@lemur> References: <20240417-lively-zebu-of-tact-efc8f3@lemur> <2024041734-gleeful-freewill-b24b@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2024041734-gleeful-freewill-b24b@gregkh> On Wed, Apr 17, 2024 at 03:38:28PM +0200, Greg KH wrote: > > That afaics makes them useless for the stable team (Greg may correct > > me > > if I'm wrong here), as they deal with the commits and have no easy, > > fast, and reliable way to look up the patch posting to query this. Or is > > the "patch basement" available somehow in git for each commit and I just > > missed that? > > You are correct, as-is, that would make it useless for my tools. > > BUT I could, if it's possible, just look up the original in lore somehow > and parse that. If it's there, does anyone have a "simple" way to map a > git commit back to a lore message if it does NOT have a Link: line in > it? Our current way of doing it is going by patch-id, and it's not great either, because there is more than one way to create a patch from a git commit. We've discovered this when Linus recommended that people send patches with the --histogram algorithm, which broke a bunch of our stuff. :) E.g. here's a recent commit that has a Fixes: git show c0297e7dd50795d559f3534887a6de1756b35d0f | git patch-id --stable | cut -d' ' -f1 c2f5c42a5a3bc05ffacd9679dd367e4a2207b018 it successfully maps to the patch: https://lore.kernel.org/all/?q=patchid%3Ac2f5c42a5a3bc05ffacd9679dd367e4a2207b018 I only put this here for academic purposes -- I really don't want you to go that route, because it's fragile (more fragile than git notes, and that's saying something). -K