Page MenuHomeSoftware Heritage

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

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

Details

Summary

by moving import statements in functions.

Related to T2575.

Diff Detail

Repository
rDTSCN Code scanner
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 D3919 (id=13778)

Rebasing onto d4f9b2d6d6...

Current branch diff-target is up to date.
Changes applied before test
commit 9ce6ddc0549045533578aa89bab62af8738832d3
Author: David Douard <david.douard@sdfa3.org>
Date:   Thu Sep 10 14:49:29 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/DTSCN/job/tests-on-diff/40/ for more details.

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