From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oJJXGy4Y2WKKTQAAbAwnHQ (envelope-from ) for ; Thu, 21 Jul 2022 11:11:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OPBmGy4Y2WJx5AAA9RJhRA (envelope-from ) for ; Thu, 21 Jul 2022 11:11:10 +0200 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 31E1C261F1 for ; Thu, 21 Jul 2022 11:11:10 +0200 (CEST) Received: from localhost ([::1]:55936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oESD6-0008PU-SK for larch@yhetil.org; Thu, 21 Jul 2022 05:11:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oESD0-0008P9-6L for guix-patches@gnu.org; Thu, 21 Jul 2022 05:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46965) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oESCz-0004Yn-Ua for guix-patches@gnu.org; Thu, 21 Jul 2022 05:11:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oESCz-0001CX-IV for guix-patches@gnu.org; Thu, 21 Jul 2022 05:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56612] [PATCH] guix install: Add '--manifest' option. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Jul 2022 09:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56612 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 56612@debbugs.gnu.org Received: via spool by 56612-submit@debbugs.gnu.org id=B56612.16583946054530 (code B ref 56612); Thu, 21 Jul 2022 09:11:01 +0000 Received: (at 56612) by debbugs.gnu.org; 21 Jul 2022 09:10:05 +0000 Received: from localhost ([127.0.0.1]:36714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oESC5-0001B0-1w for submit@debbugs.gnu.org; Thu, 21 Jul 2022 05:10:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oESC3-0001AO-GG for 56612@debbugs.gnu.org; Thu, 21 Jul 2022 05:10:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oESBw-0004CG-88; Thu, 21 Jul 2022 05:09:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=MJAh+5Zo9DBRfXQSSDlEapwnCcLwDBLp6YaBRjr75xM=; b=shuVRF9ZyP78NZCk0MnL 2jv48jdirhv0AweRI8vHK3wpoiyLK8/P0y451QKHr07LUXsMuLIzuY7rLFmSLEmCeRiN8wYqZrMjj 3DCGQhyLZZIiizXozvPQMoxnBM+KJ0j6O7rqBxQI1NfxMSRKBzmKpWaqVk1XmNEghQynrknWjELU1 HbO4brxaD+jUdtkPlcaUnsdlA/Lo6QH31zQURrSFN1glzMNMzuWNowLFtFW/lQyEJ5PeV3IjMXrHs xCjeOZCazsRBBPEmCpQ/42Lxzrs3yx2ahlcFgtZ8M1CYXH7SPvSArQwNvw8TOENhMUemyJhDyMQCO ygXTgny4NpxfIQ==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=40962 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oESBv-0002IM-RT; Thu, 21 Jul 2022 05:09:56 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220717102035.9150-1-ludo@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Tridi 3 Thermidor an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour du Melon X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 21 Jul 2022 11:09:54 +0200 In-Reply-To: (Liliana Marie Prikler's message of "Tue, 19 Jul 2022 12:01:04 +0200") Message-ID: <87r12en865.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658394670; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MJAh+5Zo9DBRfXQSSDlEapwnCcLwDBLp6YaBRjr75xM=; b=WE+bhN+hZL4R4bfMtcrR9bvZSebF/Pi9NjCp+AlZjbONfsCJX/XRI+wX/AN0xjAUz4+3q2 gGl2OOEbBac/BD910Mi+YOdxiII+6xm90a8DZT79apIKy+U+M/nldGTGndCQaRQV88SybB 5UY3fWHfmwCeEBcQLRhLVhEG/M+9qNMu7KfGiXsAjeflDH/AvE5sLE3AWCcjTImy5pGA3q JZrY/KKZtvRNuIRB45i2wTojwDCXnUpP/hJPQNuNnyUycWV5GHr5FmBdlz6yfruHYveklW Jwwj+QnnoDREdo5ft2+uIQywd3tcLoPk9+cCORH5I38KzaePydvaDdfqdNMA7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658394670; a=rsa-sha256; cv=none; b=MAulYahz6w1hCVeAji4G1zuuLtq2evCndyRg7QsaPrpj2Mvk6lG+vVdPgk/ZekGm2MVUkr g2CoJb+DAkwo3FlclC9PFM11HfDyY3RY5WLyagv7BQ3fnb1wBO+JKNn0MhlF8/NvT4HjaY gSxV3GVty44bZKFDR5PDm5dsAki6Kc7HjLCGiGsIUWihKYhowQCEIgEFHp0wAG9yTsQ3TD 2qIhX1LXIKyi90u8wDHdVCM19rOveUxOGLEMGFi7mO+vNOVJqpgBw6DFQbMLqSmWxKHhtp chFkrCOrUJ6eXd5oe5ijjnSeNBqT8hIfZ8ctuEl7nrZd94Wwt5Ln3XbHqHUwTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=shuVRF9Z; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=shuVRF9Z; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 31E1C261F1 X-Spam-Score: -5.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: 18rkgAFF8zep Hi, Liliana Marie Prikler skribis: > Am Sonntag, dem 17.07.2022 um 12:20 +0200 schrieb Ludovic Court=C3=A8s: >> * guix/scripts/install.scm (show-help, %options): Add "--manifest". >> * tests/guix-package-aliases.sh" Test "guix install -m". >> --- >> =C2=A0guix/scripts/install.scm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 8 += +++++-- >> =C2=A0tests/guix-package-aliases.sh | 16 +++++++++++++--- >> =C2=A02 files changed, 19 insertions(+), 5 deletions(-) >>=20 >> Hi! >>=20 >> I think it=E2=80=99s convenient and quite natural to be able to type: >>=20 >> =C2=A0 guix install -m manifest.scm >>=20 >> Hence this patch.=C2=A0 Objections?=C2=A0 :-) > I think the semantics of `guix install -m' are somewhat unclear. It > can mean both "add all of manifest to what I already have installed" > and "use manifest exactly as the manifest". The latter is equivalent > to `guix package -m' (which has clearer semantics here) and also the > implementation chosen IIUC. Personally, I don't think I'd want > "install" to remove packages. Right. To me, =E2=80=98-m=E2=80=99 is always declarative: you get what the= manifest prescribes, nothing else; this is how it=E2=80=99s currently documented. Do you think it could be interpreted as =E2=80=9Cadd all of manifest to wha= t I already have installed=E2=80=9D? Ludo=E2=80=99.