add methods to storage for searching origins whose urls contain a string pattern or match a regular expression
add methods to storage for searching origins whose urls contain a string pattern or match a regular expression (related swh-web#848 (closed))
This diff add methods 'origin_search' and 'origin_regex_search' in Storage class in order to search origins whose urls contain a string pattern or match a regular expression.
Migrated from D270 (view on Phabricator)
Merge request reports
Activity
Updating !69 (closed): add methods to storage for searching origins whose urls contain a string pattern or match a regular expression
merge storage.origin_regexp_search into storage.origin_search (now use a parameter, default to False, to activate search by regular expression)
Updating !69 (closed): add methods to storage for searching origins whose urls contain a string pattern or match a regular expression
final diff with some code factorization
squashed and merged in rDSTO63858e5e