Page MenuHomeSoftware Heritage

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

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

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

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.

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