bug-guix
[Top][All Lists]
Advanced

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

bug#40895: import crate: Relaxed version selection


From: Hartmut Goebel
Subject: bug#40895: import crate: Relaxed version selection
Date: Mon, 27 Apr 2020 09:31:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

If (manually) importing dependencies for some package requiring "other
^0.2", I would like the importer to fetch the newest version of
other-0.2.x automatically.

As it is now, I need to specify the exact version number, e.g. "guix
import crate other@0.2.4" - and the get the version number I need to go
to crates.io, search the package and search the list of available
versions. The importer can do this much more efficient.

This could be implemented like this:

- If the version giben ("@0.2.4") matches an version available, use this
version.

- Otherwise, if the version giben ("@0.2") is a prefix of some available
version, use the highest/newest of these versions

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| www.crazy-compilers.com | compilers which you thought are impossible |






reply via email to

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