How to delete a repository mirror/sync job? #26

Closed
opened 2026-10-05 01:35:33 +02:00 by adam · 8 comments
Owner

v3.1.0

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

v3.1.0 Once I create a repository I don't seem to find any way to remove it. Thanks! <!-- github-sync-id:3250572288 -->
adam closed this issue 2026-10-05 01:35:33 +02:00
Author
Owner

delete from gitea?

delete from gitea? <!-- github-comment-id:3100547437 -->
Author
Owner

from gitea-mirror that is

from gitea-mirror that is <!-- github-comment-id:3100720086 -->
Author
Owner

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.

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. <!-- github-comment-id:3101390887 -->
Author
Owner

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?

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? <!-- github-comment-id:3103587097 -->
Author
Owner

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

@gitcatpeter Okay this makes sense let me think about this. <!-- github-comment-id:3105297544 -->
Author
Owner

+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.

+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. <!-- github-comment-id:3200226968 -->
Author
Owner

@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

@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 <!-- github-comment-id:3238018903 -->
Author
Owner
Image

You can also select multiple and Ignore.

Image

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

<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 <!-- github-comment-id:3238034376 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#26