indexer based on file types #2274

Open
opened 2025-11-02 04:30:41 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @laoshaw on GitHub (Aug 30, 2018).

is it possible to create indexer based on filetypes, e.g. index all markdown files, or index all source code(*.c, *.go, *.h, *.py), so far they're mixed together, if we can at least separate docs indexer from source code indexers that will be great.

Originally created by @laoshaw on GitHub (Aug 30, 2018). is it possible to create indexer based on filetypes, e.g. index all markdown files, or index all source code(*.c, *.go, *.h, *.py), so far they're mixed together, if we can at least separate docs indexer from source code indexers that will be great.
GiteaMirror added the type/proposal label 2025-11-02 04:30:41 -06:00
Author
Owner

@guillep2k commented on GitHub (Aug 1, 2019):

I'll add to this: exclude some file extensions from being indexed (e.g. bin, hex, lss, map), or even make a list of "index only these file patterns", like Makefile, .go, .cpp, .idl, .c, .h, .cs, etc. .gitattributes style. Maybe there's some git metadata we could use to set that up on a repo basis?

@guillep2k commented on GitHub (Aug 1, 2019): I'll add to this: exclude some file extensions from being indexed (e.g. bin, hex, lss, map), or even make a list of "index only these file patterns", like Makefile, .go, .cpp, .idl, .c, .h, .cs, etc. .gitattributes style. Maybe there's some git metadata we could use to set that up on a repo basis?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2274