From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 iLfcOD0v+WSLIQEAauVa8A:P1 (envelope-from ) for ; Thu, 07 Sep 2023 04:02:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iLfcOD0v+WSLIQEAauVa8A (envelope-from ) for ; Thu, 07 Sep 2023 04:02:38 +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 AFDDC66DE3 for ; Thu, 7 Sep 2023 04:02:37 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=fWD3k8j7; 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=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694052157; 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=7R0+/I4uKqVrKN/hlooMj1dL20lWb5YDrx8XADwde68=; b=BJGEd4JGel6xXlVV7UNQWKYfICCzfCUKFNJtmfDucshKOXN0vNWSOxe+XoH3CXjjUd530o wPVRRPR0loiNvPhBGx80fPKdKs8yiJS82blcTeclZkNX99kgMfOWHPGx3CJCRMHnfpBo9Y LLvjnJ/fnH/maBvu6JaPjRR1qy2t3exG79Xcbr/MxEa08o7K9yf8QaGLEhQyNYZMrIAXE+ DjFOMsrCNWZmXlYEqF/UrR1msUbNtJkADLoIVrsHhfJYtB6nrwimcsWCzQVsj/ale4bSrs nX1IPhpfpafM6qC3ih5mWaYX5KTBaswtD93ob0SQdQIPEd26UgNp+JFM1g8D0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694052157; a=rsa-sha256; cv=none; b=VfxUn6/uhKm2kJCUbGwxc9a9RRWt8tNkZWrcrKAaDx7kukRIJEAFF7ctVOJcs7E5+T1wKl s7VfBo3fTnGdikcI0vZEFutpTB1FGwkju9d28LWrIdF0ctHtCC8ocKHt7DRaOJGyITujWw TFKjtQEjt1LzmGK6XcDcwlLeLOadrRqfhkVnywVz8KIdfXSTrnHsa+SwhjPKXS3l9Wda4x xr4TgDc111NzD+I+JjqO4RyC08JrzEyBkgUYUnzMvuUFuNp2+RJiJp2goFt4uoTb10JUGz hu0cvy7s5WW4RcjXuNeP+jR5Rs2umxxbUmP+YUYmxkndkLp9tlyGyj5gDYVmpQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=fWD3k8j7; 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=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qe4LH-00068B-BI; Wed, 06 Sep 2023 22:01:59 -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 1qe4LE-00067q-51 for guix-devel@gnu.org; Wed, 06 Sep 2023 22:01:56 -0400 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qe4LC-00059y-0v for guix-devel@gnu.org; Wed, 06 Sep 2023 22:01:55 -0400 Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-414b3b65e85so3362501cf.1 for ; Wed, 06 Sep 2023 19:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694052113; x=1694656913; darn=gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=7R0+/I4uKqVrKN/hlooMj1dL20lWb5YDrx8XADwde68=; b=fWD3k8j7evl0shLQzZVDv1c3nvKxD1BOT0W5UxyHW90Y5h8kvsK4X+ohrh2Twus+Pu V97hWgeQtUqBHrsZ528lEe9TfjIELfjPUlIrXjPP7iM+zaxIRbN7rMBK6Bi6dnQFO2jf u1xUG1kjlkXk2UHw3jS8Hd+v5SxVVLhZdIVLa3UY9PUboheERopeyhzEtZtUjA7Um0Cc LWzxq+BhfhSiBjgHUr9oTbm/SB3j6Bqta2clsfBDGnD4Kpv0e18xd+L63AHLAbCkERVb vX/NbGB1sdgalcs2ljLI+S/HOskOALQIHhCbdgvryPYelJuDbyiPna1aBTcDd0h3VC1S LXYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694052113; x=1694656913; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7R0+/I4uKqVrKN/hlooMj1dL20lWb5YDrx8XADwde68=; b=e2HPIJ/qUi+DjloXUbbFdTEGvF/epayXJbPxc6C2bN+kf/UirxivVVc66cWfvCxGOz HXyG4ExYYMeTeSE4mgFkOMWk19je3+R4zol1SaRaPyaz3MatZkDBPusYuoHnRnE5hfkf wQv8qWhnrTQwfW2D3LkCaGV0gWFSiMZ07rYfa67ZehxLNYALzfR/BkkzgrhS0Ncsgghu q4CjahOT8rthkJjePzEB++o6FRJklJY7IZQ00/9ceMEH4Z2XyzAhi4EgdCBWj9Dw0Bn3 lXWtGzq35DWtqhN7aYT6Oj+O++fDs/tXFBoeZk/EEPSWZnAX0ohdgVDWvzlhGqwIYi3Y kOCw== X-Gm-Message-State: AOJu0YxflFQuP0jW/d795OaCGFlzWTGsuZSvL4TIuOqnDNqGeNH570JQ SexJwWcD4LjxI4gvcl6xG3U= X-Google-Smtp-Source: AGHT+IH1cB2aZ8U/w449pPlKl8ZGIVFr6NTIzF73q8Gjqtq3IXiHc7lCX2+JpQ9zwuKuNsVjtMNO4g== X-Received: by 2002:a05:622a:15d3:b0:412:7ba9:c7f6 with SMTP id d19-20020a05622a15d300b004127ba9c7f6mr20624919qty.5.1694052113005; Wed, 06 Sep 2023 19:01:53 -0700 (PDT) Received: from hurd (dsl-153-125.b2b2c.ca. [66.158.153.125]) by smtp.gmail.com with ESMTPSA id f10-20020ac8464a000000b004108a71abd3sm5729775qto.10.2023.09.06.19.01.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Sep 2023 19:01:52 -0700 (PDT) From: Maxim Cournoyer To: Simon Tournier Cc: Giovanni Biscuolo , guix-devel@gnu.org, Vagrant Cascadian Subject: Re: [workflow] Automatically close bug report when a patch is committed References: <8734zrn1sc.fsf@xelera.eu> <87edjb5le5.fsf@gmail.com> <86o7ien856.fsf@gmail.com> Date: Wed, 06 Sep 2023 22:01:51 -0400 In-Reply-To: <86o7ien856.fsf@gmail.com> (Simon Tournier's message of "Thu, 07 Sep 2023 02:23:33 +0200") Message-ID: <87wmx2oi5s.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::831; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x831.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: mx0.migadu.com X-Migadu-Spam-Score: -6.02 X-Spam-Score: -6.02 X-Migadu-Queue-Id: AFDDC66DE3 X-TUID: bqBnh0jafiUW Hi, Simon Tournier writes: > Hi, > > On Wed, 06 Sep 2023 at 12:14, Maxim Cournoyer wrote: > >>> Let's avoid manual gardening as much as possible! :-) >> >> I like the idea! > > I think that automatizing is not trivial. Sadly. > > There are many corner cases: > > 1. series as attachement > 2. not all the series is applied > 3. commit message had been tweaked > 4. etc. > > The potential issue is the number of false-positive; closing and the > submission is not applied. > > 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. 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 -- Thanks, Maxim