Skip to content

db: remove Repos.Upsert

Administrator requested to merge core/db-repos-upsert into master

Created by: keegancsmith

The repos table is only mutated by repo-updater. All call sites for Repos.Upsert are either in tests or unused REST API endpoints. For tests I moved the upsert code into a _test.go file so it is still available for tests. For the unused API I grepped our org for calls to it, and it is unused.

Merge request reports

Loading