[PR #3254] [MERGED] Add repo-sync-releases admin command #16845

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3254
Author: @strk
Created: 12/23/2017
Status: Merged
Merged: 12/31/2017
Merged by: @lafriks

Base: masterHead: admin-repo-sync-release


📝 Commits (6)

  • ddc51c1 Add repo-sync-releases admin command
  • 1d44aeb Load repos in chunks of 10, exit with error if unable to get a list, scan private repos, fix typo
  • a16360b Fix debug output about num releases
  • c425fb9 Introduce RepositoryListDefaultPageSize constant, set to 64
  • 74b4deb Use RepositoryListDefaultPageSize in more places
  • e8772e3 Document RepositoryListDefaultPageSize

📊 Changes

5 files changed (+85 additions, -3 deletions)

View changed files

📝 cmd/admin.go (+75 -0)
📝 models/issue_indexer.go (+1 -1)
📝 models/migrations/v39.go (+1 -1)
📝 models/repo_indexer.go (+1 -1)
📝 models/repo_list.go (+7 -0)

📄 Description

Will help recovering corrupted database, see #3247


🔄 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/3254 **Author:** [@strk](https://github.com/strk) **Created:** 12/23/2017 **Status:** ✅ Merged **Merged:** 12/31/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `admin-repo-sync-release` --- ### 📝 Commits (6) - [`ddc51c1`](https://github.com/go-gitea/gitea/commit/ddc51c175125fa290ffb2ed30f2e1b46623bc6e0) Add repo-sync-releases admin command - [`1d44aeb`](https://github.com/go-gitea/gitea/commit/1d44aebab29e17d9a088b93141ed899b55afa42a) Load repos in chunks of 10, exit with error if unable to get a list, scan private repos, fix typo - [`a16360b`](https://github.com/go-gitea/gitea/commit/a16360b7e76b7d008a121374975feb5128249078) Fix debug output about num releases - [`c425fb9`](https://github.com/go-gitea/gitea/commit/c425fb9afe0e887903d157726fb975e692329d91) Introduce RepositoryListDefaultPageSize constant, set to 64 - [`74b4deb`](https://github.com/go-gitea/gitea/commit/74b4deb8f4bc4ce6c5cb0bad1682f6a34ff7efe3) Use RepositoryListDefaultPageSize in more places - [`e8772e3`](https://github.com/go-gitea/gitea/commit/e8772e3ae7c260e280dfed75091e6158eea7e988) Document RepositoryListDefaultPageSize ### 📊 Changes **5 files changed** (+85 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `cmd/admin.go` (+75 -0) 📝 `models/issue_indexer.go` (+1 -1) 📝 `models/migrations/v39.go` (+1 -1) 📝 `models/repo_indexer.go` (+1 -1) 📝 `models/repo_list.go` (+7 -0) </details> ### 📄 Description Will help recovering corrupted database, see #3247 --- <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:20:26 -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#16845