Skip to content

Add optional context parameters for the browsing revision view

Using the url https://archive.softwareheritage.org/browse/revision/?origin={,}, we can add context to the revision.

A revision by itself on the web-app does not have context. As a result, we cannot know if the revision was created from a deposit or the deposit's origin.

With those optional parameters, we can search rapidly the revision context and show it together with the revision metadata and target directory.

So, in the end, when the HAL user clicks on the swh-id in the HAL webpage, that will open that revision page with the given context.


Migrated from T875 (view on Phabricator)

Edited by Phabricator Migration user
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information