Disable redirection after transferring repo ownership #14147

Open
opened 2025-11-02 11:04:21 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @gotounix on GitHub (Feb 17, 2025).

Feature Description

While transfer repo from team_a to team_b, access http://test.com/team_a/repo will redirect to http://test.com/team_b/repo.

How to disable this redirect and access http://test.com/team_a/repo return 404?

Screenshots

No response

Originally created by @gotounix on GitHub (Feb 17, 2025). ### Feature Description While transfer repo from `team_a` to `team_b`, access `http://test.com/team_a/repo` will redirect to `http://test.com/team_b/repo`. How to disable this redirect and access `http://test.com/team_a/repo` return 404? ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 11:04:21 -06:00
Author
Owner

@lunny commented on GitHub (Feb 17, 2025):

A workaround is creating an empty repository as team_a/repo and then deleting it.

@lunny commented on GitHub (Feb 17, 2025): A workaround is creating an empty repository as `team_a/repo` and then deleting it.
Author
Owner

@gotounix commented on GitHub (Feb 18, 2025):

A workaround is creating an empty repository as team_a/repo and then deleting it.

@lunny How to get all transferred repositories?

@gotounix commented on GitHub (Feb 18, 2025): > A workaround is creating an empty repository as `team_a/repo` and then deleting it. @lunny How to get all transferred repositories?
Author
Owner

@lunny commented on GitHub (Feb 18, 2025):

A workaround is creating an empty repository as team_a/repo and then deleting it.

@lunny How to get all transferred repositories?

I don't think it's possible.

@lunny commented on GitHub (Feb 18, 2025): > > A workaround is creating an empty repository as `team_a/repo` and then deleting it. > > @lunny How to get all transferred repositories? I don't think it's possible.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14147