sourcegraph/internal/cmd
Camden Cheek ef2a8650c4
Chore: clean up RepositoryResolver (#59402)
For reasons I don't fully understand even though it's probably my doing, RepositoryResolver depends on the search result type RepoMatch. There was some really convoluted logic about how only the name and id fields of RepoMatch were set, which is particularly confusing because a RepoMatch isn't even required to construct the RepositoryResolver. The only information being provided by RepoMatch was rev, which it really shouldn't be since a repository domain object should not even have a rev (that should be relegated to the GitCommitResolver or GitRefResolver, which contain a RepositoryResolver).

Anyways, this removes the dependency on the search result type.
2024-01-09 09:03:05 -07:00
..
ghe-feeder bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
git-combine bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
init-sg bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
jsonc-validate bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
progress-bot bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
search-blitz Chore: clean up RepositoryResolver (#59402) 2024-01-09 09:03:05 -07:00
src-cli-version bzl: set version on bins, not lib + add missing (#54030) 2023-06-23 14:06:58 +02:00
tracking-issue bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00