[GH-ISSUE #50] How to delete a repository mirror/sync job? #27

Closed
opened 2026-02-27 15:54:37 +03:00 by kerem · 8 comments
Owner

Originally created by @gitcatpeter on GitHub (Jul 22, 2025).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/50

Originally assigned to: @arunavo4 on GitHub.

v3.1.0

Once I create a repository I don't seem to find any way to remove it.
Thanks!

Originally created by @gitcatpeter on GitHub (Jul 22, 2025). Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/50 Originally assigned to: @arunavo4 on GitHub. v3.1.0 Once I create a repository I don't seem to find any way to remove it. Thanks!
kerem 2026-02-27 15:54:37 +03:00
Author
Owner

@arunavo4 commented on GitHub (Jul 22, 2025):

delete from gitea?

<!-- gh-comment-id:3100547437 --> @arunavo4 commented on GitHub (Jul 22, 2025): delete from gitea?
Author
Owner

@gitcatpeter commented on GitHub (Jul 22, 2025):

from gitea-mirror that is

<!-- gh-comment-id:3100720086 --> @gitcatpeter commented on GitHub (Jul 22, 2025): from gitea-mirror that is
Author
Owner

@arunavo4 commented on GitHub (Jul 22, 2025):

Did not make that feature to delete repos using gitea-mirror. But if you want to delete the mirrored repo from gitea you can do it directly in gitea. This application does not hold any copy of the repos.

<!-- gh-comment-id:3101390887 --> @arunavo4 commented on GitHub (Jul 22, 2025): Did not make that feature to delete repos using gitea-mirror. But if you want to delete the mirrored repo from gitea you can do it directly in gitea. This application does not hold any copy of the repos.
Author
Owner

@gitcatpeter commented on GitHub (Jul 22, 2025):

Sorry, I wasn't clear. It is not about deleting repo from gitea, but Repository item (we could call it Sync Job) from gitea-mirror.

For instance:
In gitea-mirror define a sync/mirror job under "Repositories". Then execute it, it creates certain repo in your gitea. Now for some reason you delete that resulting repo from gitea.
Now every gitea-mirror job for that missing repo will fail as its target does not exist anymore***.
Moreover I don't see a way to delete that offending (& not needed anymore) sync job from "Repositories".
Thank you.

*** It is also worth checking if that behavior is desirable, maybe the missing repo should be re-done in that case?

<!-- gh-comment-id:3103587097 --> @gitcatpeter commented on GitHub (Jul 22, 2025): Sorry, I wasn't clear. It is not about deleting repo from gitea, but **Repository** item (we could call it Sync Job) from gitea-mirror. For instance: In gitea-mirror define a sync/mirror job under "Repositories". Then execute it, it creates certain repo in your gitea. Now for some reason you delete that resulting repo from gitea. Now every gitea-mirror job for that missing repo will fail as its target does not exist anymore***. **Moreover I don't see a way to delete that offending (& not needed anymore) sync job from "Repositories".** Thank you. *** It is also worth checking if that behavior is desirable, maybe the missing repo should be re-done in that case?
Author
Owner

@arunavo4 commented on GitHub (Jul 23, 2025):

@gitcatpeter Okay this makes sense let me think about this.

<!-- gh-comment-id:3105297544 --> @arunavo4 commented on GitHub (Jul 23, 2025): @gitcatpeter Okay this makes sense let me think about this.
Author
Owner

@bxm156 commented on GitHub (Aug 19, 2025):

+1 When I was setting my instance up, my first "Sync" originally had it set to Mirror everything I had starred. I didn't start the mirroring, and I want to remove those 100+ entries from the queue so that it doesn't happen.

I can't seem to find a way to remove them from the queue.

<!-- gh-comment-id:3200226968 --> @bxm156 commented on GitHub (Aug 19, 2025): +1 When I was setting my instance up, my first "Sync" originally had it set to Mirror everything I had starred. I didn't start the mirroring, and I want to remove those 100+ entries from the queue so that it doesn't happen. I can't seem to find a way to remove them from the queue.
Author
Owner

@arunavo4 commented on GitHub (Aug 29, 2025):

@bxm156 @gitcatpeter I have recently added a feature to Ignore Repositories that way the sync job will not run on these repos even if you use the mirror all

<!-- gh-comment-id:3238018903 --> @arunavo4 commented on GitHub (Aug 29, 2025): @bxm156 @gitcatpeter I have recently added a feature to Ignore Repositories that way the sync job will not run on these repos even if you use the mirror all
Author
Owner

@arunavo4 commented on GitHub (Aug 29, 2025):

Image

You can also select multiple and Ignore.

Image

Feel free to open the issue again if you were looking for something different

<!-- gh-comment-id:3238034376 --> @arunavo4 commented on GitHub (Aug 29, 2025): <img width="1242" height="345" alt="Image" src="https://github.com/user-attachments/assets/a1ea185d-6b12-4674-b5eb-cb5216f303ad" /> You can also select multiple and Ignore. <img width="1230" height="305" alt="Image" src="https://github.com/user-attachments/assets/8aa7929c-f9f7-49bb-8918-ccb0c7d09148" /> Feel free to open the issue again if you were looking for something different
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#27
No description provided.