GNU bug report logs -
#42019
[PATCH 0/1] sources.json compliant with SWH loader
Previous Next
Reported by: zimoun <zimon.toutoune <at> gmail.com>
Date: Tue, 23 Jun 2020 15:14:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 42019 <at> debbugs.gnu.org (full text, mbox):
Hi!
zimoun <zimon.toutoune <at> gmail.com> skribis:
> * website/apps/packages/builder.scm (origin->json): Add integrity field using
> SRI format.
[...]
> - `(("url" . ,(list->vector
> + `(("urls" . ,(list->vector
> (resolve
> (match uri
> ((? string? url) (list url))
Is this change OK for Repology? Or should we keep “url” in addition to
“urls”?
> (make-page "sources.json"
> `(("sources" . ,(list->vector (map package->json (all-packages))))
> - ("version" . "1"))
> + ("version" . "1")
> + ("revision" . ,%guix-version))
There’s no guarantee that ‘%guix-version’ is a commit ID, so perhaps we
should do something like:
(match (current-profile)
(#f %guix-version) ;for lack of a better ID
(profile
(let ((channel (find guix-channel? (profile-channels profile))))
(channel-commit channel))))
Otherwise LGTM, thank you!
Ludo’.
This bug report was last modified 4 years and 319 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.