From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oJZcIVVMMGJZigAAgWs5BA (envelope-from ) for ; Tue, 15 Mar 2022 09:20:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ACwtGlVMMGKVWAEAG6o9tA (envelope-from ) for ; Tue, 15 Mar 2022 09:20:37 +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 3880320E64 for ; Tue, 15 Mar 2022 09:20:37 +0100 (CET) Received: from localhost ([::1]:52670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nU2Q0-0007EB-59 for larch@yhetil.org; Tue, 15 Mar 2022 04:20:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nU2PL-00070W-BP for guix-devel@gnu.org; Tue, 15 Mar 2022 04:19:56 -0400 Received: from [2001:470:142:3::e] (port=60868 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nU2PK-0000U7-BR; Tue, 15 Mar 2022 04:19:54 -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=flH+MoKbf5/6ffSMgsKQ3EXfkDwrT/flNrPmoTmaJ8M=; b=HowNlBm2ZW+P3MPnBarZ 7+ETxQF+moeUMMR3ZBFyLZ4VFqG9R2XZWrLAooTG3sm4w9ts/j+Kyn2bFwAfIokQhn3NMYYzOglIN U0h3KfNKXUPD5JsBsLggEvSkaMyK40yBRwjBZlVQ5ynrSOdDGeBk2UcQ5WQIbyCCbJqQNCdvYpxy0 IUtNlab84L3+NrXuESidqi5jgfinOSAsSTCFlei8oIbsAl6EK0wfR5YuclKa+2ZqL6SOc+P8a4nID i71r4RGh+BerxJZTbITwOwS0CCDHwPJSiP20xdfBIv1XJ9NZ67K7B+ABoHRO9wslaG8sNfOWzxQfB 8pLjNK5Eu83yHw==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=38532 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nU2PJ-00067u-0G; Tue, 15 Mar 2022 04:19:54 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "David Arroyo" Subject: Re: Building a software toolchain that works References: <20220314202659.oftyvymu7tjiycba@thebird.nl> <26d5e14e-97cf-4346-a434-9e73658495b7@www.fastmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 =?utf-8?Q?Vent=C3=B4se?= an 230 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= 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: Tue, 15 Mar 2022 09:19:50 +0100 In-Reply-To: <26d5e14e-97cf-4346-a434-9e73658495b7@www.fastmail.com> (David Arroyo's message of "Mon, 14 Mar 2022 17:40:31 -0400") Message-ID: <87o827ocex.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" 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=1647332437; 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=flH+MoKbf5/6ffSMgsKQ3EXfkDwrT/flNrPmoTmaJ8M=; b=lrpyTVN6UJE7LMQJ0txFb0Jv5ZF5F0nkigQGbDuGXOQoxyeWULhB0dYuEkdgHPXR97XHRW EhAwL3xXjM0B1YIkYYHnSNo87KRg70QWrmFURLbt8OFw0l5e3RwZ5YVfESaYSjPIgapnYa wPtOtnY1WvqxVzgPyeY87P5aKrOFADs6i0ss4E1SL3L43DFzQTUDjeITHJg6RlBa3fEVFj KPY8tnaYO9ZvaUEFYMTg5R45dZvX3d/Gs6Ojvw9m4EZq31i8ufcs6jW9asqo9qwlWOe7h5 Frj1eivS6qmYa+wDT7KMLGdWHEThT5R9pt/pQKj7Rgv2yGPCxNFDlppaMlRWdg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647332437; a=rsa-sha256; cv=none; b=lXtuR/ez5gENXB3K8dRtRtWNbYFCZubUwRnFv7wSFKlyAQV5B7RtIiynUO6iciCBs3UkX1 APl+Q+ZL20lUATKZgegO6S0kX70aWptVqV6JKahDLx67FfeOVbTcDx5MyYU5x8MOGlUkmP d2oELjdgvic0eTzWrZ1Q9FXxIVHZaTvr9x6Sr9+HvyMsJIHG36+YpCmHcu+ROSx5HTCmDz ZCiN9+oUpAOcMVj5OA8AJtZSbNup2nF8zLDeUpyg7mlhz0jYyrKv0j45cW62Bm+VSXcIPr 3J8SLSNm40m+gCwOFUtStleChk7gekLwHukh/nE2XbykJpoMTEJSDVYHn1Uo8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=HowNlBm2; dmarc=pass (policy=none) header.from=gnu.org; 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: -9.97 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=HowNlBm2; dmarc=pass (policy=none) header.from=gnu.org; 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: 3880320E64 X-Spam-Score: -9.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: g+EjKuaXW4Lj Hi, "David Arroyo" skribis: > One could develop a `guix contribute ` subcommand or standalone > script that would implement the following workflow: > > 1. Obtain the source and unpack it into a writable working directory, > skipping downstream patches and snippets. > 2. Drop the user into a shell with the build and test inputs present. > Perhaps with the scripts $PWD/.guix/test and $PWD/.guix/build added > to run the build and test actions as needed. > 3. After the user has made changes, and maybe signalled completion > somehow, run the tests and build all outputs. > 4. Once the user exits, output a diff that's suitable for git send-email. I like that idea, that=E2=80=99d be a great tool to have! And indeed, we h= ave all the building blocks. Ludo=E2=80=99.