From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sEIaJSHUXmXydwEAG6o9tA:P1 (envelope-from ) for ; Thu, 23 Nov 2023 05:25:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sEIaJSHUXmXydwEAG6o9tA (envelope-from ) for ; Thu, 23 Nov 2023 05:25:05 +0100 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 28C2B418D8 for ; Thu, 23 Nov 2023 05:25:05 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=jlwqAokV; 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=1700713505; 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=+PFSD76UkEunUhj0TGY7Gtp8CwapgTd3f8U5Nivb0Ys=; b=cowuTVCzYrB0wV0CddFXxjVVuFcL6TkthfmI3ZXJnbODwzJgyi9gowdC10OevAmvgq4mKH GV70i900B5oG8tcZKkM4AZEMvoVxelXpsnP+wkxH++ECyGwZvWzQYLPMObF6TIv+WhZOyu EF0aj8puAr568ic+3SE72PRB9uu+W6MB4cbpw+VitLxeap2WI3zTjMJja9iQJ2ySs12vx/ U+jIcJRnK3jgxLWKakDtsgkGWqkNAcFOSmmR2Bv2ahB+/KZnxzxNOX2Gp1KuzqpPm3TeN4 SaL4mlbiF7QquhVR/229kxvX63ePlWQYaZUGIRovqp/KRGisiRJkIEVScTrX4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=jlwqAokV; 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-Seal: i=1; s=key1; d=yhetil.org; t=1700713505; a=rsa-sha256; cv=none; b=HyWQpdkCKLHcTrtj6v7GGwYvRQpDamwmijS+/Iqhv/jQugPclYCf2CSavmDEbKBLYkkkO1 b2DZ460/w95WjPt6s8Pgm0nhN2DlqYUVQb2LqQB2olNYbbdfx810Lp9Ugyvfe4wmxBIwzM 3TlAYx6Izgih1j570PNKhgtTZYf5GeYfoPmdw0Efs1wdRbeul/SCZSy/IVU91L7WdmD7or IqPGSRIOGPKZ9830pfORvKUQqHwa9GLR/FobndsUoEQAIKuZfdp+E1CELBCRNTF+0xtyMP yZdlYEQLf3Ht//5/VZZlOGmbCzcG2YihZhFbdMlc8mH1P5cIe4UfA+dUCgRKbg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r61GW-0001SG-Oc; Wed, 22 Nov 2023 23:24:36 -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 1r61GV-0001S7-Hk for guix-devel@gnu.org; Wed, 22 Nov 2023 23:24:35 -0500 Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r61GM-0000dE-El; Wed, 22 Nov 2023 23:24:34 -0500 Received: by mail-qt1-x82f.google.com with SMTP id d75a77b69052e-41cc44736f2so2479181cf.3; Wed, 22 Nov 2023 20:24:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700713464; x=1701318264; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=+PFSD76UkEunUhj0TGY7Gtp8CwapgTd3f8U5Nivb0Ys=; b=jlwqAokV9mxDZNkil9XY8HEScgBhxa4Y/AdblYY0NENmMPzaOJpGmYF9wy6dOvjNFH gHrZ/CKMXSI00a6Ce8VZxD7i2rRO3fSdcIKwRIQOS18+9AcjnVRBW638uRxOpwO7VcHm 6ncDZxa1dYwVToOzt3eAk4zhn8Y6i49xeHy5kBigwYFLXEcuVEPyE643PK7XYv7zticR bDpW7v6uQsC9VNu8KLE2cU3uz7fLV/sne3paCyEBkrG9EpgeVQlRKihX3X0kFPgKVp73 FbId5/cgo6o9wlYqZOvBzUE66IIUmqXbCXdg6aPRYELNgXfynwpa41i8BNJd5AL6VBI7 XJrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700713464; x=1701318264; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=+PFSD76UkEunUhj0TGY7Gtp8CwapgTd3f8U5Nivb0Ys=; b=cw8FPeSgI/yUMo4690yoVvqvc74FLmeh63Rsb5dUHcBa3K2BdAWN3Vd4tg3+YQbnEU RUXKUx7Q1oTgIdWCmBsE6P15FYfMTEAZKS688YAamihvIeEFq6Jv9eYQz3vQACFLDAEl kXTEr2ZxQ6hrxtu4BZ3EZC4HvstAWfUXE0+ugW+gzAb7C73SWmJdcdONbIAkd8RguT52 3xJNxfMKebKF9K0EFLKBt6uTCvgruVWOsrfSkIbZKyy8FdWV71yUey0aAKDe/nJ5Jxk5 tTVBEk2sWcJBYBfVOJFfezj0ItrbeN/f7X3ebS5ab8l24S0XMUtH33IVMDmEKmeb3Apz +aNQ== X-Gm-Message-State: AOJu0YyYXVADqpSKoEvMJfosDBFJclKT7mRHV/yYPaRZdMO389CQlioz 5f85fP2rp4wqRuGdJxS+Qi/g8JexCBg= X-Google-Smtp-Source: AGHT+IE1Exrken1YuU38oQysFNjTvdjB4oQq0F/GE6B8lsLtDq7NIZ55V4lydg6VN1eh0KW/uPAVJw== X-Received: by 2002:a05:622a:104b:b0:41c:e129:87dc with SMTP id f11-20020a05622a104b00b0041ce12987dcmr5565496qte.36.1700713464611; Wed, 22 Nov 2023 20:24:24 -0800 (PST) Received: from hurd (dsl-205-233-124-102.b2b2c.ca. [205.233.124.102]) by smtp.gmail.com with ESMTPSA id h6-20020a05620a10a600b007788dac6b24sm156237qkk.41.2023.11.22.20.24.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 20:24:23 -0800 (PST) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Felix Lechner , Ricardo Wurmus , guix-devel@gnu.org Subject: Re: Better support remote deployment In-Reply-To: (Tomas Volf's message of "Tue, 21 Nov 2023 02:33:45 +0100") References: <87sf5pu06o.fsf@elephly.net> <87v8adidqp.fsf@gmail.com> <87zfzp2vph.fsf@elephly.net> <87fs1hhu1v.fsf@gmail.com> <874jhx9de3.fsf@lease-up.com> <87fs1ggvlt.fsf@gmail.com> <87y1exu3hn.fsf@gnu.org> Date: Wed, 22 Nov 2023 23:24:22 -0500 Message-ID: <87edgh85c9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82f; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82f.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.01 X-Spam-Score: -8.01 X-Migadu-Queue-Id: 28C2B418D8 X-Migadu-Scanner: mx13.migadu.com X-TUID: UE2JRXUGWN0y Hi, Tomas Volf <~@wolfsden.cz> writes: [...] > I was following the debate, but maybe I have missed something, so I will put > forward my use case as well. I have two properties I would like to have from a > "remote deploy" mechanism, and they are not satisfied by SSH-ing to the machine > and running the commands there. > > 1. No need for `guix pull'. I run (a little) custom Guix, so running `guix > pull' is somewhat expensive. I do not want to do it just to deploy something > (be it a system, or home, or profile). > > 2. No need to copy over the definitions. My configurations are part of a git > repository, which I would like to keep local to just my development machine. So > rsync-ing it over to the remote machine in order to run command there is > something I would like to avoid. > > If, however, I can build a profile locally, `guix copy' it over, and *then* SSH > into the machine and somehow activate the profile (be it home or regular > profile), that would work for me. Is that currently possible? That's possible if the remote machine runs Guix System and you use 'guix deploy'. Otherwise, if the remote machine is a foreign distribution, you'd have to manually copy things with 'guix copy', like Ricardo has been doing and wanting to improve here. -- Thanks, Maxim