From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QO6TAX5bFGCFQwAA0tVLHw (envelope-from ) for ; Fri, 29 Jan 2021 19:01:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CDb8OH1bFGBYWgAA1q6Kng (envelope-from ) for ; Fri, 29 Jan 2021 19:01:17 +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 9FA5194029C for ; Fri, 29 Jan 2021 19:01:17 +0000 (UTC) Received: from localhost ([::1]:55884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5Z1A-0000M6-Fe for larch@yhetil.org; Fri, 29 Jan 2021 14:01:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5Z0z-0000Lu-2w for guix-devel@gnu.org; Fri, 29 Jan 2021 14:01:05 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:42467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5Z0w-00039B-8W; Fri, 29 Jan 2021 14:01:04 -0500 Received: by mail-wr1-x431.google.com with SMTP id c4so7180538wru.9; Fri, 29 Jan 2021 11:01:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=MB9A46oWGfHr550GNWygrOQNpHJIHiYqkh/DXO6FnGo=; b=sJdxUUZ4hLWDS2xj3szTSosJoR2U9/M2Q6PbHAmJV6P55uIbIpDKkBjeBQV/lYRqCk XsGAmN8DuPyq3DbZW7uqLAdVDbUm+eDH5zyrNWp1eCq+V5ih202jxW4tsO7ohQhM5849 3iHNAIdASwTFjmaSpV1Ab8qH4RDnf8MBdnaaPPI0pIjLb6t2/Pj8qTSVAiM1qNaWNgRg Yu2ei7FIx0/CNHNmWIktjVPFtyg7IDKN+aehEbBzt0s/AB5BclLgonLasraWPStURrko 90Y7MpV1WhHm71+BauVJ3kWMxRevHTGWF6T22/uwY/hhKWWVrbiWM6ndCr3VF7yb7NtZ ZLhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=MB9A46oWGfHr550GNWygrOQNpHJIHiYqkh/DXO6FnGo=; b=StJ0Mob58VDMUDNFuVMtEsVCPXwY0FinGoinBkXwMM8LF1UdVyBaL4QZp2VEYQ5W2e CHBFeqbPo+pWLOHY+TeeI+nN3uy7XaLozDB+7xvaC/3h7G7UvcXzcH1DLDuexfMpgAFZ uVAQRDsXCn51EMEGhWdaGzq2IXJ+hHcDWfD4bBMbKkZXn8kl+pmUAg7Uu47OI1v1shKd 1S9RGDTsvLtRLvD8oPen/4Qwa4bWQBjcnnr/+bN2ptBiE5aqfl/XajVD7s2qkKkQuSQb YlEhBhF6mnslMX0zxGQo2jF2Lv5MZWUBSO/50sUTVQKVEifWgrNkhEsSrJH7q1HEt/JQ T7Cg== X-Gm-Message-State: AOAM531+bu0/9vTCBIuNVGrC6s7Gz5ghZ3hAAXEB1yPc4UAdagQlIhsW YA7ixtuQxW8foK+DkkKpt1ML/Er4j+g= X-Google-Smtp-Source: ABdhPJyJVpaUSN8OFUpSUg/2O1X042FBpXSwQJ8JJcPk5pE7i9NsOjtoGArHFaDa0dVsSGnPeCUGPQ== X-Received: by 2002:adf:f9d0:: with SMTP id w16mr6118174wrr.137.1611946860311; Fri, 29 Jan 2021 11:01:00 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id v1sm10929198wmj.31.2021.01.29.11.00.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jan 2021 11:00:59 -0800 (PST) From: zimoun To: Pierre Neidhardt , 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: <874kizsk0z.fsf@ambrevar.xyz> References: <20210116182957.31075-1-ludo@gnu.org> <87wnvyv7w6.fsf@gnu.org> <871re5t2lg.fsf@ambrevar.xyz> <874kizsk0z.fsf@ambrevar.xyz> Date: Fri, 29 Jan 2021 19:57:40 +0100 Message-ID: <865z3fh8pn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x431.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=sJdxUUZ4; dmarc=pass (policy=none) header.from=gmail.com; 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: 9FA5194029C X-Spam-Score: -1.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: vIVX3FTZyVtI Hi Pierre and Ludo, On Fri, 29 Jan 2021 at 18:57, Pierre Neidhardt wrote: > 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? 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. :-) > Last, just a nit: what about listing the packages corresponding to the > commented commits next to them? For instance > > --8<---------------cut here---------------start------------->8--- > (list > ;; Note: these other commits were also used to install some of the packages in this profile: > ;; "458cb25b9e7e7c954f468023abea2bebb5d8c75b" monolith obs calibre > ;; "4969b51d175497bfcc354c91803e9d70542b7113" 0ad augustus > ;; "3d85c3ec652feb22824f355538b51e6955ded361" nyxt > ;; ... > ;; "b76b1d3fb65fec98b96a2b4cfa984316dd956a29" tectonic > (channel > (name 'guix) > ... > --8<---------------cut here---------------end--------------->8--- I agree. I did the same note. :-) Cheers, simon