Skip to content

Update repo search endpoint to search for specific repos instead of filtering all of them

Eric Eastwood requested to merge 2472-search-gitlab-projects into develop
  • Fix the repo endpoint to actually return results for GitLab results. It would always get filtered out before because it filtered on full_name which is GitHub specific
  • Updates the repo search endpoint to be more performant.
    • For GitLab, we use the search query parameter to fetch only what we need
    • For GitHub, we still have to fetch all and filter on our side

Fix https://gitlab.com/gitlab-org/gitter/webapp/-/issues/2472

Dev notes

Testing strategy

This is best tested if you run through https://gitlab.com/gitlab-org/gitter/webapp/-/merge_requests/1823 instead

Todo

Edited by Eric Eastwood

Merge request reports