From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KMehLRNzfGc7KwAAe85BDQ:P1 (envelope-from ) for ; Tue, 07 Jan 2025 00:19:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KMehLRNzfGc7KwAAe85BDQ (envelope-from ) for ; Tue, 07 Jan 2025 01:19:31 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=L8Dqe1Iu; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=BOyAS7NS; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=systemreboot.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736209171; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kYtgXpIoZt8Mfdb6l/AA0q9L6u0GUBg6nKKgBTzQ0XM=; b=MeH/SriLkN9OfaDRwUYXCeOZ3YXxMSardLU86rjrzTMqp33E18Em42C1e4rCx9yeoYKrQx fwZ30Hsvp0lnFeBbWKOj4/dccXzVuBytG9Syyw1bWJPr4ZL6gVBGAr8RKwYVu3mKFF9LCt VJtrvb6AEc/13FayZbAXFB3KgvyMEL305bIbz/Vlg7xgJlc4lYuzetoY+l6aOkN2C0bWTz pYIaQpofqxqM06CrsVhZgPneVPK0fudgZOx9T8Wzjp9llKF1GONpAlDuIgxIuj8Q9nW8aj p4aYpEGP7AVDibMXYGqDnVqWx0bKiltoMip8qifBUpiLG6si+8stvrQvhk3sWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=L8Dqe1Iu; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=BOyAS7NS; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=systemreboot.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736209171; a=rsa-sha256; cv=none; b=VNB0n3mV0jxgx4UNliDHQSWoOx/+bGpPbI/6Kw+wTbUfdrOIHAbgblY+k1AZU/zUuO7Abl qleH0b+iCEiobewmvowr8c2Vk5QdABmfymZqON/hc+Xp768vch6TAtMh5cdtAZX0C7HqOT 2k7OAoaZ49JOM4ny7uN0Y3JIB4gNPEeTBFfBVmNOLZKtTWut4gct42oUr6e6VdxAGXNWWs rz6L+zaSh3lT2tJy5cWwLjnHeMdkzp7staqeqetq2kewhoGltV5CSV4Uy9YRjeRBmHMeeF cPxYf3goCoKApux4nTsyYng4cg4Ax6l0Of1GkwEJo0KJqjTkvlQfUwI5eAF14w== 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 5FE33951C9 for ; Tue, 07 Jan 2025 01:19:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUxJQ-0001GI-E5; Mon, 06 Jan 2025 19:19:13 -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 ) id 1tUxJL-0001FS-Tb for guix-patches@gnu.org; Mon, 06 Jan 2025 19:19:08 -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 ) id 1tUxJK-000416-AC; Mon, 06 Jan 2025 19:19:06 -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=kYtgXpIoZt8Mfdb6l/AA0q9L6u0GUBg6nKKgBTzQ0XM=; b=L8Dqe1IubjdK4nayJWV6U/qQlHUF0fNCjSDJ+8u2WRczpBFGKIPY+JWHqo19QKW82Yuh2GtiBosTeWaillCCMV/eMotwVqZx5UYvbgzJjyXMES+0fYdJN0kS74gMaaVvWm5tYTP+KRFWK35UkKSo29TBdsVGWI+ZMCkWzbTgdolKZxu9OdvymWceMj/gE/ONVTu7dJOR1AhwRi0flC418NKRdTy4c3FcjfsgHHX0yzUXvSg1r/1yvqziGaVoB/8yLnvsbS108l0SEJJVCiufZP3jpqR6OF87HLytUsxIDj1sYTOzX7Fgp/1f5KcjJ8klHVz9Qh3v+39EjdGLR1JKvw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUxJG-0003Zx-8h; Mon, 06 Jan 2025 19:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75414] [PATCH 0/2] Add roll-back action to guix deploy Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, maxim.cournoyer@gmail.com, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Tue, 07 Jan 2025 00:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75414 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75414@debbugs.gnu.org Cc: Arun Isaac , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Maxim Cournoyer , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Maxim Cournoyer , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by submit@debbugs.gnu.org id=B.173620913113738 (code B ref -1); Tue, 07 Jan 2025 00:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jan 2025 00:18:51 +0000 Received: from localhost ([127.0.0.1]:41022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUxJ5-0003ZW-97 for submit@debbugs.gnu.org; Mon, 06 Jan 2025 19:18:51 -0500 Received: from lists.gnu.org ([2001:470:142::17]:46776) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUxJ2-0003ZF-2l for submit@debbugs.gnu.org; Mon, 06 Jan 2025 19:18:49 -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 ) id 1tUxIw-0001DT-Gb for guix-patches@gnu.org; Mon, 06 Jan 2025 19:18:42 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUxIr-00040M-Ds for guix-patches@gnu.org; Mon, 06 Jan 2025 19:18:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemreboot.net; s=default; t=1736209102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=kYtgXpIoZt8Mfdb6l/AA0q9L6u0GUBg6nKKgBTzQ0XM=; b=BOyAS7NSKchmS5OtMiws4Dg4y5WoAsxJ+XlK0+OTeyjO1EMpVCG2gn2TlEYa28LW8M5SC3 8zsSIsp8OzlvNkD9/o06PaKSvc2c2Pgi2JEEzOap2T5/zMDOPUkwS/ODQtSRvneqD8ZdpW xd+6Lm/aoemNMkf14Qamn+Qw0oPV2sa1Zm0ZirJvf5YV38wO124DQw1c7unUPHk5MG+7t8 6RyEHPwloTK50Fb7ZYMWohkJAxE3YU2rkz0l3LJ0Mux8CjY2qpVdyF776/wVIdvE1T+hrg 2AhY+rffobYlZgush560peazGocG4Y8QWmsmvLvYbRY6U7cubcG67gbOHKSuwQ== Received: from localhost.localdomain ( [192.168.2.1]) by mugam.systemreboot.net (OpenSMTPD) with ESMTPSA id edd93c6c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 7 Jan 2025 00:18:21 +0000 (UTC) From: Arun Isaac Date: Tue, 7 Jan 2025 00:18:08 +0000 Message-ID: X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.07 X-Spam-Score: 0.07 X-Migadu-Queue-Id: 5FE33951C9 X-Migadu-Scanner: mx10.migadu.com X-TUID: VKQD+tYCZBiI Hi, I implement a roll-back action for guix deploy. This is convenient to roll back all machines in a `guix deploy' configuration. By the by, PATCH 1 fixes a bug necessary to make this work. Regards, Arun Arun Isaac (2): machine: ssh: Return monadic value from roll-back-managed-host. deploy: Add roll-back action. doc/guix.texi | 7 ++++ gnu/machine/ssh.scm | 6 ++- guix/scripts/deploy.scm | 90 +++++++++++++++++++++++++++++++++-------- 3 files changed, 84 insertions(+), 19 deletions(-) base-commit: 67a535351f8678969e412e8dba9197a883b524d0 -- 2.47.1