From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0Mw0H5bGsmSeUQEASxT56A (envelope-from ) for ; Sat, 15 Jul 2023 18:17:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uKXTHpbGsmQbBgEAauVa8A (envelope-from ) for ; Sat, 15 Jul 2023 18:17:26 +0200 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 C68AB47D20 for ; Sat, 15 Jul 2023 18:17:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=rr37CMA5; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689437846; a=rsa-sha256; cv=none; b=pLuUVNlW9vi9tjBcz1hLCQDt8Nv+rAS7bmF4elvgcOzPC4QU1EelFqfMdEKS99WSGCnRV+ p13qBvusKyAeKfEUA6Z0xOHiQTVf2jYuPaAEcTQIpeMm9i047PO6Io80qsJDtzcJs2UOTa 7qob6g80nWsA61xedkT+KPR1FD+Azcc9s3AJz8R7QponuobcxdWJOnecwHZisYeaiRzP7b 3vxk26jMXPPeQAuMP5wqq6243cJ29HTAOMi3YIQx++1fN6RD/KqVPjsdnpUbMhv2uwBUax JslCUdCmIIjxDPeJYnwMwWc7SPT4zlL3DWgi62L9A30sKM7hJsHnegj5q2igcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=rr37CMA5; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689437846; h=from:from:sender:sender:reply-to: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=rrjrlPGXHIGhS/HRYBACPIvCxje8pD+Pxaf17criqyw=; b=Pa3t45tdIiiYoMCN1fcVZyH5ZMwHMxhH1Xu8HHxBeMYzjco7wq7sUi7C0mAawlm3XtrNt8 6Wg7IRczOaxp4jeXA8lKRQXjWtuPn1gv2LAFiPpLDc1sHpA+u5IoxNO4/DbuRPae52KeYT 0S3YLPMtGSxO7HJ/PV/XsB6JW8ReYZxiERFjG9s8QzRtNLm6SwKbarihgl0MlOYcVNpdmB Igw6ipvFCfcer+TX/s0SSEnK3kQvbdPhq+8dEnvtd8eZqSnLMyzUQsSWT6wgVd4XZ/VPWs gRNegQjXJ1UvK5oVP403RFot8zyHh9OttH4Xuyqn9kZyDXrqwtJ1H/RNRYfWzA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKhwx-0006h6-A5; Sat, 15 Jul 2023 12:16:51 -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 1qKhwv-0006gp-07 for help-guix@gnu.org; Sat, 15 Jul 2023 12:16:49 -0400 Received: from koszko.org ([93.95.227.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKhwt-0003Px-5L for help-guix@gnu.org; Sat, 15 Jul 2023 12:16:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=rrjrlPGXHIGhS/HRYBACPIvCxje8pD+Pxaf17criqyw=; b=rr37CMA5lFB2EXAt3CpHYguZWY nV19p+g51V7HB6QNL0QkzyIOUJmXrwqyYm1WrykOlUxFCO4LP7y+Jc1Hdwa0U41qEXrMPWZtvGThA cfLFki2lzloj2COGH3AI+W6T8eM1BU85ROghkiKG76F4YYsYM7DRYtshgKFdF69TrPBcNaTeznl08 dmZn9nDK2lJslb2J9/Y8UE61HtyTFEs1ZI+75L6V6lwzbmdnhpvDHBr7+mXa8DF2Y3XOJAwwdpXde ZSedbfFv0lh/kRkfvllMAabCLiToyRHxwOjedGFUPjdDYRfy1gU+2nqVbzEYn1xkVbAU6gsVdBMed GfxzGyKEK4f2S/QhiwZ19MRGZkxwYsGZ6/c+1wYYV2IJxoOCn96ifMjE+/Jjmkw1UfIJaKlTeIN6L mbDwy00QbsBZvI3dfufP4u41XhpIrMLS6F0R/ucvOrVKXUParnNDYDMoHK1zwR7LR0wkeFFbRGGKx QE6Ep1WoRSZlHr/M9QohV02IsGsLP7lrjTmr6COmmowj8W0EcNXvFMqlQR3Omr05vjaJPG+NUe8jE uMOkaAeWouaH0QusP6zAF60hVtCPeVBSEvPtRop9boBPvlc5/XnG/1SN2U/RiF9SoBInKePSbU352 8Sg2Rm8u4PViDoZMJNVmmJYf0hXzp+q4OkT1uy4qo=; Received: from [77.252.47.107] (helo=localhost) by koszko.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qKhwp-000153-80; Sat, 15 Jul 2023 18:16:43 +0200 Date: Sat, 15 Jul 2023 18:16:41 +0200 To: Paul Collignan Cc: help-guix@gnu.org Subject: Re: Packaging a rust program with a lot of crates Message-ID: <20230715181641.5b378ea3.koszko@koszko.org> In-Reply-To: References: <20230715160656.0120f6d4.koszko@koszko.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/YMe31..vzhr+Z2ii/n61Gl9"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@koszko.org; helo=koszko.org 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Wojtek Kosior From: Wojtek Kosior via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.01 X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -4.01 X-Migadu-Queue-Id: C68AB47D20 X-TUID: xOTcoyElkxOy --Sig_/YMe31..vzhr+Z2ii/n61Gl9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > There might be some misunderstanding here. Guix does allow > > 1. for multiple versions of the same package to coexist > > 2. and for multiple versions of the same package to share most of the > > packaging code via inheritance. > > However, the possibility 1. is only exercised for some strategic > > packages like gcc. For casual packages, when upstream releases a new > > version, some kind Guix contributor sends a patch that changes the > > definition in the .scm file to now describe the new version. The old > > version need not be explicitly deleted =E2=80=94 its place is taken by = the new > > version :) =20 >=20 > It is a little bit different for Rust packages, as described in the docum= entation: > "In the rust ecosystem it is common for multiple incompatible > versions of a package to be used at any given time, so all package > definitions should have a versioned suffix. The versioned suffix is > the left-most non-zero digit" If I understand this correctly, one > should keep all packages from 0.1 to 0.46 (for example, if the > versions are numbered like this). But from 1.1 to 1.46 you only keep > the last one. OK, my bad =F0=9F=98=85 Didn't know that -- (sig_start) website: https://koszko.org/koszko.html fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A follow me on Fediverse: https://friendica.me/profile/koszko/profile =E2=99=A5 R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ=3D=3D | =C3=B7 c2luIHNlcGFyYXR= lZCBtZSBmcm9tIEhpbQ=3D=3D =E2=9C=9D YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ=3D=3D | ? U2hhbGwgSSBiZWNvbWUg= SGlzIGZyaWVuZD8=3D -- (sig_end) On Sat, 15 Jul 2023 17:10:59 +0200 Paul Collignan wrote: > > There might be some misunderstanding here. Guix does allow > > 1. for multiple versions of the same package to coexist > > 2. and for multiple versions of the same package to share most of the > > packaging code via inheritance. > > However, the possibility 1. is only exercised for some strategic > > packages like gcc. For casual packages, when upstream releases a new > > version, some kind Guix contributor sends a patch that changes the > > definition in the .scm file to now describe the new version. The old > > version need not be explicitly deleted =E2=80=94 its place is taken by = the new > > version :) =20 >=20 > It is a little bit different for Rust packages, as described in the docum= entation: > "In the rust ecosystem it is common for multiple incompatible versions of= a package to be used at any given time, so all package definitions should = have a versioned suffix. The versioned suffix is the left-most non-zero dig= it" > If I understand this correctly, one should keep all packages from 0.1 to = 0.46 (for example, if the versions are numbered like this). But from 1.1 to= 1.46 you only keep the last one. --Sig_/YMe31..vzhr+Z2ii/n61Gl9 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCZLLGaQAKCRBLxSIcWnn9 Gok3AQDDICQoXmgrQS2M/PEHg9IpxfVLTbtP7DAuQxhKNLzfLAEAvF4a8ak/lO3F wJZVIE0sEmp0nRLKUf98qukkhDxS+Ag= =gt9P -----END PGP SIGNATURE----- --Sig_/YMe31..vzhr+Z2ii/n61Gl9--