Add support for sha1 identifiers for origins
Use Sha1Git
type to explicitly state the kind of identifiers
Previous occurrences of bytes
and Sha1
are not correctly using Sha1Git
.
Also, some bytes conversion methods were replaced by their counterparts in
the swh.model.hashutil module.
Migrated from D5924 (view on Phabricator)