Message ID | 105caea83cc475bd2b89acf6be9b1ad2f2daf227.1734543812.git.mail@cbaines.net |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9E9F527BBE9; Wed, 18 Dec 2024 17:44:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 73B6B27BBE2 for <patchwork@mira.cbaines.net>; Wed, 18 Dec 2024 17:44:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tNy5d-0002Da-7P; Wed, 18 Dec 2024 12:44:05 -0500 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 <Debian-debbugs@debbugs.gnu.org>) id 1tNy5b-00027c-Es for guix-patches@gnu.org; Wed, 18 Dec 2024 12:44:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tNy5b-0007Wb-6R; Wed, 18 Dec 2024 12:44:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=cHuiB35d9IAIfw/FuPFPBV5CXhUjooqu50nJmJGibqw=; b=LvExuWhMw9JLv9Icohc5Jp21b8vMG2uSrnfly3x+oK2bZsHXsFaRIzwjqNVj2EmZ8n5YVD6gXID+LrLojNA0+UA15o9VCOQ3PyvhxjQJhB1neqTPswJlsWwU06V6Jl4XZof0VESplzd8KhIaJzI7geoTKeGqDEVg2dk41+2qyMlO5t8BZFlm0RXnyrMj4G/5aqQrpmtgjttsaNlKl1zRtJGdVARjuOPVjE7y3Z6hu4SdG5SOeRgYUIwKDj1b0hvwaaztY60RbBTxd/56PbpyYRvfcAck3nbPSVkmAkSWu+j5prhG+axQEDnSzFBwZz29tzLlJ19Q3OifHg4CUpQ5Qg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tNy5a-0008CW-ON; Wed, 18 Dec 2024 12:44:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74950] [PATCH] doc: contributing: Add guidance on reverting commits. Resent-From: Christopher Baines <mail@cbaines.net> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: ludo@gnu.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 18 Dec 2024 17:44:02 +0000 Resent-Message-ID: <handler.74950.B.173454382231472@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74950 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74950@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Maxim Cournoyer <maxim.cournoyer@gmail.com> X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Maxim Cournoyer <maxim.cournoyer@gmail.com> Received: via spool by submit@debbugs.gnu.org id=B.173454382231472 (code B ref -1); Wed, 18 Dec 2024 17:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2024 17:43:42 +0000 Received: from localhost ([127.0.0.1]:35867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tNy5F-0008BY-JA for submit@debbugs.gnu.org; Wed, 18 Dec 2024 12:43:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:37388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mail@cbaines.net>) id 1tNy5D-0008BO-Cn for submit@debbugs.gnu.org; Wed, 18 Dec 2024 12:43:39 -0500 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 <mail@cbaines.net>) id 1tNy5D-0001ju-6Q for guix-patches@gnu.org; Wed, 18 Dec 2024 12:43:39 -0500 Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <mail@cbaines.net>) id 1tNy5B-0007UQ-Fz for guix-patches@gnu.org; Wed, 18 Dec 2024 12:43:38 -0500 Received: from localhost (unknown [IPv6:2a02:6b67:e390:8b00::129c]) by mira.cbaines.net (Postfix) with ESMTPSA id 6CCB527BBE2 for <guix-patches@gnu.org>; Wed, 18 Dec 2024 17:43:33 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id d2bd0f84 for <guix-patches@gnu.org>; Wed, 18 Dec 2024 17:43:33 +0000 (UTC) From: Christopher Baines <mail@cbaines.net> Date: Wed, 18 Dec 2024 17:43:32 +0000 Message-ID: <105caea83cc475bd2b89acf6be9b1ad2f2daf227.1734543812.git.mail@cbaines.net> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#74950] doc: contributing: Add guidance on reverting commits.
|
|
Commit Message
Christopher Baines
Dec. 18, 2024, 5:43 p.m. UTC
Particularly to cover the case where things might need to happen with the build farms if changes are reverted. * doc/contributing.texi (Commit Access): Add guidance on reverting commits. Change-Id: Iba320b76b0927b693c75054b5473a50bdd77c7ee --- doc/contributing.texi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) base-commit: 2185b5ad3d252774ae633a90e03d34cc24b95c38
Comments
Hi Christopher, Christopher Baines <mail@cbaines.net> writes: > Particularly to cover the case where things might need to happen with the > build farms if changes are reverted. > > * doc/contributing.texi (Commit Access): Add guidance on reverting commits. > > Change-Id: Iba320b76b0927b693c75054b5473a50bdd77c7ee > --- > doc/contributing.texi | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/doc/contributing.texi b/doc/contributing.texi > index d4784de452..c94ae940fa 100644 > --- a/doc/contributing.texi > +++ b/doc/contributing.texi > @@ -2945,6 +2945,20 @@ Commit Access > a consensus about the problem, learning from it and improving > processes so that it's less likely to reoccur. > > +@subsubsection Reverting commits > + > +Like normal commits, the commit message should state why the changes are > +being made, which in this case would be why the commits are being > +reverted. > + > +If the changes are being reverted because they led to excessive number > +of packages being affected, then a decision should be made whether to > +allow the build farms to build the changes, or whether to avoid > +this. For the bordeaux build farm, commits can be ignored by adding them > +to the @code{ignore-commits} list in the > +@code{build-from-guix-data-service} record, found in the bayfront > +machine configuration. > + It makes sense to me, but note that I'm increasingly weary of adding more to this already lengthy section. It'll be nice when we finally have something sitting between us and the git server to automate checks such as 'oh, this rebuilds too much, sorry, you'll need to create a feature branch' or 'oops, the test suite failed', etc.
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes: > Christopher Baines <mail@cbaines.net> writes: > >> Particularly to cover the case where things might need to happen with the >> build farms if changes are reverted. >> >> * doc/contributing.texi (Commit Access): Add guidance on reverting commits. >> >> Change-Id: Iba320b76b0927b693c75054b5473a50bdd77c7ee >> --- >> doc/contributing.texi | 14 ++++++++++++++ >> 1 file changed, 14 insertions(+) >> >> diff --git a/doc/contributing.texi b/doc/contributing.texi >> index d4784de452..c94ae940fa 100644 >> --- a/doc/contributing.texi >> +++ b/doc/contributing.texi >> @@ -2945,6 +2945,20 @@ Commit Access >> a consensus about the problem, learning from it and improving >> processes so that it's less likely to reoccur. >> >> +@subsubsection Reverting commits >> + >> +Like normal commits, the commit message should state why the changes are >> +being made, which in this case would be why the commits are being >> +reverted. >> + >> +If the changes are being reverted because they led to excessive number >> +of packages being affected, then a decision should be made whether to >> +allow the build farms to build the changes, or whether to avoid >> +this. For the bordeaux build farm, commits can be ignored by adding them >> +to the @code{ignore-commits} list in the >> +@code{build-from-guix-data-service} record, found in the bayfront >> +machine configuration. >> + > > It makes sense to me, but note that I'm increasingly weary of adding > more to this already lengthy section. > > It'll be nice when we finally have something sitting between us and the > git server to automate checks such as 'oh, this rebuilds too much, > sorry, you'll need to create a feature branch' or 'oops, the test suite > failed', etc. Thanks for taking a look, I've pushed this to master as 061c5820d1bacde60782b3d82ffb9770454dc658. And yeah, I agree it would be good to have automation/process to prevent these issues, this is just a stopgap measure.
diff --git a/doc/contributing.texi b/doc/contributing.texi index d4784de452..c94ae940fa 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -2945,6 +2945,20 @@ Commit Access a consensus about the problem, learning from it and improving processes so that it's less likely to reoccur. +@subsubsection Reverting commits + +Like normal commits, the commit message should state why the changes are +being made, which in this case would be why the commits are being +reverted. + +If the changes are being reverted because they led to excessive number +of packages being affected, then a decision should be made whether to +allow the build farms to build the changes, or whether to avoid +this. For the bordeaux build farm, commits can be ignored by adding them +to the @code{ignore-commits} list in the +@code{build-from-guix-data-service} record, found in the bayfront +machine configuration. + @subsection Commit Revocation In order to reduce the possibility of mistakes, committers will have