From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id GLXdGIMDJGZEcAEAqHPOHw:P1 (envelope-from ) for ; Sat, 20 Apr 2024 20:03:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GLXdGIMDJGZEcAEAqHPOHw (envelope-from ) for ; Sat, 20 Apr 2024 20:03:47 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=tscripta.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713636227; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wdxST/YcByLk83jgzRjFQqgS7+HbplmML1+Bd7dpJ88=; b=MS/vZoHSevyIQgQVnz33qFcebJsj1af0NCGAXxBk0jh3wsutUakoZZXW1FY46BXzdltQwv SjJThlB1q1pD1dbcnvzi/nENqQDrsFWhfdeNzm1FEKYytxubVLFKnXqq2U5PkXwZ1uNbtH sW1reAuf5rwCmR4cPZHLt9fEh3bJvaeg6EcuLUasnR0wN6bEMOPwxfkZ9qfZQvCtQxjhIV gKaGVs2thiu741sr+rpqq8rpm6guGPyxkjI/sezm2eMpcLyAh3e2iVYLFxhAYQ+y0JNE7X +PmHntun87iUJ/QfCKI65P/hFiuHXrgnUp8IfMdNIDVkp8DAHJ98UK/Pk3PIFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=tscripta.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713636227; a=rsa-sha256; cv=none; b=JtkieFKot0yIVYRCXaptbSc+L/jH2IrtjjO4KFiprDCcmN4kjqBfEYrEpO9yizHTIfqzE6 pa4YGOcDApkwB6Z6NtMH1VxfHvh9SMs84qx5554AH2TV/84QNHSQZg6YF0azHhrrW8b/Vn b9Q7agOAnHURG3KNbJrIcVKpw99gCwFJ0Po2TSMBTEeJOZQ6JdAXaDKxd1bvH9VV66SiXa BbYZIx4S7Z687w6nkw5cVSg9AduxEDcoZ5zjVGf0fz6AwAwJRYbwCf3xm3TAsCJ+EKmKEk BGRyYVM18gz0yi60WvEyaq/qaQnq2eymfY0FvzjQ+3tutEDNT4uyFXDux7r88A== 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 0A0CC60E83 for ; Sat, 20 Apr 2024 20:03:46 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryF3O-0003nE-6o; Sat, 20 Apr 2024 14:03:10 -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 1rxVUR-0001Fk-0u for guix-devel@gnu.org; Thu, 18 Apr 2024 13:24:03 -0400 Received: from wflow1-smtp.messagingengine.com ([64.147.123.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxVUP-0002vl-A7 for guix-devel@gnu.org; Thu, 18 Apr 2024 13:24:02 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailflow.west.internal (Postfix) with ESMTP id B1E552CC04A3; Thu, 18 Apr 2024 13:23:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 18 Apr 2024 13:23:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tscripta.net; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1713461037; x=1713464637; bh=wdxST/YcBy Lk83jgzRjFQqgS7+HbplmML1+Bd7dpJ88=; b=BJ8lMug9R2bMUF4UqWfh7xMm0L FCSwoaiWqM1ri2ULdw8uWahahcMIoa5itnzG37Ks+QNEbmHF9xm5sD8iP8RfV0G8 Y86nKh0nSfYW0zvjQX5UhMt0rLBINC7Lao9A4kKcaSWyKnEPnuw8csmjDk+uOzKZ E4gWosdQwonuzG34mSfa4HKj1SfepAL0b6yT5yt9TPSTRwhEZ4kY/TNDAL3DnjxY joQmVuuJ+KKPlJqkAVWdWqhKKJj70eXIueqZJrD6VpPgwPmgvDQFTPZpp1IG8+8m aWMfTQ7N3WEGSgRPIcrs93vVUT7+mhF+AYwiFXXft/Hm5O6uRogApQK6imew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1713461037; x=1713464637; bh=wdxST/YcByLk83jgzRjFQqgS7+Hb plmML1+Bd7dpJ88=; b=VcaJKg6Je4rb2uEj7ZVSQRIFEs5OnUcqvKyqmms8m3lJ HOOKdknVabM32r8s8jUfYT1cfatoR1+yplWTaqW/MIv3fuiGCB159OtECgLxPlk8 Z1nwKXCPMnsPfuYJ/0P9s//PRHW/ZYSnSbquUXh9IHt9ehXRfIiYbIALUTFXz6hi vDs+OXJuFFSZNOlySSbyhyqlBgVNlU98HD74QJXoFcW4UjxJLhpEVBtEbriWdbXV 5aK58kjYO/9GdyakM4A5E8kTHLyYch1xbPRPy4Cgk0vCZtjYi1rXWopjMiaxw7wo //fkSc9aVINHB69bIDnJ5yvgM8/53jZK1SVAvhUtFA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudektddgudduudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehfhffvvefuffgjkfggtgesthdtggdttddttdenucfhrhhomheplfgrshho nhcuvehonhhrohihuceojhgtohhnrhhohiesthhstghrihhpthgrrdhnvghtqeenucggtf frrghtthgvrhhnpeeludetuefgheetuedvueehfefftddvgedthedvvdehhfdugfdvkeff gedvudehudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehjtghonhhrohihsehtshgtrhhiphhtrgdrnhgvth X-ME-Proxy: Feedback-ID: i0c91496c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 18 Apr 2024 13:23:56 -0400 (EDT) References: From: Jason Conroy To: Efraim Flashner Cc: guix-devel@gnu.org Subject: Re: rust-team branch merged Date: Thu, 18 Apr 2024 12:54:02 -0400 In-reply-to: Message-ID: <21GRCQ0Z0K9NXCO1IEDLT7V9RGQLRCVDMN1TT5B106HNS6E4S@tscripta.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=64.147.123.136; envelope-from=jconroy@tscripta.net; helo=wflow1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 20 Apr 2024 14:03:09 -0400 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.21 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -5.21 X-Migadu-Queue-Id: 0A0CC60E83 X-TUID: 2MW5bmjhVHD2 Efraim Flashner writes: > Currently if you were to pull in rust-rand-0.8 and rust-rand-0.7 > then > you'd have both rand-0.*.crate files in the registry but only > one of > them would be listed in share/cargo/registry/index/ra/nd/rand. I > need to > adjust the generation of that file to combine multiple sources > if they > exist, and sort them (I'm not sure it's necessary, but wouldn't > be > surprised if we hit undefined behaviour if they were listed > multiple > times or out of order). Hi Efraim, I'm currently investigating this limitation of your proposed patch. Did you have a strategy in mind for how to fix it? I see that the index files are currently generated during a phase of cargo-build-system, rather than as a profile hook. So, to build an index that properly reflects the contents of a profile, it would seem that the two simplest options are: a) keep your existing index-generation logic during the build, and merge these per-package index files when building the profile; or b) move your patch's index-generating code out of the build phase and into a profile hook, so that we build each index file in a single pass (for all versions of a package) rather than merging the files from each package output. On the surface option (b) seems cleaner, but maybe you had a reason for generating the index contents during the build? Jason