]> source.dussan.org Git - gitea.git/commit
Allow skipping forks and mirrors from being indexed (#23187)
authortechknowlogick <techknowlogick@gitea.io>
Thu, 25 May 2023 08:13:47 +0000 (04:13 -0400)
committerGitHub <noreply@github.com>
Thu, 25 May 2023 08:13:47 +0000 (16:13 +0800)
commit033d92997fc16baee097d2b25f08e0984e628abd
tree731c2ed48759bbb86baeb837c7da8a06078a03a3
parentcff4e37d43595d0ad22b634c274d62b04ab9a468
Allow skipping forks and mirrors from being indexed (#23187)

This PR adds two new options to disable repo/code search indexing of
both forks and mirrors.

Related: #22842
custom/conf/app.example.ini
docs/content/doc/administration/config-cheat-sheet.en-us.md
modules/indexer/code/indexer.go
modules/setting/indexer.go