[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#39547] [PATCH] website: Provide JSON sources list used by Software
From: |
Ludovic Courtès |
Subject: |
[bug#39547] [PATCH] website: Provide JSON sources list used by Software Heritage. |
Date: |
Fri, 14 Feb 2020 11:20:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
zimoun <address@hidden> skribis:
>> Could you, in a first patch, move ‘origin->json’ out of
>> ‘packages-json-builder’, and in a second patch, add mirror-expansion
>> feature?
>
> Yes, I will try but I am a bit lost. There is:
> - packages-json-builder that I did not modified
> - sources-json-builder which the "adaptation" of the former to output
> to the sources.json format.
>
> Well, do you want a refactor of 'origin->json' shared by the 2
> "{sources,packages}-json-builder"?
Yes, exactly. No reason to have two copies of that code.
> Working on updating the package Julia, I have seen that some patches
> are 'origin' and live for example upstream
> (https://blablab/project.git/patches/fancy-name.patch) and the current
> patch will not list them. Therefore, if upstream disappears and/or
> change in-place the patches, Guix would not be able to re-build in the
> future (time-machine).
Right. I guess you can implement that in the next version. What you
propose is already nice to have.
Ludo’.
[bug#39547] [PATCH v2 1/2] website: Refactor and resolve mirror:// of JSON package list., zimoun, 2020/02/18