swh identify: add support to compute snapshot PIDs of on-disk git repo
Note that this adds a dependency swh-model -> dulwich.
Test Plan
tox
swh identify --type snapshot /dir/to/a/local/git/repo
Migrated from D2056 (view on Phabricator)
Note that this adds a dependency swh-model -> dulwich.
tox
swh identify --type snapshot /dir/to/a/local/git/repo
Migrated from D2056 (view on Phabricator)