Skip to content

[chore] Use git for file source #574

@brendan-kellam

Description

@brendan-kellam

Currently, we are using zoekt to power our file source api (/api/source). We should switch to using git show <hash>:<path> instead. Main benefits 1) we can get the file source of files on non-indexed branches at arbitrary commit SHAs, and 2) we can get the file source of binary files (like PDFs).

See packages/web/features/search/fileSourceApi.ts

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions