From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SL3JDfumF2eepAAAe85BDQ:P1 (envelope-from ) for ; Tue, 22 Oct 2024 13:22:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SL3JDfumF2eepAAAe85BDQ (envelope-from ) for ; Tue, 22 Oct 2024 15:22:03 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FoBbaFcl; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mRxWDNyD; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729603323; a=rsa-sha256; cv=none; b=QuPcdouxVCYYJI3wI4vwlokx2D5zFVscbWOFGbPlsD/8KXN/8xJeKIoPxx70fHdRjiA1CQ MA+T9uT3GtLm2bU+ZhQsFeBwxereFSkeyA0h9qLtHeYp6zOKh0Ob4mJhSQ0f7JIN0cfSD8 JPZdPZ2LVmqR7Xb0V97ag+1vqYuijub5AxcG6ojbswxqvFGmsYWg46987dhThnTtDnPMJ0 4+wlpXkNWFaioueEuQG4hIQ9TFM3mOYK8/ZxVyTAHSk6QSxQUJJtpDgcCPqbjTEnK0tmrn SPmMcTeZO5pN96pZzoCY8z6Pzfsd9pA21cX/uVc2nzE5V5h7OHw+IObHfL7mJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FoBbaFcl; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mRxWDNyD; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729603323; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=pOXtaeSUt+q/MTyQeIipAlPhlU4RyvT7/pGmvXUMZns=; b=CtRbSAe/YbeP3jID3E+MAcsZP9IgIbaO7xefCWa/QIDwepsmmVtGc0cvkJargXpuD7vjNU 6miYiIXcfMOXkF07mpjp7Lo2Xr3zptMPcu94zuq78Oyq+qTS+2Ytazj0U5fPBk6jMXsnnl Kb+nDvK2HwruumDHQPBFxVlyQZKCGSr0NaIaosVPR0CTDyoaLc1AzQMuB618yzNp4AiteW +9DqzoMczhkQBx7MA5BZ1ksERYDkyVSAFjCBDxFyJc6JdyVANKIrPpSrxU90DDPiRlJsKt 33SQpsznMxmyXRwBkeXoUyv5I6zlWVoKvYXeCdp7XgLz/yCrD6PHc+MaGUBraQ== 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 14059374F8 for ; Tue, 22 Oct 2024 15:22:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3EpP-0002Ty-EV; Tue, 22 Oct 2024 09:21:39 -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 1t3EpN-0002Tf-6q for guix-patches@gnu.org; Tue, 22 Oct 2024 09:21:37 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t3EpM-0006uu-L4; Tue, 22 Oct 2024 09:21:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=pOXtaeSUt+q/MTyQeIipAlPhlU4RyvT7/pGmvXUMZns=; b=FoBbaFclsIdUxCtEOYE1u9le0KK6Vy4H3clEaMriy3yrVDYygJot5vemu//dNikUGmL847EYFD2Ri+DRVQzA9JoqmnmiTTQF07TUQ0bVAldg0knR4+sUMuzRXN9MmuWxkh6ehJukz+TVw88TvpDLwmrGw/ypZmfxn9gjGAtb6SXBVrPi54mUn5oO8BHu0HWN5+h02PjP3WZC+pmsvHiJJ5Tz3WWFnW567IOMheX9XMNUX/nXffHw9mSjDwCC16nOjC6WHmMSQl1CftbO1mHPfB8ASLMSk8trgDFuhOyezjBfX4ggCws6LA6/fncOYvmJmG/UZdkOd2xgKA4+sruiyQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t3Epl-0002c9-T4; Tue, 22 Oct 2024 09:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73948] [PATCH 0/2] 'derivation-build-plan' returns builds in topological order Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Tue, 22 Oct 2024 13:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73948 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73948@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by submit@debbugs.gnu.org id=B.172960330410009 (code B ref -1); Tue, 22 Oct 2024 13:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Oct 2024 13:21:44 +0000 Received: from localhost ([127.0.0.1]:55042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3EpT-0002bN-U9 for submit@debbugs.gnu.org; Tue, 22 Oct 2024 09:21:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:37292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3EpR-0002bF-41 for submit@debbugs.gnu.org; Tue, 22 Oct 2024 09:21:42 -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 1t3Eoy-0002SJ-RH for guix-patches@gnu.org; Tue, 22 Oct 2024 09:21:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3Eox-0006tx-Q2; Tue, 22 Oct 2024 09:21:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=pOXtaeSUt+q/MTyQeIipAlPhlU4RyvT7/pGmvXUMZns=; b=mRxWDNyDyHLG+M 8TPWs2tCChd5toU4LOfOOyWDepDOEuOdhS7M8zPqpy+LlAOeu9YV638uO5xn9SeusmqYMVOvavUni kbl0F8xXAGbc+7McRJgXRKDhsNmobXxKvrmKaWvep10MtMJT437lEGjdD6eE9SEiKrtyyF35pnUCL EIzhUSLXtQb1GyqW5q3IdNkQOMRLbQ5H+2mgcGMxhKk3ZZGZgj6uKdM49AMmx8B2i+QEIjm3BWv9z I0WJALtq8tLB2DXRnS0Qczi00vswfkQ2lJruMALACdJD9fHSktFufmEEl2PuM2xIPAAwhuBvxZGRC 91+/wP10wRQQOiTM+qvw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Tue, 22 Oct 2024 15:21:05 +0200 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.24 X-Spam-Score: -1.24 X-Migadu-Queue-Id: 14059374F8 X-Migadu-Scanner: mx10.migadu.com X-TUID: ryc1BSYpsK27 Hello, There’s one situation in ‘cuirass remote-worker’ where I found that it would be more convenient for ‘derivation-build-plan’ to return the list of builds in topological order, so a worker can perform them sequentially in the right order. >From a UI viewpoint, it also seems to make more sense to display the list of things to build in topological order. Thoughts? Ludo’. Ludovic Courtès (2): derivations: ‘derivation-build-plan’ returns builds in topological order. ui: ‘show-what-to-build’ displays builds in topological order. guix/derivations.scm | 74 +++++++++++++++++++++++++------------------ guix/ui.scm | 2 +- tests/derivations.scm | 31 ++++++++++++++++-- 3 files changed, 73 insertions(+), 34 deletions(-) base-commit: 42612e3bdfb201dbd47d6b8ffc75345199a96a80 -- 2.46.0