Page MenuHomeSoftware Heritage

setup.py: Ensure tree-sitter-cli gets installed in develop command
ClosedPublic

Authored by anlambert on Sep 3 2021, 1:42 PM.

Details

Summary

When installing swh-search in develop mode, tree-sitter node module
must be installed in order to generate the parser C file.

See https://jenkins.softwareheritage.org/job/DENV/job/tests/1497/console

Diff Detail

Repository
rDSEA Archive search
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 D6179 (id=22384)

Rebasing onto abf46aa8f4...

Current branch diff-target is up to date.
Changes applied before test
commit defa7880c195b7a0e3325d58bb7d1ad39df09f19
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Fri Sep 3 13:38:37 2021 +0200

    setup.py: Ensure tree-sitter-cli gets installed in develop command
    
    When installing swh-search in develop mode, tree-sitter node module
    must be installed in order to generate the parser C file.

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

This revision is now accepted and ready to land.Sep 3 2021, 1:46 PM