Page MenuHomeSoftware Heritage

Crates loader, use **kwargs on task and loader initialisation instead of named args
ClosedPublic

Authored by franckbret on Jun 29 2022, 2:58 PM.

Details

Summary

This fix an issue discovered while testing loader on docker environment,
error was (load_crates() got an unexpected keyword argument 'lister_name')

Related T4104

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 D8049 (id=29039)

Rebasing onto d627c2598a...

Current branch diff-target is up to date.
Changes applied before test
commit 50bde53da53b7fce9616da3f208831948700ce8e
Author: Franck Bret <franck.bret@octobus.net>
Date:   Wed Jun 29 14:49:27 2022 +0200

    Crates loader, use **kwargs on task and loader initialisation instead of
    named args
    
    This fix an issue discovered while testing loader on docker environment,
    error was (load_crates() got an unexpected keyword argument 'lister_name')
    
    Related T4104

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

This revision is now accepted and ready to land.Jun 29 2022, 3:20 PM