Page MenuHomeSoftware Heritage

package.loader: Deduplicate target SWHIDs
ClosedPublic

Authored by ardumont on Dec 3 2021, 11:48 AM.

Details

Summary

So package loaders can actually finish their ingestion even when multiple releases
target the same directory.

Related to T3763

Test Plan

tox (should still be happy)

Diff Detail

Repository
rDLDBASE Generic VCS/Package Loader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D6739 (id=24476)

Rebasing onto 3e675d0d70...

Current branch diff-target is up to date.
Changes applied before test
commit b3d7632d68f69702f7b4172a5ed6900d48a4aa5d
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Dec 3 11:45:03 2021 +0100

    package.loader: Deduplicate target SWHIDs
    
    So package loaders can actually finish their ingestion even when multiple releases
    target the same directory.
    
    Related to T3763

See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/639/ for more details.

This revision is now accepted and ready to land.Dec 3 2021, 12:00 PM