From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mAb1JQRY3WFJFgEAgWs5BA (envelope-from ) for ; Tue, 11 Jan 2022 11:12:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QNKiIgRY3WFKnwAAauVa8A (envelope-from ) for ; Tue, 11 Jan 2022 11:12:20 +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 2F26C12BBD for ; Tue, 11 Jan 2022 11:12:20 +0100 (CET) Received: from localhost ([::1]:42712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7E8Z-0005x2-1s for larch@yhetil.org; Tue, 11 Jan 2022 05:12:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7E8I-0005uh-O3 for bug-guix@gnu.org; Tue, 11 Jan 2022 05:12:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7E8I-0001xn-Dm for bug-guix@gnu.org; Tue, 11 Jan 2022 05:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7E8I-0004Or-8A for bug-guix@gnu.org; Tue, 11 Jan 2022 05:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53127: [PATCH RFC] Turning Rust/Cargo inputs into =?UTF-8?Q?=E2=80=9Cregular=E2=80=9D?= inputs? Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 11 Jan 2022 10:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53127 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Received: via spool by 53127-submit@debbugs.gnu.org id=B53127.164189588816865 (code B ref 53127); Tue, 11 Jan 2022 10:12:02 +0000 Received: (at 53127) by debbugs.gnu.org; 11 Jan 2022 10:11:28 +0000 Received: from localhost ([127.0.0.1]:54215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7E7k-0004Nx-9O for submit@debbugs.gnu.org; Tue, 11 Jan 2022 05:11:28 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7E7i-0004Ni-Uj for 53127@debbugs.gnu.org; Tue, 11 Jan 2022 05:11:27 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 783705FE; Tue, 11 Jan 2022 11:11:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nbb2P6HK5P6H; Tue, 11 Jan 2022 11:11:20 +0100 (CET) Received: from ribbon (unknown [193.50.110.156]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 89CC2F2; Tue, 11 Jan 2022 11:11:20 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87sfty3yb5.fsf@inria.fr> <87zgo4ynk4.fsf@inria.fr> <5d8fcfd860d68aa3f1173744031ff2a55a0adf28.camel@gmail.com> Date: Tue, 11 Jan 2022 11:11:19 +0100 In-Reply-To: <5d8fcfd860d68aa3f1173744031ff2a55a0adf28.camel@gmail.com> (Liliana Marie Prikler's message of "Mon, 10 Jan 2022 21:24:10 +0100") Message-ID: <875yqqy43c.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-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 783705FE X-Spamd-Result: default: False [0.90 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 53127@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1641895940; 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; bh=xYb+QP6VSC9sdJmGVsGaKRDBgeKQyuWnofQr2NAI5oY=; b=esFcr4hkykpz5CoQ4VSnAPfiAIJVXI9uGu7SlkyxYrYz9DMCCBboWnnsXxCQl/T75qPth5 q71GeJFFwPJIaEo/0s6Ql1e2RcPpP6KOCStuJxJ1APR0xyLQlO9ytBuKkuZXr9HztujxGz REYJnV9tJlRJVUupR3WIaLWpooRHhepLN8fiv9BKZyZtswhaqQ/Lm/1LtkVoHE+LKwJUk5 h6z3MLNVmzxCs3NChx8PlXSBfMKkETPFw9zWe9rhexdEBSWTAX2qEi4kLs3irvDcwUkdPu GVPC2Yam8gLDIX/0x99WOQKAdbTmqY+WxqpDXDWvDJfW226WXXhgFgpH9gdoyQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641895940; a=rsa-sha256; cv=none; b=D7/ZDv3Nv9uHNny8jUWlpAnVj0vP/4+MoMHm7iKc/KFxVkX/M8VNHCQVG4KPdMuwfpQ3f6 BKKYn8gJGLYbOHBO18aQjo2GHrI4gczvy7JFSw8XXDyvEv6Yf9/JVIbKWYb9LvXcTESRtk fYQ7MUarFlnb8IQJNgNoleNItyAzyZ/XQye1/FlEjiHXOSfjf1KyfyjWSHqcFxLphmtYJZ cfqkYhwzUgEzZCyVhrGKkNd4t1cQOlSt1amXU9LueEL5zSIDGV7NzkBEkC3y2WRSrl7orP Eg6OWs7qxoLtN6h/N+FRpuuEJpOVlC6631bT/9sFTSVwWMp+NuV0yB6U91lH3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2F26C12BBD X-Spam-Score: -2.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: 00oXJbaoMWQG Liliana Marie Prikler skribis: > Am Montag, dem 10.01.2022 um 09:58 +0100 schrieb Ludovic Court=C3=A8s: >> Hi! >>=20 >> Liliana Marie Prikler skribis: >>=20 >> > I suppose adding (package-source rust-cargo) to inputs to preserve >> > the >> > old meaning would not make much sense? >>=20 >> No because you need transitivity (that is, you need sources of the >> dependencies, too). >>=20 >> > If so, what about having a source output and using (list `(,rust- >> > cargo >> > "source") ...)? >>=20 >> AFAICS it wouldn=E2=80=99t help solve the problems I mentioned. > Even if it held the transitive sources? Ah yes, that could work. > The only other idea I have is somehow adapting maven-build-system's > parent-poms, but I don't know how that'd look like implementation-wise. I=E2=80=99m not familiar with this. [...] >> Yeah, we could change things incrementally if that helps. >>=20 >> However, given that =E2=80=98guix style=E2=80=99 can automate all the ch= anges, I >> think we could just as well change everything at once.=C2=A0 The good >> thing is that it allows us that the strategy we choose actually works >> at scale, in every case. > Ahh, but what if we told =E2=80=98guix style=E2=80=99 to automate all the= changes > incrementally? In other words, we'd tell it to detect cycles in inputs > and only commit those changes that it can make without creating one.=20 > That'd be similar to the new-style inputs change, which also aborts if > even a single input can't be handled. Hmm yes, maybe. As a first step I=E2=80=99d like to see if we can get rid = of those cycles altogether (that seems to be the case at first sight) or if it=E2=80=99s just not an option. Thanks, Ludo=E2=80=99.