guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] WIP patches for the rust importer


From: Efraim Flashner
Subject: Re: [PATCH] WIP patches for the rust importer
Date: Sun, 1 Dec 2019 10:54:56 +0200
User-agent: Mutt/1.12.2 (2019-09-21)

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.
> 
> 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.

-- 
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]