Page MenuHomeSoftware Heritage

browse: add identifiers resolution in search form
Closed, MigratedEdits Locked

Description

Today the identifier is resolved directly in the url archive.softwareheritage.org/<identifier>
For a more user friendly access, we should provide a page resembling origin search where a user can resolve an identifier

Event Timeline

moranegg triaged this task as Normal priority.Jun 26 2018, 11:45 AM
moranegg created this task.

I agree we need a more user friendly way of resolving IDs. (And, in passing, I think we also need an API method /resolve for programmatically resolving PIDs.)
But rather than adding a separate search form, I think we should generalize the current one, to be a Google-style, catch-all search box.

In the beginning, it could be something as simple as: "if it looks like a PID, then resolve it; else, do origin search". In the future it can be extended to other syntactical searches, such as file name search, commit ID search, etc.

The UI would be much better that way, and it'll always be possible to have a separate "advanced search" page (and/or special search keywords, like search engines do) where the various kinds of searches are broken down by type.

moranegg renamed this task from browse: create page/form where identifiers can be resolved to browse: add identifiers resolution in search form.Jun 26 2018, 1:35 PM
In T1118#20738, @zack wrote:

...
In the beginning, it could be something as simple as: "if it looks like a PID, then resolve it; else, do origin search". In the future it can be extended to other syntactical searches, such as file name search, commit ID search, etc.

The UI would be much better that way, and it'll always be possible to have a separate "advanced search" page (and/or special search keywords, like search engines do) where the various kinds of searches are broken down by type.

I completely agree

anlambert changed the task status from Open to Work in Progress.Jun 29 2018, 3:00 PM