An error occurred while fetching this tab.
search: Implement query based search contexts
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: tsenart
This PR is a work-in-progress to extend search contexts to be able to be defined in terms of a restricted Sourcegraph search query (e.g. repo:^github\.com/org (rev:HEAD or rev:bar)
). It also allows specifying file:
and lang:
filters for monorepos.
It works by substituting each context
param in a runtime query with its defined query (if any).
https://user-images.githubusercontent.com/67471/147663887-40c87cb8-7751-4cda-89fe-9e4fc3e5dbbb.mp4
searchrepos.Resolver
. Because of OR/AND complexities, I'm leaning towards the first one. Opinions wanted (@rvantonder, @sourcegraph/search-core)
Push commits to the source branch or add previously merged commits to review them.