common/identifiers: Add SWHIDs contextual information computation
First diff related to new SWHIds contextual information plugged into swh-web
.
It implements the computation of these contextual information based on the context archived objects are browsed: directory, revision, snapshot or origin.
Next step: add the display of these new SWHIDs in the Permalinks tab of the web UI and add frontend tests.
Related to #1241 (closed) Related to #2330 (closed)
Migrated from D3129 (view on Phabricator)