It enables to avoid downloading and processing a release archive for
a CPAN module if it has already been archived by Software Heritage.
Related to T2833
Differential D8801
cpan: Add extid manifest to CpanPackageInfo anlambert on Nov 2 2022, 4:36 PM. Authored by Tags None Subscribers None
Details
It enables to avoid downloading and processing a release archive for Related to T2833
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D8801 (id=31717)Rebasing onto e6847f3616... Current branch diff-target is up to date. Changes applied before testcommit 458d67e37e6d0b77c83f4c504bad19816741e377 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Wed Nov 2 16:29:04 2022 +0100 cpan: Implement CpanPackageInfo.extid As each release artifact info for a CPAN module provided as loader argument is guaranteed to contain the sha256 checksum of the associated archive to download (as the CPAN lister discards artifacts with no checksum info), we can use that checksum as extid. It enables to avoid downloading and processing a release archive if it has already been archived by Software Heritage. Related to T2833 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/1012/ for more details. Comment Actions Update: Prefer to use an extid manifest instead of simply using sha256 checksum as it seems more robust. Comment Actions Build is green Patch application report for D8801 (id=31720)Rebasing onto e6847f3616... Current branch diff-target is up to date. Changes applied before testcommit 981a8d58cc06d3005ecf29715280616f86d61a41 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Wed Nov 2 16:29:04 2022 +0100 cpan: Add extid manifest to CpanPackageInfo It enables to avoid downloading and processing a release archive for a CPAN module if it has already been archived by Software Heritage. Related to T2833 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/1013/ for more details. Comment Actions Build is green Patch application report for D8801 (id=31728)Rebasing onto 8e34a6d779... Current branch diff-target is up to date. Changes applied before testcommit bf2cb039d5d7ad2877d01a32f2c354b375e9aead Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Wed Nov 2 16:29:04 2022 +0100 cpan: Add extid manifest to CpanPackageInfo It enables to avoid downloading and processing a release archive for a CPAN module if it has already been archived by Software Heritage. Related to T2833 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/1016/ for more details. |