inab / WfExS-backend

Workflow Execution Service Backend
Apache License 2.0
16 stars 6 forks source link

Add support for swh permanent identifiers #32

Closed jmfernandez closed 1 year ago

jmfernandez commented 1 year ago

Software Heritage swh permanent identifiers, described at https://docs.softwareheritage.org/devel/swh-model/persistent-identifiers.html#interoperability , should be supported by WfExS-backend, as they can be used in two different ways.

First one, there are repos there which could contain workflows, so a method to fetch those workflows should be implemented.

Second one, they provide a standardized way to compute a stable identifier for directories. Although there is an available implementation at https://pypi.org/project/swh.model/ , due license collisions (it is GPLv3) a reimplementation of the algorithm is needed.

jmfernandez commented 1 year ago

Commit a58c2cba989f4eee65cb385d4f3a7a7524ed283b added support for repository snapshots stored at Software Heritage