Follow up to #398, adding code search as another source (see initial discussion).
I propose adding a --code-search flag (GitHub only, initially) that would use the flag as an SCM-specific search query that would gather the set of target repositories by searching across code in the target system. The syntax accepted by the flag would be that supported by the underlying SCM, and would be passed through directly.
Example searches:
partial names with boolean queries: org:buildkite-plugins language:shell docker
one or multiple owners user:lindell filename:go.mod go "1.19"
Drawbacks to this approach include that mentioned in #398.
Follow up to #398, adding code search as another source (see initial discussion).
I propose adding a
--code-search
flag (GitHub only, initially) that would use the flag as an SCM-specific search query that would gather the set of target repositories by searching across code in the target system. The syntax accepted by the flag would be that supported by the underlying SCM, and would be passed through directly.Example searches:
org:buildkite-plugins language:shell docker
user:lindell filename:go.mod go "1.19"
Drawbacks to this approach include that mentioned in #398.
Relevant GitHub documentation: