Skip to content

storage/origin_search: Add option to filter out origins with no visit

That diff adds a new optional boolean parameter 'with_visit' (default to False) to the origin_search functions in swh-storage. It enables to filter out origins with no visit when searching. The purpose is to use that new option in swh-web/browse in order to remove origins not yet loaded into the archive from the search results (for instance to see which gitlab.com origins have been loaded so far).


Migrated from D403 (view on Phabricator)

Merge request reports

Loading