Page MenuHomeSoftware Heritage

cli: speedup the `swh` cli command startup time
ClosedPublic

Authored by douardda on Sep 10 2020, 4:19 PM.

Details

Summary

move most import statements in functions.

Related to T2575.

Diff Detail

Repository
rDMOD Data model
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 D3916 (id=13775)

Rebasing onto 12fe1f78fc...

Current branch diff-target is up to date.
Changes applied before test
commit 7404486d0c09da45127c84b7e51eec22aaaac172
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Sep 9 17:41:47 2020 +0200

    cli: speedup the `swh` cli command startup time
    
    move most import statements in functions.
    
    Related to T2575.

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

This revision is now accepted and ready to land.Sep 10 2020, 4:43 PM