-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] REPO_INDEXER doesn't index mirrored repository #11200
Comments
Is it possible to call gitea/modules/notification/indexer/indexer.go Line 126 in 310699b
Currently it is only called from gitea/modules/repofiles/action.go Line 257 in 6034f8b
|
For mirrored commits, there is a gitea/services/mirror/mirror.go Line 412 in 2677d07
But the implementation seems to be missing in There is only one for gitea/modules/notification/indexer/indexer.go Line 126 in 310699b
|
Thanks to @simon-on-gh for tracking down the issue. Fix go-gitea#11200 Signed-off-by: Andrew Thornton <[email protected]>
To me it seems that simply copying the code for NotifyPushCommits would suffice to fix this issue. |
Thanks to @simon-on-gh for tracking down the issue. Fix #11200 Signed-off-by: Andrew Thornton <[email protected]>
Thanks to @simon-on-gh for tracking down the issue. Fix go-gitea#11200 Signed-off-by: Andrew Thornton <[email protected]>
Thanks to @simon-on-gh for tracking down the issue. Fix #11200 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
It seems that this bug wasn't fixed in the 1.11.5 release. Was the backport included in this release? |
gitea/modules/notification/indexer/indexer.go Line 127 in 83f8414
|
Thanks to @simon-on-gh for tracking down the issue. Fix go-gitea#11200 Signed-off-by: Andrew Thornton <[email protected]>
[x]
):Description
The REPO_INDEXER doesn't index the mirrored repository automatically. I have to remove the
.bleve
every time to start a new reindex for all repositories.It would be great if the indexing can be triggered manually on a selected repository. Would be better if indexing is automatically triggered after pulling from remotes.
Screenshots
Here is my indexer configuration
The text was updated successfully, but these errors were encountered: