[PR #3278] [CLOSED] Add 'repo-sync-releases` admin command #16856

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3278
Author: @strk
Created: 12/31/2017
Status: Closed

Base: release/v1.3Head: v1.3-repo-sync-release


📝 Commits (1)

  • 4e0a36f Add 'repo-sync-releases` admin command

📊 Changes

4 files changed (+84 additions, -2 deletions)

View changed files

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

📄 Description

This is a backport of what just landed in master (1.4.0 branch).
Being a new feature it doesn't really belong to 1.3 branch, but
there's currently no way to restore from a failed upgrade without
this new command, so anyone who upgraded from Gogs to Gitea 1.3 might
get stuck until 1.4.0 is out, which may take some time.

Or, we quickly release 1.4.0 for this new feature (I'd be in favor of
this too)


🔄 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/3278 **Author:** [@strk](https://github.com/strk) **Created:** 12/31/2017 **Status:** ❌ Closed **Base:** `release/v1.3` ← **Head:** `v1.3-repo-sync-release` --- ### 📝 Commits (1) - [`4e0a36f`](https://github.com/go-gitea/gitea/commit/4e0a36fe06faf0a2b8ced716f89efca3c505fb95) Add 'repo-sync-releases` admin command ### 📊 Changes **4 files changed** (+84 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `cmd/admin.go` (+75 -0) 📝 `models/issue_indexer.go` (+1 -1) 📝 `models/repo_indexer.go` (+1 -1) 📝 `models/repo_list.go` (+7 -0) </details> ### 📄 Description This is a backport of what just landed in master (1.4.0 branch). Being a new feature it doesn't really belong to 1.3 branch, but there's currently no way to restore from a failed upgrade without this new command, so anyone who upgraded from Gogs to Gitea 1.3 might get stuck until 1.4.0 is out, which may take some time. Or, we quickly release 1.4.0 for this new feature (I'd be in favor of this too) --- <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:41 -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#16856