[PR #119] [MERGED] Fix/duplicate repos issue 115 #292

Closed
opened 2026-04-11 09:13:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/119
Author: @arunavo4
Created: 10/22/2025
Status: Merged
Merged: 10/22/2025
Merged by: @arunavo4

Base: mainHead: fix/duplicate-repos-issue-115


📝 Commits (2)

  • 7fee2ad lib: harden mirror idempotency
  • b5323ff chore: remove duplicate fix summary

📊 Changes

1 file changed (+188 additions, -19 deletions)

View changed files

📝 src/lib/gitea.ts (+188 -19)

📄 Description

  • Remove the timestamp fallback in generateUniqueRepoName, forcing manual conflict resolution instead of endlessly creating unique names.
  • Add isRepoCurrentlyMirroring checks plus mirrored-location updates so concurrent mirror attempts bail out early in both user and org paths.

🔄 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/119 **Author:** [@arunavo4](https://github.com/arunavo4) **Created:** 10/22/2025 **Status:** ✅ Merged **Merged:** 10/22/2025 **Merged by:** [@arunavo4](https://github.com/arunavo4) **Base:** `main` ← **Head:** `fix/duplicate-repos-issue-115` --- ### 📝 Commits (2) - [`7fee2ad`](https://github.com/RayLabsHQ/gitea-mirror/commit/7fee2adb5145b024ee51ca73e5d5ef6cca701c1d) lib: harden mirror idempotency - [`b5323ff`](https://github.com/RayLabsHQ/gitea-mirror/commit/b5323ff8b4d9eab0acbc55a2d8900c4532ad4e88) chore: remove duplicate fix summary ### 📊 Changes **1 file changed** (+188 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/gitea.ts` (+188 -19) </details> ### 📄 Description - Remove the timestamp fallback in generateUniqueRepoName, forcing manual conflict resolution instead of endlessly creating unique names. - Add isRepoCurrentlyMirroring checks plus mirrored-location updates so concurrent mirror attempts bail out early in both user and org paths. --- <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 2026-04-11 09:13:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea-mirror#292