--- Begin Message ---
Subject: |
(guix-artwork)[PATCH 0/2] List linux origins in 'sources.json'. |
Date: |
Sat, 11 Sep 2021 02:14:24 +0200 |
Hi,
This patch is a follow-up of this message:
<https://lists.gnu.org/archive/html/guix-devel/2021-09/msg00106.html>
Now, 'sources.json' file contains the missing origins; for instance:
--8<---------------cut here---------------start------------->8---
$ cat /tmp/gnu.org/software/guix/sources.json | jq | grep fsfla | sort | uniq -c
4
"https://linux-libre.fsfla.org/pub/linux-libre/releases/4.14.238-gnu/deblob-4.14"
4
"https://linux-libre.fsfla.org/pub/linux-libre/releases/4.14.238-gnu/deblob-check"
4
"https://linux-libre.fsfla.org/pub/linux-libre/releases/4.19.196-gnu/deblob-4.19"
4
"https://linux-libre.fsfla.org/pub/linux-libre/releases/4.19.196-gnu/deblob-check"
2
"https://linux-libre.fsfla.org/pub/linux-libre/releases/4.4.274-gnu/deblob-4.4"
2
"https://linux-libre.fsfla.org/pub/linux-libre/releases/4.4.274-gnu/deblob-check"
2
"https://linux-libre.fsfla.org/pub/linux-libre/releases/4.9.274-gnu/deblob-4.9"
2
"https://linux-libre.fsfla.org/pub/linux-libre/releases/4.9.274-gnu/deblob-check"
4
"https://linux-libre.fsfla.org/pub/linux-libre/releases/5.10.47-gnu/deblob-5.10"
4
"https://linux-libre.fsfla.org/pub/linux-libre/releases/5.10.47-gnu/deblob-check"
14
"https://linux-libre.fsfla.org/pub/linux-libre/releases/5.12.14-gnu/deblob-5.12"
14
"https://linux-libre.fsfla.org/pub/linux-libre/releases/5.12.14-gnu/deblob-check"
4
"https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.129-gnu/deblob-5.4"
4
"https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.129-gnu/deblob-check"
2
"https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz",
--8<---------------cut here---------------end--------------->8---
First, it should be investigated why the deblob script
'5.12.14-gnu/deblob-5.12' appears 14 times. In the same idea, the
source of 5.12.14 appears 28 times. Well, I have tried to add
’delete-duplicates’ but without success. To be continued… :-)
Second, I do not know if SWH ingests scripts as:
<https://linux-libre.fsfla.org/pub/linux-libre/releases/5.12.14-gnu/deblob-check>
and it is worth to carefully check with them. :-)
Last, the first patch tweaks the check to ease from the command-line the
build of the full website and not only 300 packages (otherwise it is
easy to miss corner cases ;-)). Other said, turn
’GUIX_WEB_SITE_LOCAL=yes’ to ’GUIX_WEB_SITE_LOCAL=whatever-value’ (where
whatever-value can be ’no’ for instance) allows to build the full
website. It appears to me simpler than the previous check. WDYT?
All the best,
simon
zimoun (2):
website: Tweak 'GUIX_WEB_SITE_LOCAL'.
website: Add 'computed-origin-method' packages to 'sources.json'.
website/README | 3 +
website/apps/packages/builder.scm | 134 +++++++++++++++++++-----------
website/apps/packages/data.scm | 3 +-
3 files changed, 89 insertions(+), 51 deletions(-)
base-commit: d8efebc0794e8d6b2debc0e8a233a4b4b3b6f676
--
2.29.2
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#50515: (guix-artwork)[PATCH 0/2] List linux origins in 'sources.json'. |
Date: |
Thu, 21 Oct 2021 22:58:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
zimoun <zimon.toutoune@gmail.com> skribis:
> * website/apps/packages/data.scm (%package-list): Compare to 'yes' instead of
> any value.
> * website/README: Document it.
[...]
> Using Guix 9875f9bca3976bf3576eab9be42164fde454597e, the packages considered
> by 'computed-origin-method' are IceCat and the Linux kernel; see:
> gnu/packages/gnuzilla.scm and gnu/packages/linux.scm.
>
> * website/apps/packages/builder.scm (gexp-references): Unexported procedure
> from the module '(guix gexp)'.
> (origin->json): Add 'computed-origin-method' case.
> (package-json-builder): Adjust.
> (sources-json-builder): Idem.
Finally pushed, thanks!
Ludo’.
--- End Message ---