bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47226: fennel package not working with generic-html refresh updater


From: Ludovic Courtès
Subject: bug#47226: fennel package not working with generic-html refresh updater
Date: Thu, 18 Mar 2021 14:51:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Léo Le Bouter <lle-bout@zaclys.net> skribis:

> After applying:
>
> diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
> index edb3f85109..36fd1eb066 100644
> --- a/gnu/packages/lua.scm
> +++ b/gnu/packages/lua.scm
> @@ -1175,6 +1175,8 @@ enabled.")
>                (snippet
>                 '(begin
>                    (delete-file "fennelview.lua") #t))))
> +    (properties
> +     '((release-monitoring-url . "https://fennel-lang.org/downloads/";)
> ))
>      (build-system gnu-build-system)
>      (arguments
>       '(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs
> "out")))
>
> $ ./pre-inst-env guix refresh fennel
> gnu/packages/lua.scm:1162:2: warning: no updater for fennel
>
> It should otherwise clearly work since 
> https://fennel-lang.org/downloads/ is a classic directory listing like
> the generic-html updater should support.

‘generic-html’ is for packages that use ‘url-fetch’ and a tarball
fetched over HTTP(S).  It does not apply to Fennel.

Here we should use the relevant sr.ht HTTP API, similar to what (guix
import github) does, or possibly a generic ‘git-tag’ updater as you
proposed.

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]