Support searching across all branches of all repositories
Created by: beyang
Requested by:
A customer has the following use case:
We are trying to find out which repositories are using a particular module. Some repos are adopting this module, but that's an ongoing task, which means actual usage of the module lives in a feature branch (non-master). We want to know that a particular repo is using the module, even if usage is not in master yet.
To cover this use case, $CUSTOMER has suggested adding the ability to search across all repositories over all named branches.
Alternatively, diff search may also satisfy this need. However, I think we would need to invest more into making diff search scale. For example, global diff searches on k8s.sgdev.org currently timeout.
This is more of an "offline", rather than "real time", use case, so some amount of latency in the search query is tolerable here.