[Bug] REPO_INDEXER doesn't index mirrored repository, even if the NotifySyncPushCommits is called #5420

Closed
opened 2025-11-02 06:24:24 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @ghost on GitHub (May 18, 2020).

  • Gitea version (or commit ref): 1.11.5
  • Git version: Not relevant
  • Operating system: docker image
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist: Not relevant

Description

Looks like #11200 wasn't a fix to this bug.

Can we trigger the indexing manually on a selected repository? Or is it possible to call NotifyPushCommits manually form GUI, or via some command-line?
310699bca7/modules/notification/indexer/indexer.go (L126)

Originally created by @ghost on GitHub (May 18, 2020). - Gitea version (or commit ref): 1.11.5 - Git version: Not relevant - Operating system: docker image - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: Not relevant ## Description Looks like #11200 wasn't a fix to this bug. Can we trigger the indexing manually on a selected repository? Or is it possible to call ``NotifyPushCommits`` manually form GUI, or via some command-line? https://github.com/go-gitea/gitea/blob/310699bca71f15cc7b46363800574ba6e74d8c5c/modules/notification/indexer/indexer.go#L126
Author
Owner

@zeripath commented on GitHub (May 18, 2020):

Please could you check on master/1.12 if the current fix is sufficient.

Things in the indexer changed quite a between those two.

@zeripath commented on GitHub (May 18, 2020): Please could you check on master/1.12 if the current fix is sufficient. Things in the indexer changed quite a between those two.
Author
Owner

@techknowlogick commented on GitHub (May 18, 2020):

Current master can be found here: https://dl.gitea.io/gitea/master/

@techknowlogick commented on GitHub (May 18, 2020): Current master can be found here: https://dl.gitea.io/gitea/master/
Author
Owner

@ghost commented on GitHub (May 18, 2020):

@techknowlogick Thanks!
I have just tried the artifacts, and it seems that the bug persists.
It's a bit strange that it only happens to the mirrored repos, and the indexing of normal repos isn't influenced.

@ghost commented on GitHub (May 18, 2020): @techknowlogick Thanks! I have just tried the artifacts, and it seems that the bug persists. It's a bit strange that it only happens to the mirrored repos, and the indexing of normal repos isn't influenced.
Author
Owner

@ghost commented on GitHub (Jun 19, 2020):

Any update on this?

@ghost commented on GitHub (Jun 19, 2020): Any update on this?
Author
Owner

@ghost commented on GitHub (Jun 21, 2020):

solved

@ghost commented on GitHub (Jun 21, 2020): solved
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5420