[PR #3385] [MERGED] Delete indexer DB entries when (re)creating index #16915

Closed
opened 2025-11-02 12:22:02 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3385
Author: @ethantkoenig
Created: 1/17/2018
Status: Merged
Merged: 1/17/2018
Merged by: @lafriks

Base: masterHead: recreate_repo_indexer


📝 Commits (2)

  • 62c9fab Delete indexer DB entries when (re)creating index
  • 34e1e9a comment

📊 Changes

1 file changed (+7 additions, -0 deletions)

View changed files

📝 models/repo_indexer.go (+7 -0)

📄 Description

Previously, if you needed to recreate the repo indexer, you need to delete the indexer and manually clear the repo_indexer_status table in the DB. Now, you just need to delete the indexer.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3385 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 1/17/2018 **Status:** ✅ Merged **Merged:** 1/17/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `recreate_repo_indexer` --- ### 📝 Commits (2) - [`62c9fab`](https://github.com/go-gitea/gitea/commit/62c9faba591e4abe4ffb6fd8693bdb9e53313f91) Delete indexer DB entries when (re)creating index - [`34e1e9a`](https://github.com/go-gitea/gitea/commit/34e1e9a2a158dde221b39684845404424113a288) comment ### 📊 Changes **1 file changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `models/repo_indexer.go` (+7 -0) </details> ### 📄 Description Previously, if you needed to recreate the repo indexer, you need to delete the indexer *and* manually clear the `repo_indexer_status` table in the DB. Now, you just need to delete the indexer. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:22:02 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16915