GNU bug report logs - #38709
Recursive crate importer ignores specified version

Previous Next

Package: guix;

Reported by: Valentin Ignatev <valentignatev <at> gmail.com>

Date: Sun, 22 Dec 2019 18:57:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#38709: closed (Recursive crate importer ignores specified
 version)
Date: Mon, 30 Dec 2019 22:21:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 30 Dec 2019 23:20:22 +0100
with message-id <87d0c5zc9l.fsf <at> gnu.org>
and subject line Re: bug#38709: Recursive crate importer ignores specified version
has caused the debbugs.gnu.org bug report #38709,
regarding Recursive crate importer ignores specified version
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
38709: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38709
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Valentin Ignatev <valentignatev <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Recursive crate importer ignores specified version
Date: Sun, 22 Dec 2019 21:56:03 +0300
[Message part 3 (text/plain, inline)]
When I'm trying to recursively import specific crate version, it
imports the latest version instead:

guix import crate --recursive notify <at> 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 (image/png, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Valentin Ignatev <valentignatev <at> gmail.com>
Cc: 38709-done <at> debbugs.gnu.org
Subject: Re: bug#38709: Recursive crate importer ignores specified version
Date: Mon, 30 Dec 2019 23:20:22 +0100
Hi Valentin,

Valentin Ignatev <valentignatev <at> gmail.com> skribis:

> When I'm trying to recursively import specific crate version, it
> imports the latest version instead:
>
> guix import crate --recursive notify <at> 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 <mjbecze <at> riseup.net> 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’.


This bug report was last modified 5 years and 145 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.