From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wNYdHhW6YmPMSQEAbAwnHQ (envelope-from ) for ; Wed, 02 Nov 2022 19:42:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kLD7HRW6YmPlnQAAauVa8A (envelope-from ) for ; Wed, 02 Nov 2022 19:42:29 +0100 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 26D6D4EF for ; Wed, 2 Nov 2022 19:42:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqIgp-0005g1-Do; Wed, 02 Nov 2022 14:42:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqIgo-0005eN-36 for guix-devel@gnu.org; Wed, 02 Nov 2022 14:42:14 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oqIgl-0004EF-TK; Wed, 02 Nov 2022 14:42:13 -0400 Received: by mail-wm1-x32f.google.com with SMTP id p13-20020a05600c468d00b003cf8859ed1bso1394359wmo.1; Wed, 02 Nov 2022 11:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=eSXQ6SCsLS5V9rdzcbLRL2HIy9Z8bMO3kf9alZVjjF0=; b=KzyXsfOTcHGHNaZRlejyDflZQfCxqbDBR7EDqthrTYT+P+MV/LSTT+GeSWJF7B/QCY Hym9P0m6ezJTKoco3hdKUAMxpblfUz+VQdyV0Ec+oVMQg5+wH1+8Bqi4TvJ9VDhLhsIO 82QjUZQtZQu1zAvR+x7pEyOznyDyTn89tSA16MnM5Yyb0H0vfwUvVCkFreLX170qMc/A PSLnqshdQ2eHCGFe6eMNlwlAhBBTqQ7l2hmsgud7PbgABFcatH7emr5hb611pu1OY0el oqeAccF2/SCSdrWzmQdhBMCg54XWdik8xnVnG7+MCcDROVBYX/vqlr5yKqpdDUyFfpg9 yCRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eSXQ6SCsLS5V9rdzcbLRL2HIy9Z8bMO3kf9alZVjjF0=; b=REdNx+q/2m0Ery3rtgwNFnljVjOGcvhKIW8UjV6lVk1wMAK8lX+nrzioMmjZrYeLBW BZ3EiwUjk5Lv1GzPaLLke2FgILqew3Sg7zBoZhUrY2/4S68OVcFy4GM7xAK8aJDEo6Tn ZKhzYMrmLN/7osujDTscRh2tPZgQnYiAs/0IpJ+jgJxoUfAIv4UegK7hKfhcHnZvdVhy NCMHH8C314zTSLOBLZFKLcBOp8DhwSGB00o86Tg/NiBVVgznhTuGiOh5wuzd7m+/PLOe 9yreak0KfKtebQdVqUeJsetJYLwGjeVHsFpHm5G88U1ZPDgEZV4fycTj3oTTm9Pe4I2S zJ2w== X-Gm-Message-State: ACrzQf1XiNyos9Bt9/MYAjtxOv/W54idWcdK3vQ+pz9y3NZcIME+A9YH H2iiSOZqzWdjKTqjKTML4qSK4ZVHwT4= X-Google-Smtp-Source: AMsMyM6Su4MUZ1Iag5JTpEW7cKRg1K445yRmN/gQEOww4kOGP/hZcbdIGTaw+gjzmUTtvWAukLvpgA== X-Received: by 2002:a05:600c:4f05:b0:3cf:4818:1704 with SMTP id l5-20020a05600c4f0500b003cf48181704mr16614477wmq.181.1667414529622; Wed, 02 Nov 2022 11:42:09 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-45.net.univ-paris-diderot.fr. [194.254.61.45]) by smtp.gmail.com with ESMTPSA id a15-20020a5d53cf000000b0023682011c1dsm13700368wrw.104.2022.11.02.11.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 11:42:09 -0700 (PDT) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Danny Milosavljevic Cc: Guix-devel Subject: Re: git guix checkout automation for contributors In-Reply-To: <87zgefbgz1.fsf@gnu.org> References: <20220925160606.46d2e939@scratchpost.org> <87zgefbgz1.fsf@gnu.org> Date: Wed, 02 Nov 2022 19:41:20 +0100 Message-ID: <86bkppgpwv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32f.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.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Guix-devel" Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667414549; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=eSXQ6SCsLS5V9rdzcbLRL2HIy9Z8bMO3kf9alZVjjF0=; b=neUXaB0OpZNWexhNU1ZkvsexKDRl2rTGZPkk2swALObZfVR0lah+sYqVbL24aGWLhJvNeI PKbxQpAYIYh0w7WDGx0kOllGRyjiz7IyiOscpnfBu9HXOwVFOAIOLEYLpgtj0PSuE/Sita v74hqyiSmN71bqkACsXFMYN1RqC4NqfM3/u9lap8n2CUKvF4H4B67zF3bQDjpIrKPAzc/B UKMZjsI925b5tW3XD9VHILAYflO81SKnmD7lLtNwhlRJYyd+/6Xs4jVgf4JqJkFUAwV8Xf IKN09nHUSjX5zSVdyAwAsLhn1p/nQPf0BK8SUI2YGZqOHxw+qweSmMxKg+1d2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667414549; a=rsa-sha256; cv=none; b=TbLf5reECQKzu8zbO0fVkxWs9vYIwN2pXlqcwYtlv+RGTXqm/1hQ8pCMuLqjrx49a0rkug Nxq/yVAW6lCFEF7rg/lilHwtl3QzlY/wrc1+i4ncEqs4PAhgK9bx+Pf23FAKaqjDsa1bno j3YCK0k7WM94iSkoenqbbKsgW8d+jYnPtJPgDdk/5r1nkHvZjnp2Kb6TSvCZx3yg4f25oK tEf/+J+EUmQA45VXJpyNmzvaesJ6U1YYLTZvC8rCDaa4lMQexfxbSGP8zqIcGxk5rBuvlv 4Uq4UogmYunaTRSrHGqR5XZ+XzC+NGEOwWMmTXBwcOjwJts6G6aHjZuACqRKgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KzyXsfOT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KzyXsfOT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 26D6D4EF X-Spam-Score: -5.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: c3uab6aygRsF Hi, I am late to the party. :-) On Sat, 01 Oct 2022 at 19:18, Ludovic Court=C3=A8s wrote: > Danny Milosavljevic skribis: > >> (1) Install the guix system >> (2) Log in as regular user >> (3) guix edit nano >> (4) It opens a file from /gnu/store that you cannot edit. > > At one point, I thought we could have, say: > > guix edit --clone PKG > > It would close the channel containing PKG, open the file that defines > it, and then tell you to run =E2=80=9Cguix build -L =E2=80=A6 PKG=E2=80= =9D to test your changes. > > All this would be relatively easy to implement, but it has one downside: > it doesn=E2=80=99t work for the =E2=80=98guix=E2=80=99 channel. > > Perhaps we could make it work for the =E2=80=98guix=E2=80=99 channel if w= e arrange so > that =E2=80=9Cguix build -L =E2=80=A6 PKG=E2=80=9D doesn=E2=80=99t end up= loading all the local > uncompiled guix/*.scm modules. Well, does it need to be a Git clone? Or can it just be a simple copy? Because using a simple copy, we could imagine, guix edit --from=3DPKG --to=3DDIRECTORY that extracts the PKG package definition, filling the required =E2=80=99#:use-module=E2=80=99s and so ready for =E2=80=9Cguix build -L DIR= ECTORY PKG=E2=80=9D. On the other hand, a Git clone would allow to prepare a patch almost ready for submission. Cheers, simon