* bug#47226: fennel package not working with generic-html refresh updater
@ 2021-03-18 9:05 Léo Le Bouter via Bug reports for GNU Guix
2021-03-18 13:51 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Léo Le Bouter via Bug reports for GNU Guix @ 2021-03-18 9:05 UTC (permalink / raw)
To: 47226
[-- Attachment #1: Type: text/plain, Size: 890 bytes --]
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.
I think it may be because this package uses a git-reference rather than
url-fetch.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#47226: fennel package not working with generic-html refresh updater
2021-03-18 9:05 bug#47226: fennel package not working with generic-html refresh updater Léo Le Bouter via Bug reports for GNU Guix
@ 2021-03-18 13:51 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-03-18 13:51 UTC (permalink / raw)
To: Léo Le Bouter; +Cc: 47226
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’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-18 13:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18 9:05 bug#47226: fennel package not working with generic-html refresh updater Léo Le Bouter via Bug reports for GNU Guix
2021-03-18 13:51 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.