sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.11k stars 1.29k forks source link

insights: [spike] investigate methods for lines of code calculations #36078

Open leonore opened 2 years ago

leonore commented 2 years ago

having an insight for lines of code per language across multiple repos is a common customer request.

there's ways of doing this with compute (content:output(.*\n -> $lang) count:all) and it works across small repos but there's some problems with it:

this issue is about investigating whether this would be feasible to do over the filesystem (hitting gitserver) instead of search

sourcegraph-bot-2 commented 2 years ago

Heads up @joelkw @felixfbecker @vovakulikov @unclejustin - the "team/code-insights" label was applied to this issue.

Joelkw commented 2 years ago

Related a bit to https://github.com/sourcegraph/sourcegraph/issues/34933