HomeSoftware Heritage

persistent identifiers: Resolve optional parts

Description

persistent identifiers: Resolve optional parts

This commits adds support for optional parts of persistent identifiers
in swh-web in order to add origin context when resolving the swh object
to browse. It is also possible to set lines to highlight for swh content
object.

Also to be noted, persistent id urls are now rooted to / instead of
/browse. Nevertheless backward compatibility is maintained for HAL.

Closes T1042

Details

Provenance
anlambertAuthored on May 17 2018, 5:03 PM
anlambertPushed on May 29 2018, 2:30 PM
Parents
rDWAPPSf46e5674777d: swh-web: Fix display issues in mobile browsers
Branches
Unknown
Tags
Unknown
References
tag: v0.0.132
Tasks
T1042: support optional/contextual parts of persistent identifiers in the web app resolver