Page MenuHomeSoftware Heritage

github: Ignore archive_url and issues_url; use custom codemeta:issueTracker
ClosedPublic

Authored by vlorentz on Sep 28 2022, 1:40 PM.

Details

Summary

The codemeta crosswalk maps archive_url and issues_url to codemeta
properties, but they are not actually useable because they are
link templates to API endpoints.

Diff Detail

Repository
rDCIDX Metadata indexer
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 D8564 (id=30887)

Rebasing onto cdbf090b14...

Current branch diff-target is up to date.
Changes applied before test
commit 6e4c67bede71b43f7b8fe10357065b71616ebc2a
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Sep 28 13:40:34 2022 +0200

    github: Ignore archive_url and issues_url; use custom codemeta:issueTracker
    
    The codemeta crosswalk maps archive_url and issues_url to codemeta
    properties, but they are not actually useable because they are
    link templates to API endpoints.

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

Generating the issueTracker should probably be gated on the has_issues field (which is false, for this specific repository).

Ah, d'oh, it is (but your test fixture lies :-P)

This revision is now accepted and ready to land.Sep 30 2022, 4:32 PM
In D8564#223419, @olasd wrote:

but your test fixture lies :-P

don't shoot the messenger! that's what the API does