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
Branch
search-origins-with-visit
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1372
Build 1716: arc lint + arc unit