Page MenuHomeSoftware Heritage

crates: Do not literalinclude JSON file in ExtrinsicPackageMetadata doc
ClosedPublic

Authored by anlambert on Apr 29 2022, 5:14 PM.

Details

Summary

It makes the whole swh documentation build fails as relative path to the
JSON file is not the same when building swh-docs, plus sphinx generates
a link to the Crates API URL enabling to browse the JSON data.

See https://jenkins.softwareheritage.org/view/all/job/DDOC/job/dev/1339/artifact/swh-docs/docs/errors.log

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 D7717 (id=27911)

Rebasing onto e449786aa0...

Current branch diff-target is up to date.
Changes applied before test
commit f07890bc0c8d275d116d7901aa508744cbe92902
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Fri Apr 29 17:11:27 2022 +0200

    crates: Do not literalinclude JSON file in ExtrinsicPackageMetadata doc
    
    It makes the whole swh documentation build fails as relative path to the
    JSON file is not the same when building swh-docs, plus sphinx generates
    a link to the Crates API URL enabling to browse the JSON data.

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

This revision was not accepted when it landed; it landed in state Needs Review.Apr 29 2022, 5:27 PM
This revision was automatically updated to reflect the committed changes.