-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorder the process of repo rename. #17990
Comments
I think you can find the old and new name. |
In This is a brief order in
|
Ah, then I think it's a bug rather a feature. |
Feature Description
I'm facing a small problem when I implement my own notifier. When I implement
NotifyRenameRepository
function, I could not find the new repo name (the name in argrepo *models.Repository
is the old name). After I check the code I found thatrepo.Name = newRepoName
is called after functionrepo_service.ChangeRepositoryName
.There are two places:
gitea/routers/web/repo/setting.go
Line 103 in f58e687
gitea/routers/api/v1/repo/repo.go
Line 651 in f58e687
Wait for your opinion.
Screenshots
No response
The text was updated successfully, but these errors were encountered: