Hi, On Wed, 19 Jan 2022 at 11:36, Ludovic Courtès <l...@gnu.org> wrote:
> > Hum, the issue is the ingestion by SWH, no? The file 'sources.json' > > only contains the last sources of the last revision. And even, the > > file 'sources.json' only contains the upstream URL, not the substitute > > ones. > > Oh right, so we’ll need to feed them historical ‘sources.json’ files > eventually, I think Timothy was planning to do that eventually. >From my side, what I would like to achieve soon: 1- compute sources.json by CI, which means turn the current code as derivation; 2- add the Guix fixed-output substitutes in the list of upstream. But how to do #1 is not clear for me. And I have never tried this #2. Then what is also missing is: 3- have a collection of sources.json per Guix revision -- at least some determined by us; 4- make the SWH nixguix loader points to this collection. Currently, the file 'sources.json' contains the field 'revision' which is the Guix revision (commit). What is not clear is if the collection is by appending or via different files. It is a pending discussion with SWH folks, IIRC. Cheers, simon