[PR #180] [MERGED] Add one-click Re-run Metadata bulk action #167

Closed
opened 2026-02-27 15:55:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/180
Author: @arunavo4
Created: 2/24/2026
Status: Merged
Merged: 2/24/2026
Merged by: @arunavo4

Base: mainHead: codex/issue-170-docs


📝 Commits (2)

  • f4074a3 Document metadata re-sync recovery steps
  • c340565 Add bulk re-run metadata action

📊 Changes

4 files changed (+234 additions, -0 deletions)

View changed files

📝 README.md (+14 -0)
📝 src/components/repositories/Repository.tsx (+91 -0)
src/pages/api/job/reset-metadata.ts (+116 -0)
src/types/reset-metadata.ts (+13 -0)

📄 Description

Summary

  • add a new bulk action in Repositories: Re-run Metadata
  • implement POST /api/job/reset-metadata to clear per-repo metadata state for selected repositories
  • after reset, immediately trigger Sync so metadata import runs again in one click
  • update README troubleshooting section with the UI-first recovery flow

Why

Addresses #170 with a simple UX path for recovering missed metadata after option changes, without adding complex runtime guards.

Test

  • bun test

🔄 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/RayLabsHQ/gitea-mirror/pull/180 **Author:** [@arunavo4](https://github.com/arunavo4) **Created:** 2/24/2026 **Status:** ✅ Merged **Merged:** 2/24/2026 **Merged by:** [@arunavo4](https://github.com/arunavo4) **Base:** `main` ← **Head:** `codex/issue-170-docs` --- ### 📝 Commits (2) - [`f4074a3`](https://github.com/RayLabsHQ/gitea-mirror/commit/f4074a37ad18f2594125f0c73e05568a9dcab479) Document metadata re-sync recovery steps - [`c340565`](https://github.com/RayLabsHQ/gitea-mirror/commit/c34056555f42c2ddae88e8fd9ec8923d01c1e1e4) Add bulk re-run metadata action ### 📊 Changes **4 files changed** (+234 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+14 -0) 📝 `src/components/repositories/Repository.tsx` (+91 -0) ➕ `src/pages/api/job/reset-metadata.ts` (+116 -0) ➕ `src/types/reset-metadata.ts` (+13 -0) </details> ### 📄 Description ## Summary - add a new bulk action in Repositories: **Re-run Metadata** - implement `POST /api/job/reset-metadata` to clear per-repo metadata state for selected repositories - after reset, immediately trigger Sync so metadata import runs again in one click - update README troubleshooting section with the UI-first recovery flow ## Why Addresses #170 with a simple UX path for recovering missed metadata after option changes, without adding complex runtime guards. ## Test - bun test --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 15:55:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gitea-mirror#167
No description provided.