From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UDN2Gu3x+WRA7wAA9RJhRA:P1 (envelope-from ) for ; Thu, 07 Sep 2023 17:53:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UDN2Gu3x+WRA7wAA9RJhRA (envelope-from ) for ; Thu, 07 Sep 2023 17:53:17 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 117FE347B9 for ; Thu, 7 Sep 2023 17:53:17 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=eSexUEUY; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694101997; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7FEiWN3yQlvQfSMzQU+hWlss4KuBwziZCpjri89enWs=; b=OnOIgDQJXD1QZe/ANpdswkx+RlKzxztgaAU17XTwFp/6rePHR7NRKFCpvH+P6T6Fe2RJbq EVFXTd5z28WWizgaXJdg298z98bX6uy/yx4Z4euozVefJSSTAhSY8tL2zOG349k4YD/bpr ZaUH5/YBuYXhroF4Vc6jN//ECv6PwbytR2ArHMDtGVIOjU65DtB6Hokb/70JdxmZmata0j r7WVNt129xpeKfKtC+bLNas4MXGpF0ErGd2JGeq5swpE/rJtX5uCmjhvWu/zgw33gI5Ofj kGm4BDanPSJ0ez5ADIEuvui+gzCXm11xmtU/MFJlnpNH0ASx05A9tl+71LAWZA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694101997; a=rsa-sha256; cv=none; b=mYyeFI5empZveHKwMBI7hCOLHsPDQ1lRAkPNP9jsDcmkRtc7QhEcXzu8/u8pt602hRCHuv SZxwW5p+4iVqSRa3FyB9iHJzVE6U9ZiFsGQvWxfpq8PWChHAyNCVgpy3JgaRrdEV/Njyrz VEqCuybEK/lRQmdXuA7Q1GkqpdX04XOWQyMl2f6QJ3wZFxdMIsz4xz4ZLPkqVqbhhWftwr S8eD3bPuw+hAB8FnUUZl4dv3k3h9nqgTXAasMi3vWmJF0o9AkXIP0APzmzaTpJImkEqycM 2+VVx89U9sgesgzl0eMMA9orCR9VhjytiUW1OlEbYsjD3cZPh6Kn8Lz0LBKwWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=eSexUEUY; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeHJG-0001jL-Jr; Thu, 07 Sep 2023 11:52:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeHJD-0001j8-DR for guix-devel@gnu.org; Thu, 07 Sep 2023 11:52:43 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeHJB-0005Q5-3h for guix-devel@gnu.org; Thu, 07 Sep 2023 11:52:43 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id DE2F71AD30; Thu, 7 Sep 2023 08:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1694101956; bh=stzD3sBr2mPKvpjWVPxN4Dyk1ES48MQfF/ui2BUwnYY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=eSexUEUYVvOKw2+L6w5ZTFELmXmvNvSZpy7zDJhVjF6P2Cg2iKxmuxzF+HGznli6/ zDXKOhpkS9KdY9ON3+lUGBEmWxCnIAbT7p2//hjS0sljS0otTxyBuFR/qjuALsu0L3 uEHVYxjZX+fE9/EAxoOUIj8ghcLW5EVN1BFYqWFjy91+TOMRW4ZZyzo0hpQ+8F/5hD MCGoM2gmj6shEnyfjp+YAsdNx4ougw3UaCPCIwuJqUFBahB3YSzVqMJ1tmtNeOzyjW KHAaJA3AQvtO5OYz6/U41qvj1apWErWBohRukz+vNObW/D3X46ZDV900qCDUgRf5Tv PCk0zoWgpbLJQ== From: Vagrant Cascadian To: Maxim Cournoyer , Felix Lechner Cc: Giovanni Biscuolo , Simon Tournier , guix-devel@gnu.org Subject: Re: [workflow] Automatically close bug report when a patch is committed In-Reply-To: <877cp2nn91.fsf@gmail.com> References: <8734zrn1sc.fsf@xelera.eu> <87edjb5le5.fsf@gmail.com> <86o7ien856.fsf@gmail.com> <87h6o6fdgv.fsf@xelera.eu> <877cp2nn91.fsf@gmail.com> Date: Thu, 07 Sep 2023 08:52:32 -0700 Message-ID: <871qfam14v.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -11.43 X-Spam-Score: -11.43 X-Migadu-Queue-Id: 117FE347B9 X-TUID: C6OivgKqAMUU --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2023-09-07, Maxim Cournoyer wrote: > Felix Lechner writes: >> On Thu, Sep 7, 2023 at 4:08=E2=80=AFAM Giovanni Biscuolo w= rote: >>> >>> close the bugs that are listed in >>> the commit message ... > Did you see my message about integrating a commit-hook similar to what > Gerrit uses? It produces unique ID such as: > > --8<---------------cut here---------------start------------->8--- > Change-Id: I9b86781869d80eda347659f0c009b8dfe09bdfd0 > --8<---------------cut here---------------end--------------->8--- > > at the bottom (it's a git trailer) of a commit message. Being unique, > these could be used to match if a patch on the tracker has been merged > in the master branch. > > Attached is what the hook looks like. The random 'Change-Id' is > generated via > > --8<---------------cut here---------------start------------->8--- > random=3D$({ git var GIT_COMMITTER_IDENT ; echo "$refhash" ; cat "$1"; } | > git hash-object --stdin) > --8<---------------cut here---------------end--------------->8--- That seems like it would only work if the patch was identical, as opposed to a slightly rebased patch on top of newer patches on master? How can you correlate Change-Id to a patch in the tracker? Would it break git commit signatures? live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZPnxwAAKCRDcUY/If5cW qlq2AQDw2LJlsrd+07VbRTogJGdAqJGgEXZpX96sNcP+TzAtjgEAtkzV20P/eD6z Zoewn+Zont7oBSiX7Gp85L9rQHYI9As= =XzHg -----END PGP SIGNATURE----- --=-=-=--