Closed
Description
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 arg repo *models.Repository
is the old name). After I check the code I found that repo.Name = newRepoName
is called after function repo_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