From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MPafFlbM+WS/RwAAG6o9tA:P1 (envelope-from ) for ; Thu, 07 Sep 2023 15:12:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MPafFlbM+WS/RwAAG6o9tA (envelope-from ) for ; Thu, 07 Sep 2023 15:12:54 +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 1136B4181B for ; Thu, 7 Sep 2023 15:12:54 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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=1694092374; 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; bh=mVCrJZWzHl4s6P2mnlQXdVB6mXr2jyMIbdCT4AXTZhI=; b=tHLIMT7beUKz1gjrncEz+Duz+LcaLnIqAqdyau3Y725N+kaH7MZh3xtWn7lw0Wz9CoCODj daaGSONhLx87RjxZnBr7P4pRd+HeZqI8c03yIYfrtKd70sSj6JPaf2McZe4wZIVwp8o1a5 b0KBVoSIJqwoQ7d063DpWXs/q5SJz/5sNX7HYBp+db2jfdlpVQRJEAID3UbFfnt0KNBVHf /Hiaew8KGrARyZc6dnolbzJumAar4yXF2XJ//g3s/lukWoJPS5yREkxRz2HEhzYL8dhi+t wXlegGvOHB2HmG3U51HOXLkoIFhZnnXIUzo+UxMHKQXJR8qlE3yE23hVzGwB4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694092374; a=rsa-sha256; cv=none; b=crh1N+kRzLSJOo1/8HQUUmbOLUGj1cZhxq2h56f2xs3ZwYkmvcVxS1WNeZRncVvPmbwBGd Xbb7Imlf7D2o+/pwhnTDxB3iNCwA2lhOrCMpn+rsGUFlvcT5WdpCRmxI/YKg9MUPy/Rr9P sWxrmMPOsZQ7orQotlp8SdA+YLSJg7fzMsVtZlRAyKNJ3YXJ6Ds7ck2k89eMKMY2aG7b8l 8m3XOXe1X1mzy4I4zX3iS02UJLXiGanV2733+NKN1JO1xK5uFpqvP8AZkwHzb5vJ9qRYij wdJx0pifPgsVOHZbbU5QvaLYQGB68/JCUvLC/ZH9BVSMporOa0p/RfOaJLyU+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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 1qeEnz-0005Bg-2q; Thu, 07 Sep 2023 09:12:20 -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 1qeEnr-0004M4-3o for guix-devel@gnu.org; Thu, 07 Sep 2023 09:12:11 -0400 Received: from ns13.heimat.it ([46.4.214.66]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeEnj-0002kp-NO for guix-devel@gnu.org; Thu, 07 Sep 2023 09:12:10 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 4BD8430081A; Thu, 7 Sep 2023 13:12:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LEhz91hRFoLz; Thu, 7 Sep 2023 13:11:58 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.171.217]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 1F5BD30080B; Thu, 7 Sep 2023 13:11:58 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id AE17A298DD36; Thu, 7 Sep 2023 15:11:57 +0200 (CEST) Received: (nullmailer pid 7015 invoked by uid 1000); Thu, 07 Sep 2023 13:11:57 -0000 From: Giovanni Biscuolo To: Maxim Cournoyer , Simon Tournier Cc: guix-devel@gnu.org Subject: Re: [workflow] Automatically close bug report when a patch is committed In-Reply-To: <87wmx2oi5s.fsf@gmail.com> Organization: Xelera.eu References: <8734zrn1sc.fsf@xelera.eu> <87edjb5le5.fsf@gmail.com> <86o7ien856.fsf@gmail.com> <87wmx2oi5s.fsf@gmail.com> Date: Thu, 07 Sep 2023 15:11:57 +0200 Message-ID: <87edjaf7qa.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=46.4.214.66; envelope-from=g@xelera.eu; helo=ns13.heimat.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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: mx2.migadu.com X-Spam-Score: -7.82 X-Migadu-Queue-Id: 1136B4181B X-Migadu-Spam-Score: -7.82 X-TUID: 1KUsjk9wjuT9 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Maxim, Maxim Cournoyer writes: > Simon Tournier writes: [...] >> Maybe patchwork already running (I think) could help, trying to >> regularly rebase the branch dedicated to the submission on the top of >> master, then if all is fine, somehow the two heads from the master >> branch and the dedicated branch should match, and it would indicate the >> patches are included and it is safe to close. More or less. :-) > > We could use Gerrit's commit hook that adds a unique ID as a git > trailer. Do you mean "commit-msg" hook as documented here: https://gerrit-review.googlesource.com/Documentation/cmd-hook-commit-msg.ht= ml ? =2D-8<---------------cut here---------------start------------->8--- The Gerrit Code Review supplied implementation of this hook is a short shel= l script which automatically inserts a globally unique Change-Id tag in the= footer of a commit message. When present, Gerrit uses this tag to track co= mmits across cherry-picks and rebases. =2D-8<---------------cut here---------------end--------------->8--- > Then it should become possible to > > 1. Check if all items of a series have appeared in the git history > 2. If so, close the associated issue if it was still open Thinking out loud: a. each contributed patch will have a unique Change-Id, persistent across rebases (and git commit --amend), and every new patch version (produced during patch revision) will have the same Change-Id; this is valid for all commits in a patch set b. when all "Change-Id"s of patches contained in a patch set are listed in the git history (of one of the official branches) the associated issue can be closed c. how do we get the issue number of a patch containing "Change-Id"? [1] Did I miss something? Thanks, Gio' [1] right now how do we get the issue number of a committed patch? =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmT5zB0MHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSdWEQAOY9UoEqF3KQNYDwKkeRvd12x80KOLCxMbRbwpyx YqH4R4km0roaKbdqcUagGRenVVZkqlSoKO52CtmRohFus9PIExQfus/3rERHDCHC oIiux3+tRm2s6SN/Pm//PeXShYcIf58oEwI064j2L6gFakscEd+uvLZ8daNR+iUL lSneB7Lm67tviKLLceJlgMvu2CXuYC5i32ElUjqfkAcI4zHfUnomq6uIFCiFw1Zg 4aZd5HI6qxXpd5oNnmeCUQe7y/vX/bcXodHZpzU3j+BRAXKZ0hK3UR8fO9JQsd8h BvFXdpLboVvA7gsHvvP4zDVrizZMUCrh/hJOVxo16M5ykHH8SrwagrGJQs7fbGn/ QTNbT4i//NBbNoZSOgnLkRcUXxR0YcRlJa/pylm+ha+C8kWGOEz2w9TqWx/YoPRc g8tH0IVSd63vPcGRvH2TSdex7yZV1BgplUcb7JEAySAHwmREimb0bRfYdcPWgETu ENoiG7XPzrDgtCoU2EH34LHre4TaNwO4His556+lgfEl/KvGHvpkCbEU2Qfz+Qn2 GkKR/uwrpdrldIfdob2OEqgffT3Y5sRa4fXXBU1l9yeL/mUFVUFI+xILxqmKP3A1 tsp+G10idD56IFYTlib2uAWkSpQDu5iEx7J0vePGLAVIt50GulOam8yYQMkaYOGY 8gG3 =tTGE -----END PGP SIGNATURE----- --=-=-=--