On Thu, 16 Mar 2023 12:48:19 +0100 Ludovic Courtès <ludovic.cour...@inria.fr> wrote:
> Hi Björn, > > Björn Höfling <bjoern.hoefl...@bjoernhoefling.de> skribis: > > > I will check the same for JDK10 and will prepare a patch within the > > next two days. > > Thanks for 7636c49b45adb9870cf416c64bde032ec858a820 and its parent > commit! > > For the record, there are two remaining issues: > > 1. Reproducibility of past revisions. If we lose copies of the > auto-generated tarballs, then OpenJDK in past revisions of Guix > is irreparably lost. We should check whether/how to get them in > Disarchive + SWH. How do we do that? Adding git repos to SWH is something I can achieve, but adding tarballs to SWH was always opaque to me. I find no reference in the manual about Disarchive. Ideally, is there a linter for just adding a package to the disarchive database? > 2. Mercurial/SWH bridge. While SWH has a one-to-one mapping with > Git (you can ask it for a specific Git commit ID), that’s not true for > hg. This is a more general problem, but as things are today, > there’s no automatic SWH fallback if the upstream hg server > vanishes. For git, I know and appreciate that the linter can directly add a missing repo to SWH. During linting, I recogniced this is missing for hg. I was thinking a second time about it and found that not only the newer development of OpenJDK is on GitHub, but also the older versions are available. So I could add another patch like this: + (method git-fetch) + (uri (git-reference + (url "https://github.com/openjdk/jdk9") WDYT? Björn
pgpnOVg2qc5ks.pgp
Description: OpenPGP digital signature