Page MenuHomeSoftware Heritage

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

Authored by douardda on Thu, Sep 10, 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

douardda created this revision.Thu, Sep 10, 4:19 PM

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.

vlorentz accepted this revision.Thu, Sep 10, 4:43 PM
This revision is now accepted and ready to land.Thu, Sep 10, 4:43 PM
This revision was automatically updated to reflect the committed changes.