From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id TaMFFbRMFGAQQQAA0tVLHw (envelope-from ) for ; Fri, 29 Jan 2021 17:58:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sAh4ELRMFGAASwAAbx9fmQ (envelope-from ) for ; Fri, 29 Jan 2021 17:58:12 +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 6B49E940309 for ; Fri, 29 Jan 2021 17:58:11 +0000 (UTC) Received: from localhost ([::1]:56556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5Y26-0002Wb-8Z for larch@yhetil.org; Fri, 29 Jan 2021 12:58:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5Y1y-0002Up-Dy for guix-patches@gnu.org; Fri, 29 Jan 2021 12:58:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41364) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5Y1y-0000pb-5o for guix-patches@gnu.org; Fri, 29 Jan 2021 12:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l5Y1y-00050H-4M for guix-patches@gnu.org; Fri, 29 Jan 2021 12:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45919] [PATCH 0/8] Exporting a manifest and channels from a profile Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 Jan 2021 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45919 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 45919@debbugs.gnu.org Received: via spool by 45919-submit@debbugs.gnu.org id=B45919.161194307919225 (code B ref 45919); Fri, 29 Jan 2021 17:58:02 +0000 Received: (at 45919) by debbugs.gnu.org; 29 Jan 2021 17:57:59 +0000 Received: from localhost ([127.0.0.1]:52910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5Y1v-000501-Jw for submit@debbugs.gnu.org; Fri, 29 Jan 2021 12:57:59 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:39589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5Y1s-0004zi-6Q for 45919@debbugs.gnu.org; Fri, 29 Jan 2021 12:57:58 -0500 X-Originating-IP: 86.247.16.87 Received: from bababa (lfbn-idf2-1-709-87.w86-247.abo.wanadoo.fr [86.247.16.87]) (Authenticated sender: mail@ambrevar.xyz) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id E54D01C0004; Fri, 29 Jan 2021 17:57:48 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <871re5t2lg.fsf@ambrevar.xyz> References: <20210116182957.31075-1-ludo@gnu.org> <87wnvyv7w6.fsf@gnu.org> <871re5t2lg.fsf@ambrevar.xyz> Date: Fri, 29 Jan 2021 18:57:48 +0100 Message-ID: <874kizsk0z.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: , Cc: guix-devel Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6B49E940309 X-Spam-Score: -1.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: CfAso03O21I4 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi again! 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? We could add a warning comment at the top, explaining the limitations of these files (that it does not represent the profile faithfully). Thoughts? Last, just a nit: what about listing the packages corresponding to the commented commits next to them? For instance =2D-8<---------------cut here---------------start------------->8--- (list ;; Note: these other commits were also used to install some of the package= s in this profile: ;; "458cb25b9e7e7c954f468023abea2bebb5d8c75b" monolith obs calibre ;; "4969b51d175497bfcc354c91803e9d70542b7113" 0ad augustus ;; "3d85c3ec652feb22824f355538b51e6955ded361" nyxt ;; ... ;; "b76b1d3fb65fec98b96a2b4cfa984316dd956a29" tectonic (channel (name 'guix) ... =2D-8<---------------cut here---------------end--------------->8--- Thanks for working on this, Ludo! Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAmAUTJwSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/TAYIAKloQaP2C57nFZ637r9ODf4xO7pi9QC/ bclXp6brbCFE6k7oGsfUZk/nwrnO6KKGrAiuW5cdkefNdDtqCVG2qz4+VOEhbPOc X5ZJKiXMgK0B6Ry0kXmbnD1K/iPB5fXssgZPq0tudzAUHfHBHkaljPZ+kLhkqLH1 /RBSUMErdQYeQr26MCTqK/iDcdqYKM0/JjsZWB1PQAH2GCLUOLbTiqru8m/hkryQ tucYaVbB6MWyPm9lyacHwCU8ujste/9p/y4pHPRuaJuOweI5WId2SmtpJk8ld/sm A894BRzo756BrqpOjSKUGAfoVBi0qZxhxZUtEVZ+jjjnzrszHXKPOWA= =0xwb -----END PGP SIGNATURE----- --=-=-=--