sourcegraph/cmd/symbols
William Bezuidenhout ef31cf98a0
feat(ci): sentry events on pipeline generation failures (#39289)
* update sg log

* use sg log and log sentry events

* lookup sentry DSN from environment

* Update enterprise/dev/ci/gen-pipeline.go

Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>

* Update enterprise/dev/ci/internal/ci/pipeline.go

* Update dev/sg/internal/analytics/context.go

Co-authored-by: Robert Lin <robert@bobheadxi.dev>

* Update enterprise/dev/ci/gen-pipeline.go

Co-authored-by: Robert Lin <robert@bobheadxi.dev>

* remove package level logger

Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>
Co-authored-by: Robert Lin <robert@bobheadxi.dev>
2022-08-24 17:59:57 +00:00
..
fetcher chore: Update go-mockgen (#40288) 2022-08-11 23:14:26 +00:00
gitserver Collection of multiple smaller clean ups in gitserver codebase (#39395) 2022-08-03 14:05:45 +02:00
internal Code intel to code nav redirects (#40729) 2022-08-24 12:11:12 +02:00
observability codeintel: Rockskip for symbols (#28719) 2022-03-02 21:13:28 -07:00
parser symbols: Remove useless ParserPool interface (#37036) 2022-06-10 12:07:24 -06:00
shared feat(ci): sentry events on pipeline generation failures (#39289) 2022-08-24 17:59:57 +00:00
squirrel frontend/symbols: Map rbi extension to Ruby. (#40745) 2022-08-24 00:49:24 +08:00
types symbols: Add DB connection for gitserver client (#39503) 2022-07-27 22:25:01 +02:00
build-ctags.sh Revert "sg start, use local universal-ctags by default, if available" (#38103) 2022-07-01 20:51:12 +03:00
build.sh symbols: go-build only builds target binary (#34998) 2022-05-05 17:58:25 +00:00
CODENOTIFY all: add keegancsmith to CODENOTIFY for many pkgs (#14241) 2020-09-29 11:03:53 +02:00
ctags-install-alpine.sh symbols: add retry option to deal with IPV6 issues on WSL2 (#36780) 2022-06-08 15:44:17 +04:00
Dockerfile Update alpine consumers (#40279) 2022-08-11 17:03:24 -03:00
go-build.sh symbols: go-build only builds target binary (#34998) 2022-05-05 17:58:25 +00:00
main.go codeintel: Rockskip for symbols (#28719) 2022-03-02 21:13:28 -07:00
README.md Update symbols docs (#31600) 2022-02-26 01:28:28 +00:00
universal-ctags-dev Revert "sg start, use local universal-ctags by default, if available" (#38103) 2022-07-01 20:51:12 +03:00

symbols

Indexes symbols in repositories using Ctags. Similar in architecture to searcher, except over ctags output.

The ctags output is stored in SQLite files on disk (one per repository@commit). Ctags processing is lazy, so it will occur only when you first query the symbols service. Subsequent queries will use the cached on-disk SQLite DB.

It is used by basic-code-intel to provide the jump-to-definition feature.

It supports regex queries, with prefix queries (^foo) and exact match queries (^foo$) optimized to perform index lookups. The symbols sidebar and search-based code intel benefit from these optimizations.