sourcegraph/dev/linters
Varun Gandhi cadb6d8e70
chore: Unify LsifStore.*SymbolUsages APIs into one (#64076)
For precise usagesForSymbols, we want to propagate usages everywhere
(with associated symbol names, not just 'Location' values). This PR
introduces the new Usage type, and unifies the old GetBulkSymbolUsages and
GetMinimalBulkSymbolUsages APIs into a single GetSymbolUsages API.

We convert the Usage values to Location to avoid changing a lot of code
at once.

We also change the DB query to do grouping and aggregation for us
instead of doing it in Go code.

---------

Co-authored-by: Christoph Hegemann <christoph.hegemann@sourcegraph.com>
2024-07-25 20:45:47 +08:00
..
bodyclose bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
dbconn support fast, simple sg start single-program-experimental-blame-sqs for local dev (#63435) 2024-06-24 21:12:47 +00:00
depguard chore: Centralize languages package as source-of-truth (#63292) 2024-06-18 13:10:24 +00:00
exhaustruct chore: Unify LsifStore.*SymbolUsages APIs into one (#64076) 2024-07-25 20:45:47 +08:00
forbidigo bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
gocheckcompilerdirectives bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
gocritic bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
ineffassign bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
logging bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
nolint bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
nolocalhost bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
staticcheck bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
tracinglibraries bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
unparam bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
unused bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
go.mod feat(build): Add exhaustruct linter (codeintel POC) (#63965) 2024-07-23 17:26:01 +08:00
go.sum feat(build): Add exhaustruct linter (codeintel POC) (#63965) 2024-07-23 17:26:01 +08:00