[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guix Data Services: whishlist about SWH
From: |
Ludovic Courtès |
Subject: |
Re: Guix Data Services: whishlist about SWH |
Date: |
Mon, 24 Feb 2020 18:10:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
Christopher Baines <address@hidden> skribis:
> zimoun <address@hidden> writes:
[...]
>> Using the Software Heritage (SWH) API [3], does it seems a good idea
>> to add SWH coverage somewhere in the Guix Data Services?
That’s a great idea! Maybe it’s not a good idea to store that info in
the database of the Data Service though. (Web browsers could query the
SWH API by themselves actually, though it’d be nice to have a JS-free
variant.)
> I think the first step towards this would be to experiment with fetching
> data from the Software Heritage API. Do you know how you'd fetch data
> about the output from a fixed output derivation (like harfbuzz)?
The ‘archival’ linter does that. See also the examples at:
https://guix.gnu.org/blog/2019/connecting-reproducible-deployment-to-a-long-term-source-code-archive/
Ludo’.