unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38709: Recursive crate importer ignores specified version
@ 2019-12-22 18:56 Valentin Ignatev
  2019-12-26  3:19 ` Martin Becze
  2019-12-30 22:20 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Valentin Ignatev @ 2019-12-22 18:56 UTC (permalink / raw)
  To: 38709

[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

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

[-- Attachment #2: crate_importer.png --]
[-- Type: image/png, Size: 33459 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38709: Recursive crate importer ignores specified version
  2019-12-22 18:56 bug#38709: Recursive crate importer ignores specified version Valentin Ignatev
@ 2019-12-26  3:19 ` Martin Becze
  2019-12-26  5:25   ` Valentin Ignatev
  2019-12-30 22:20 ` Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Martin Becze @ 2019-12-26  3:19 UTC (permalink / raw)
  To: Valentin Ignatev; +Cc: bug-Guix, 38709

On 2019-12-22 18:56, Valentin Ignatev wrote:
> 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

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

-Martin Becze

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38709: Recursive crate importer ignores specified version
  2019-12-26  3:19 ` Martin Becze
@ 2019-12-26  5:25   ` Valentin Ignatev
  0 siblings, 0 replies; 4+ messages in thread
From: Valentin Ignatev @ 2019-12-26  5:25 UTC (permalink / raw)
  To: Martin Becze; +Cc: bug-Guix, 38709

Hey Martin, thanks! I'll follow that one then!

I guess this bug can be closed since there's already quite a
discussion in #38408

Valentin

On 12/26/19, Martin Becze <mjbecze@riseup.net> wrote:
> On 2019-12-22 18:56, Valentin Ignatev wrote:
>> 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
>
> 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
>
> -Martin Becze
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38709: Recursive crate importer ignores specified version
  2019-12-22 18:56 bug#38709: Recursive crate importer ignores specified version Valentin Ignatev
  2019-12-26  3:19 ` Martin Becze
@ 2019-12-30 22:20 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2019-12-30 22:20 UTC (permalink / raw)
  To: Valentin Ignatev; +Cc: 38709-done

Hi Valentin,

Valentin Ignatev <valentignatev@gmail.com> 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 <mjbecze@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’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-30 22:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-22 18:56 bug#38709: Recursive crate importer ignores specified version Valentin Ignatev
2019-12-26  3:19 ` Martin Becze
2019-12-26  5:25   ` Valentin Ignatev
2019-12-30 22:20 ` Ludovic Courtès

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