From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cNUsJLGDFGBWUwAA0tVLHw (envelope-from ) for ; Fri, 29 Jan 2021 21:52:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qBH0H7GDFGD5QgAAB5/wlQ (envelope-from ) for ; Fri, 29 Jan 2021 21:52:49 +0000 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 E828C940149 for ; Fri, 29 Jan 2021 21:52:48 +0000 (UTC) Received: from localhost ([::1]:42170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5bh9-0002Wt-Oi for larch@yhetil.org; Fri, 29 Jan 2021 16:52:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5bgW-0002Uw-1C for guix-devel@gnu.org; Fri, 29 Jan 2021 16:52:08 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:58337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5bgS-0002Aw-6G; Fri, 29 Jan 2021 16:52:07 -0500 X-Originating-IP: 86.247.16.87 Received: from mimimi (lfbn-idf2-1-709-87.w86-247.abo.wanadoo.fr [86.247.16.87]) (Authenticated sender: mail@ambrevar.xyz) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 93B1AFF803; Fri, 29 Jan 2021 21:51:58 +0000 (UTC) From: Pierre Neidhardt To: zimoun , Ludovic =?utf-8?Q?Court=C3=A8s?= , 45919@debbugs.gnu.org Subject: Re: [bug#45919] [PATCH 0/8] Exporting a manifest and channels from a profile In-Reply-To: <865z3fh8pn.fsf@gmail.com> References: <20210116182957.31075-1-ludo@gnu.org> <87wnvyv7w6.fsf@gnu.org> <871re5t2lg.fsf@ambrevar.xyz> <874kizsk0z.fsf@ambrevar.xyz> <865z3fh8pn.fsf@gmail.com> Date: Fri, 29 Jan 2021 22:51:57 +0100 Message-ID: <87eei3quma.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.199; envelope-from=mail@ambrevar.xyz; helo=relay9-d.mail.gandi.net X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.498, PDS_OTHER_BAD_TLD=1.997, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 1.05 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: E828C940149 X-Spam-Score: 1.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3PJo6H6OWrJL --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable zimoun writes: >> I just had a cursory look, and my main concern is that maybe exposing >> commands is one more thing to learn for the user, and one more step to >> run to get a simple file. >> >> Instead, what about doing what system profiles already do with >> >> /run/current-system/channels.scm >> /run/current-system/configuration.scm >> >> and store the result of the proposed commands directly in >> $PROFILE/channels.scm and $PROFILE/manifest-spec.scm, on each profile >> upgrade? > > If I understand correctly, Pierre, you are proposing 2 things: 1) only > one command and 2) export by default in $PROFILE. Right? > > Yeah, sounds a good idea to me. Even if #2 seems a bit of re-work for > the patch set. :-) Sorry, misunderstanding :) I'm proposing: 1) Zero command :p 2) On every profile modification (install, upgrade, removal), store the channel description and the manifest specification (as produced by this patch commands) to $GUIX_PROFILE/channels.scm and $GUIX_PROFILE/manifest-spec.scm, respectively. ($GUIX_PROFILE being the target profile, of course.) Does that make more sense? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAmAUg30SHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/xSMH+wQAfaDedrAByhqFG/MoSBu5hIypZ+Bg JMKWOgiFoCEyfsIlSlzaoPZ9NpFjjQgT+vFCAgwKY87xm+r//jsps4is+1uaCpL7 887pyqYtCXdTHT1GoxugcHMT2i9QhXxMg6D1z9qgxcfd3pe6icR3VS5EXLPNYlXK JkhPwKeonphRQwde7s7/GZRjI2OWlTEDIQwzsg/xWZsPuCCM1md9E8BNfZxeuFMQ o3YVK1Tlf+2YpfNpEwN80UGubA+2Rjkjz9vlzAZmmbF9hJyprER6UXdcv5vXUSAn FrOgwZsSXzM/IQnFOiKXhxiVWZbTVkrhAQ141cZuJK0RF2byyAfciXo= =c0vu -----END PGP SIGNATURE----- --=-=-=--