mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-08 20:58:16 -05:00
Organizations can repeat, and cannot be deleted. #65
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mayankchetan on GitHub (Oct 25, 2025).
Originally assigned to: @arunavo4 on GitHub.
Hey @arunavo4 thanks for all your great work on this project!!
I noticed that if in error i repeat adding an organization (this happened due to rate limiting timeout for the GitHub API), i do not get a warning or an error, and its added multiple times. Additionally, its not currently possible to delete an organization.
ideally:
But in both cases it might be useful to remove an organization and not just "ignore" it.
Thanks,
Mayank
@arunavo4 commented on GitHub (Oct 27, 2025):
Hi @mayankchetan check out
docker pull ghcr.io/raylabshq/gitea-mirror:eb0f8f2where duplicate adds now warn with a toast + confirmation, we enforce case-insensitive uniqueness in the DB, but if user still wants it they can add the repo/org and you can delete orgs/repos from Gitea Mirror but this strictly does not delete from Gitea rather only from Gitea Mirror. If you want to remove the repo or org you will have to do a permanent delete from gitea. This way we avoid future mishaps by not having any destructive functions on this app.@mayankchetan commented on GitHub (Oct 29, 2025):
Hey @arunavo4, was about to test this, but took a look at
ghcr.io/raylabshq/gitea-mirror:pr-136running in the background since a few days.I can see that issues are repeating even if they exist. Creating a separate issue now.
@mayankchetan commented on GitHub (Oct 30, 2025):
Deleting orgs and warning works as intended https://github.com/RayLabsHQ/gitea-mirror/pull/136