From patchwork Thu Aug 15 08:03:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jakob L. Kreuze" X-Patchwork-Id: 14928 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 63CA3172B3; Thu, 15 Aug 2019 09:04:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 29CCD1729E for ; Thu, 15 Aug 2019 09:04:12 +0100 (BST) Received: from localhost ([::1]:39220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyAjz-000787-Ne for patchwork@mira.cbaines.net; Thu, 15 Aug 2019 04:04:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34246) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyAjs-00077U-IP for guix-patches@gnu.org; Thu, 15 Aug 2019 04:04:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyAjr-0003Qf-GH for guix-patches@gnu.org; Thu, 15 Aug 2019 04:04:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41743) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyAjq-0003QE-ON for guix-patches@gnu.org; Thu, 15 Aug 2019 04:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hyAjq-0004U7-Gs for guix-patches@gnu.org; Thu, 15 Aug 2019 04:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36957] [PATCH 0/5] Consolidated patches for guix deploy Resent-From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Aug 2019 08:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36957 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Lemmer Webber Received: via spool by 36957-submit@debbugs.gnu.org id=B36957.156585623817229 (code B ref 36957); Thu, 15 Aug 2019 08:04:02 +0000 Received: (at 36957) by debbugs.gnu.org; 15 Aug 2019 08:03:58 +0000 Received: from localhost ([127.0.0.1]:50564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyAjm-0004Tp-89 for submit@debbugs.gnu.org; Thu, 15 Aug 2019 04:03:58 -0400 Received: from mx.sdf.org ([205.166.94.20]:54866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyAjk-0004Tf-3u for 36957@debbugs.gnu.org; Thu, 15 Aug 2019 04:03:56 -0400 Received: from Upsilon ([62.102.148.69]) (authenticated (0 bits)) by mx.sdf.org (8.15.2/8.14.5) with ESMTPSA id x7F83gBl017726 (using TLSv1.2 with cipher AES256-GCM-SHA384 (256 bits) verified NO); Thu, 15 Aug 2019 08:03:53 GMT From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) In-Reply-To: <87h86jxyea.fsf@dustycloud.org> (Christopher Lemmer Webber's message of "Wed, 14 Aug 2019 16:52:45 -0400") References: <87a7cl3zyy.fsf@sdf.lonestar.org> <87sgqcobds.fsf@dustycloud.org> <87pnlgjymv.fsf_-_@sdf.lonestar.org> <87y304vyyo.fsf@elephly.net> <87tvarjtgw.fsf@sdf.lonestar.org> <87h86jxyea.fsf@dustycloud.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Date: Thu, 15 Aug 2019 04:03:45 -0400 Message-ID: <875zmy26u6.fsf_-_@sdf.lonestar.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 36957@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Christopher Lemmer Webber writes: > Check, and if that's good, let's merge this in the patch series > tomorrow. As predicted, it handles a missing 'sudo' just fine :] > See if you can get it in the patch series (as the last patch)! If you > can't, file a bug, and let's not block on it. Got it in! Pretty simple change. Jakob L. Kreuze (5): machine: Allow non-root users to deploy. machine: Implement 'roll-back-machine'. machine: Automatically authorize the coordinator's signing key. doc: Add description of 'build-locally?'. remote: Use (%daemon-socket-uri) rather than hard-coded path. doc/guix.texi | 15 ++++++ gnu/machine.scm | 27 +++++++++- gnu/machine/ssh.scm | 113 ++++++++++++++++++++++++++++++++++++---- guix/remote.scm | 57 ++++++++++++-------- guix/scripts/deploy.scm | 17 +++++- guix/ssh.scm | 48 ++++++++++++++--- 6 files changed, 236 insertions(+), 41 deletions(-)