unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64015: guix refresh fails to find latest version for libuv
@ 2023-06-12 13:34 Maxim Cournoyer
  2023-06-15 12:48 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2023-06-12 13:34 UTC (permalink / raw)
  To: 64015

Hello,

Attempting to use 'guix refresh libuv' says:

--8<---------------cut here---------------start------------->8---
$ LANG=C guix refresh libuv
gnu/packages/libevent.scm:117:13: 1.44.2 is already the latest version of libuv
--8<---------------cut here---------------end--------------->8---

The release form is here: https://dist.libuv.org/dist/v1.45.0/; there's
also a release tag in git: https://github.com/libuv/libuv/tree/v1.45.0.

-- 
Thanks,
Maxim




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

* bug#64015: guix refresh fails to find latest version for libuv
  2023-06-12 13:34 bug#64015: guix refresh fails to find latest version for libuv Maxim Cournoyer
@ 2023-06-15 12:48 ` Ludovic Courtès
  2023-06-17  0:39   ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2023-06-15 12:48 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 64015

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> Attempting to use 'guix refresh libuv' says:
>
> $ LANG=C guix refresh libuv
> gnu/packages/libevent.scm:117:13: 1.44.2 is already the latest version of libuv
>
> The release form is here: https://dist.libuv.org/dist/v1.45.0/; there's
> also a release tag in git: https://github.com/libuv/libuv/tree/v1.45.0.

Because the package currently gets its source from dist.libuv.org, the
‘generic-html’ updater is picked; it browses
<https://dist.libuv.org/dist/v1.44.2> and concludes that there’s no
newer release.  (Currently it doesn’t recurse so there’s no way it could
find the new release.)

We could fetch the code with ‘git-fetch’, in which case the ‘github’ or
‘generic-git’ updater would fire.

HTH,
Ludo’.




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

* bug#64015: guix refresh fails to find latest version for libuv
  2023-06-15 12:48 ` Ludovic Courtès
@ 2023-06-17  0:39   ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2023-06-17  0:39 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 64015

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> Attempting to use 'guix refresh libuv' says:
>>
>> $ LANG=C guix refresh libuv
>> gnu/packages/libevent.scm:117:13: 1.44.2 is already the latest version of libuv
>>
>> The release form is here: https://dist.libuv.org/dist/v1.45.0/; there's
>> also a release tag in git: https://github.com/libuv/libuv/tree/v1.45.0.
>
> Because the package currently gets its source from dist.libuv.org, the
> ‘generic-html’ updater is picked; it browses
> <https://dist.libuv.org/dist/v1.44.2> and concludes that there’s no
> newer release.  (Currently it doesn’t recurse so there’s no way it could
> find the new release.)

It'd have value to try to recurse the URL when the version string (full,
major-minor, or minor) appears in the URL, but it seems it'd be fragile
(we can't test all possibilities, and upstream may have jumped version
numbers)...

> We could fetch the code with ‘git-fetch’, in which case the ‘github’ or
> ‘generic-git’ updater would fire.

That seems more actionable, good idea!

-- 
Thanks,
Maxim




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

end of thread, other threads:[~2023-06-17  0:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-12 13:34 bug#64015: guix refresh fails to find latest version for libuv Maxim Cournoyer
2023-06-15 12:48 ` Ludovic Courtès
2023-06-17  0:39   ` Maxim Cournoyer

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