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 QBRiKyfh0F5TfgAA0tVLHw (envelope-from ) for ; Fri, 29 May 2020 10:17:11 +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 IGo1Jyfh0F5TFAAAB5/wlQ (envelope-from ) for ; Fri, 29 May 2020 10:17:11 +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 CE0E4940145 for ; Fri, 29 May 2020 10:17:10 +0000 (UTC) Received: from localhost ([::1]:41524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jec4b-0005uf-Iz for larch@yhetil.org; Fri, 29 May 2020 06:17:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jec4U-0005uR-L9 for guix-patches@gnu.org; Fri, 29 May 2020 06:17:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jec4U-0005KG-C5 for guix-patches@gnu.org; Fri, 29 May 2020 06:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jec4U-0004SM-8S for guix-patches@gnu.org; Fri, 29 May 2020 06:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41253] [PATCH] guix: add script execution to "guix repl" Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 May 2020 10:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41253 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 41253@debbugs.gnu.org Received: via spool by 41253-submit@debbugs.gnu.org id=B41253.159074738817070 (code B ref 41253); Fri, 29 May 2020 10:17:02 +0000 Received: (at 41253) by debbugs.gnu.org; 29 May 2020 10:16:28 +0000 Received: from localhost ([127.0.0.1]:53875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jec3v-0004RG-Qu for submit@debbugs.gnu.org; Fri, 29 May 2020 06:16:28 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:55243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jec3u-0004R0-Bh for 41253@debbugs.gnu.org; Fri, 29 May 2020 06:16:26 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 423BECB6; Fri, 29 May 2020 06:16:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 29 May 2020 06:16:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm3; bh= LePIwHlbQm4CiRjm3TnwClUlXM2a/jrdzBGP729XXW4=; b=ooju1UwXjCHTho8Q gypsVeXNkbUsU2du67dAQXfPBh645hLV85mnLnr6yHs2TIfYPgKyxd+ocHcdbGxf RBP4ZDGI2MlHaoYbJLsDSSd+RqzSuUnMzfwJTZKgp6bhQsjj71NA7oi3TTLKjOXQ nsFwWDNC/hllduNUjLZx2OfRr9TdIIJ1SWe4p0P/E/71HMtg3OWdLm70HK8AuYvF Bf9GHqLQfqlRtFZEtPTmU7/UVFOXQrGB6+BIm9JCHcbxbe6o2TOtwcsHm4sRwIvR KphP2HHL2ZSjChKcg/Hsf37Ju7ZqtQpColfLQ2mk+10s3YgEjnTM0UYNvtDiT8Ry fWJ4BQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=LePIwHlbQm4CiRjm3TnwClUlXM2a/jrdzBGP729XX W4=; b=epoWBY7yZw+hEYY26v+FFKEMS0SDTuNzM+SRYNLwpAS2+dKqwkcCUGz4A 3jfUUvn631FX/s4uhhz6s6Jo6EpACTCpGW3Eb2WAyPxiihIXjmBR0UnmMtPEVwYH ziss2VIUAKmTyp5ut3tmHHHwRUfki0RTyExM+GynnpTVfH2LuZNC0WMBeLgk3zq/ Ctb/pSTxZZBq87x65wAmTfA9sKV8KoLWcnGyyNPt04zwXiMNEOmSFZ0a5dza4UoN asZ76HLw4LgCnsIkjNKpiNsxZ+UIA78nPL7IDvvB5xMVXhG39WmhZY6rl6DVPVhg zRujfL3ZMOAHulpzcBlqcen7vblIg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddvkedgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffffkgggtgfesthhqre dttddtjeenucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhi nhhsvghnsehfrghsthhmrghilhdrnhgvtheqnecuggftrfgrthhtvghrnhepjeevkeejfe ffgedutdfggefgtdeludelieeivdethfevfffgkeeludejuefhfefhnecuffhomhgrihhn pehmrghilhdqrghrtghhihhvvgdrtghomhenucfkphepjeejrddvtdegrddvgeehrdejge enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhn rhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvth X-ME-Proxy: Received: from KHs-MacBook (74.245.204.77.rev.sfr.net [77.204.245.74]) by mail.messagingengine.com (Postfix) with ESMTPA id 142F03280060; Fri, 29 May 2020 06:16:18 -0400 (EDT) From: Konrad Hinsen In-Reply-To: References: Date: Fri, 29 May 2020 12:16:17 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=fastmail.net header.s=fm3 header.b=ooju1UwX; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm2 header.b=epoWBY7y; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.net (policy=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-Spam-Score: 1.59 X-TUID: TNQPyZWJbH/N Hi Simon, > I have sent a v2 adding tests and rewording the commit message -- to > be what I understand the compliance; sorry if I did a mistake. > Well, I am not sure by the tests. Way better than no tests! I just submitted a v3, following a thread on help-guix (see https://www.mail-archive.com/help-guix@gnu.org/msg09328.html). The v3 patch allows guix repl script.scm but also guix repl =E2=80=93 script.scm -a -b =E2=80=93-input=3Dfoo.txt In exchange, only a single script can be run. This is perfectly in line with how Guile works, but it breaks your nice interpretation of "REPL" as applying to script execution ;-) Cheers, Konrad