--- Begin Message ---
Subject: |
Recursive crate importer ignores specified version |
Date: |
Sun, 22 Dec 2019 21:56:03 +0300 |
When I'm trying to recursively import specific crate version, it
imports the latest version instead:
guix import crate --recursive notify@4.0.14 gives this output:
following redirection to
`https://static.crates.io/crates/notify/notify-5.0.0-pre.1.crate'...
following redirection to
`https://static.crates.io/crates/anymap/anymap-0.12.1.crate'...
following redirection to
`https://static.crates.io/crates/bitflags/bitflags-1.2.1.crate'...
And so on, so it follows notify-5.0.0 instead of 4.0.14
Regards,
Valentin Ignatev
crate_importer.png
Description: PNG image
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#38709: Recursive crate importer ignores specified version |
Date: |
Mon, 30 Dec 2019 23:20:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi Valentin,
Valentin Ignatev <address@hidden> skribis:
> When I'm trying to recursively import specific crate version, it
> imports the latest version instead:
>
> guix import crate --recursive notify@4.0.14 gives this output:
> following redirection to
> `https://static.crates.io/crates/notify/notify-5.0.0-pre.1.crate'...
> following redirection to
> `https://static.crates.io/crates/anymap/anymap-0.12.1.crate'...
> following redirection to
> `https://static.crates.io/crates/bitflags/bitflags-1.2.1.crate'...
>
> And so on, so it follows notify-5.0.0 instead of 4.0.14
Commit c7ca707b59304a978cab8c5c25401259c6c18214 should fix this.
Martin Becze <address@hidden> skribis:
> Currently the recusive importer doesn't respect version numbers.
> Progress is being made on this in issue 38408
> https://issues.guix.gnu.org/issue/38408
Yes, that will come in handy, though I think
c7ca707b59304a978cab8c5c25401259c6c18214 does provides the immediate fix
for the issue at hand.
Thanks,
Ludo’.
--- End Message ---