From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 40895@debbugs.gnu.org
Subject: bug#40895: import crate: Relaxed version selection
Date: Mon, 27 Apr 2020 09:31:34 +0200 [thread overview]
Message-ID: <1660dd38-8279-4fb3-4521-ee58dd131f31@crazy-compilers.com> (raw)
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 | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
next reply other threads:[~2020-04-27 7:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-27 7:31 Hartmut Goebel [this message]
2020-12-17 15:26 ` bug#40895: Should be solved by new importer Hartmut Goebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1660dd38-8279-4fb3-4521-ee58dd131f31@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=40895@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).