Skip to content

Fix release_identifier for snapshot target

While playing with swh-model, I noticed the release_identifier function ends up with error when a release target type is a snapshot (what does it mean by the way, I can't picture it).

A mapping between 'snapshot' to its git equivalent was missing. Looking at the git glossary, refs seems the best choice here but maybe I am wrong.


Migrated from D2373 (view on Phabricator)

Merge request reports