From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH] WIP patches for the rust importer Date: Sun, 1 Dec 2019 10:54:56 +0200 Message-ID: <20191201085456.GA14869@E5400> References: <20191126120408.GL1124@E5400> <1E01C051-2EE5-4050-B826-C60E858AAC2B@flashner.co.il> <0b2db52d687fc2acf34dc1e00618dae7.squirrel@sm.riseup.net> <20191128122255.GT1124@E5400> <63e57522f8f75278119ba4b3d8d3e27c@riseup.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51758) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibL1M-0008Iv-P5 for guix-devel@gnu.org; Sun, 01 Dec 2019 03:56:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibL1L-0002mA-Nm for guix-devel@gnu.org; Sun, 01 Dec 2019 03:56:00 -0500 Received: from flashner.co.il ([178.62.234.194]:53900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ibL1L-000281-HO for guix-devel@gnu.org; Sun, 01 Dec 2019 03:55:59 -0500 Content-Disposition: inline In-Reply-To: <63e57522f8f75278119ba4b3d8d3e27c@riseup.net> 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Martin Becze Cc: guix-devel@gnu.org --zhXaljGHf11kAtnf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 29, 2019 at 04:59:31AM -0800, Martin Becze wrote: > On 2019-11-28 12:22, Efraim Flashner wrote: > > I'll take a look at it in a minute. I figured with the versioned > > requirements we would always want to be specific in version numbers for > > crate dependents so I figured it made sense. Also, if we did want to > > provide an unversioned '-latest' version we could declare an extra > > variable '(define-public rust-libc rust-libc-0.2)' and now rust-libc > > points to rust-libc-0.2. >=20 > one thing to keep in mind is that (recursive-import-semver) is suppose > to be generic so what ever naming logic we apply here for rust libs > should be universal. As far as other languages go, I'm pretty sure python only requests major+minor version. Perl's minimum versions are normally a full version string, so truncating that probably wouldn't be a good choice. Another option would be to truncate to just major+minor (in the inputs) only when it comes time to print out the package. Also, we don't want Guix to think 1.2.3 can only be upgraded to 1.2.3.4 and not to 1.2.4. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl3jf90ACgkQQarn3Mo9 g1Fo3w//RITcoSLuHiHsCeV82/yeMdKgGQHBXRwzpo38cCMrCEz8TmyEhB/2hUmt cY62iYdZJIuGA69ZaZ7nOJR8z5OA+tgZlxi8aX6C6RaiNNr64m7dSgO3PC2f6ZNG d0bXda0HQnDFu2ak3ZOcPBiEjpIjxusUNM5fYbNfDxKwazyNW4MJI046Hcw+qKwd R6J4oV8EP4FJY0H+3V7aAXMPMiQzuNAO17sroPn0CbzOWbAFIDAGx7E5+Ih5zpdZ 3yg53vtaWTMPMdXKcXQoTGmDKE0YzdCXbW7I1iJGXVDqac687VOyD3lAeuYROPLQ NzweLFi2vVPqR4WrSiQRjP1YYnBDTaaYrIXZX8A4h9pxeUYrdGFxLZx41KdKwcSZ OpKBm7+bH0/HmrHHC8mkbqg87OBT1cMYQ5UX7s8VcF0g52bniESh+AitDo/dk9So sE9/encJ6miNIfRpBfwCHhSq1/t+8kVw1HjwuLFlWdp70TrlRcMt3yeHIl/YE5Hr Kq85ZQBMzHLgi9alcdpl5YqjnF771OsinijYElolFT/TW09GBuoi/3HWsVhd7nEU eF26dcRkE4AzzE4MxdaRQEL3T2fSQ2gYa4JdoNI5t5nvrAPcrtsRyMWCcGfm3Rzz CE2xcnyA3RDfQvKn8cyAEV5KetbUAASNt8axSoTuYNVL1OG0yVk= =sagV -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--