lindell / multi-gitter

Update multiple repositories in with one command

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use code search as input for target repository list

jamestelfer opened this issue · comments

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.

Relevant GitHub documentation:

Included in release v0.49.0 🎉