Page MenuHomeSoftware Heritage

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

Authored by anlambert on Aug 2 2018, 3:10 PM.

Details

Summary

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).

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.