HomeSoftware Heritage

Rewrite origin_head.py as a normal function instead of an indexer

Description

Rewrite origin_head.py as a normal function instead of an indexer

We stopped using it as an indexer years ago, so it does not make sense
to keep this class around.

Additionally, replace the weird dict (needed by the indexer interface)
with a CoreSWHID (now possible, as it doesn't need to be JSON-like)

Details

Provenance
vlorentzAuthored on May 31 2022, 2:47 PM
vlorentzPushed on May 31 2022, 3:42 PM
Differential Revision
D7923: Rewrite origin_head.py as a normal function instead of an indexer
Parents
rDCIDXf8f96257547c: Convert test_origin_head from unittest to pytest
Branches
Unknown
Tags
Unknown
Build Status
Buildable 29641
Build 46323: test-and-buildJenkins console · Jenkins