Page MenuHomeSoftware Heritage

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

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

Details

Summary

by moving import statements in functions.

Related to T2575.

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 D3915 (id=13774)

Rebasing onto 079b7ecf2b...

Current branch diff-target is up to date.
Changes applied before test
commit 4ac177f39a628ae333759c8aff45677841fd86a7
Author: David Douard <david.douard@sdfa3.org>
Date:   Thu Sep 10 11:11:14 2020 +0200

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

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

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