2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/maintenance.git synced 2023-12-14 03:33:04 +01:00
Commit graph

3 commits

Author SHA1 Message Date
Ludovic Courtès
b7af47ceb6
build-package-metadata: Include content-addressed URLs for tarballs.
Suggested by Simon Tournier <zimon.toutoune@gmail.com> in
<https://lists.gnu.org/archive/html/guix-devel/2023-04/msg00029.html>.

* hydra/build-package-metadata.scm (%content-addressed-mirrors): New variable.
(origin->json)[resolve]: Add 'hash' parameter; when true, add a list of
content-addressed URLs.
Update caller.
2023-04-25 14:50:58 +02:00
Ludovic Courtès
d181954dc6
hydra: build-package-metadata: Make files world-readable.
* hydra/build-package-metadata.scm (write-json): Add 'chmod' call.
2023-01-04 22:55:32 +01:00
Ludovic Courtès
318db3eedf
hydra: Add 'build-package-metadata.scm' script.
This program produces the 'packages.json' and 'sources.json' files that
are published at https://guix.gnu.org.

So far those files were built as part of the web site's build process,
via Haunt.  This script is adapted from the (apps packages builder)
module of the web site.

* hydra/build-package-metadata.scm: New file.
2023-01-04 22:06:04 +01:00