Page MenuHomeSoftware Heritage

origin_search: Allow to pass empty query or URL pattern parameters
ClosedPublic

Authored by anlambert on May 6 2022, 2:09 PM.

Details

Summary

In that case, the search will match all origins and return them in a
paginated way.

It also enables to consider all origins when filtering them according
to different criterions (visit type for instance).

These small changes will enable to improve the search features available
in swh-web.

Related to D7756

Diff Detail

Repository
rDSEA Archive search
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D7755 (id=28062)

Rebasing onto ca662a57b0...

Current branch diff-target is up to date.
Changes applied before test
commit c847e9bbb0b600a707d070aa61a4cc5aa8bc8b26
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Thu May 5 14:19:51 2022 +0200

    origin_search: Allow to pass empty query or URL pattern parameters
    
    In that case, the search will match all origins and return them in a
    paginated way.
    
    It also enables to consider all origins when filtering them according
    to different criterions (visit type for instance).
    
    These small changes will enable to improve the search features available
    in swh-web.

See https://jenkins.softwareheritage.org/job/DSEA/job/tests-on-diff/332/ for more details.

This revision is now accepted and ready to land.May 6 2022, 2:29 PM