all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#47217: generic-html updater does not work with sqlite package
@ 2021-03-17 18:27 Léo Le Bouter via Bug reports for GNU Guix
  2021-03-18 14:02 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Léo Le Bouter via Bug reports for GNU Guix @ 2021-03-17 18:27 UTC (permalink / raw)
  To: 47217

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

I applied such patch:

diff --git a/gnu/packages/sqlite.scm b/gnu/packages/sqlite.scm
index eeb77749d8..35cf0168e0 100644
--- a/gnu/packages/sqlite.scm
+++ b/gnu/packages/sqlite.scm
@@ -65,6 +65,8 @@
             (sha256
              (base32
               "1bj936svd8i5g25xd1bj52hj4zca01fgl3sqkj86z9q5pkz4wa32"))
))
+   (properties
+    `((release-monitoring-url . "https://sqlite.org/download.html")))
    (build-system gnu-build-system)
    (inputs `(("readline" ,readline)))
    (native-inputs (if (hurd-target?)

It seems generic-html cannot find new sqlite releases:

$ ./pre-inst-env guix refresh sqlite
gnu/packages/sqlite.scm:49:2: warning: 'generic-html' updater failed to
determine available releases for sqlite

Any suggestions?

Thanks!

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#47217: generic-html updater does not work with sqlite package
  2021-03-17 18:27 bug#47217: generic-html updater does not work with sqlite package Léo Le Bouter via Bug reports for GNU Guix
@ 2021-03-18 14:02 ` Ludovic Courtès
  2024-01-22  4:25   ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2021-03-18 14:02 UTC (permalink / raw)
  To: Léo Le Bouter; +Cc: 47217

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

> +   (properties
> +    `((release-monitoring-url . "https://sqlite.org/download.html")))

Unfortunately this page uses JavaScript.  Without JS, you get:

  <a id='a2' href='hp1.html'>sqlite-autoconf-3350200.tar.gz</a><br>(2.82 MiB)</td>

We’d need to find a web page that directly links to the tarball, but I
can’t seem to find such a page.

Ludo’.




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

* bug#47217: generic-html updater does not work with sqlite package
  2021-03-18 14:02 ` Ludovic Courtès
@ 2024-01-22  4:25   ` Maxim Cournoyer
  2024-01-24 17:33     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Maxim Cournoyer @ 2024-01-22  4:25 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 47217, Léo Le Bouter

Hi,

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

> Léo Le Bouter <lle-bout@zaclys.net> skribis:
>
>> +   (properties
>> +    `((release-monitoring-url . "https://sqlite.org/download.html")))
>
> Unfortunately this page uses JavaScript.  Without JS, you get:
>
>   <a id='a2' href='hp1.html'>sqlite-autoconf-3350200.tar.gz</a><br>(2.82 MiB)</td>
>
> We’d need to find a web page that directly links to the tarball, but I
> can’t seem to find such a page.

Since the SQLite website doesn't seem amenable to discover new releases,
perhaps we could switch the source to Git and let our git updater do its
magic?

-- 
Thanks,
Maxim




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

* bug#47217: generic-html updater does not work with sqlite package
  2024-01-22  4:25   ` Maxim Cournoyer
@ 2024-01-24 17:33     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2024-01-24 17:33 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 47217

Hi!

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

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Léo Le Bouter <lle-bout@zaclys.net> skribis:
>>
>>> +   (properties
>>> +    `((release-monitoring-url . "https://sqlite.org/download.html")))
>>
>> Unfortunately this page uses JavaScript.  Without JS, you get:
>>
>>   <a id='a2' href='hp1.html'>sqlite-autoconf-3350200.tar.gz</a><br>(2.82 MiB)</td>
>>
>> We’d need to find a web page that directly links to the tarball, but I
>> can’t seem to find such a page.
>
> Since the SQLite website doesn't seem amenable to discover new releases,
> perhaps we could switch the source to Git and let our git updater do its
> magic?

Switching the source to Git is probably a good idea but it has
additional implications: it adds more dependencies, and there’s a risk
of a cycle with ‘git-fetch’ for those using a daemon with
builtin:git-download, although a quick check suggests we’re fine:

--8<---------------cut here---------------start------------->8---
$ guix graph --path git-minimal sqlite
guix graph: error: no path from 'git-minimal@2.41.0' to 'sqlite@3.42.0'
--8<---------------cut here---------------end--------------->8---

Ludo’.




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

end of thread, other threads:[~2024-01-24 17:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-17 18:27 bug#47217: generic-html updater does not work with sqlite package Léo Le Bouter via Bug reports for GNU Guix
2021-03-18 14:02 ` Ludovic Courtès
2024-01-22  4:25   ` Maxim Cournoyer
2024-01-24 17:33     ` 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.