You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang a6450494c3
Fix unclear `IsRepositoryExist` logic (#24374)
There was only one `IsRepositoryExist` function, it did: `has && isDir`

However it's not right, and it would cause 500 error when creating a new
repository if the dir exists.

Then, it was changed to `has || isDir`, it is still incorrect, it
affects the "adopt repo" logic.

To make the logic clear:

* IsRepositoryModelOrDirExist
* IsRepositoryModelExist
1 year ago
..
admin.go Move secrets and runners settings to actions settings (#24200) 1 year ago
admin_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
applications.go Move secrets and runners settings to actions settings (#24200) 1 year ago
auths.go Move secrets and runners settings to actions settings (#24200) 1 year ago
config.go Move secrets and runners settings to actions settings (#24200) 1 year ago
emails.go Move secrets and runners settings to actions settings (#24200) 1 year ago
hooks.go Add main landmark to templates and adjust titles (#22670) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
notice.go Move secrets and runners settings to actions settings (#24200) 1 year ago
orgs.go Move secrets and runners settings to actions settings (#24200) 1 year ago
packages.go Move secrets and runners settings to actions settings (#24200) 1 year ago
repos.go Fix unclear `IsRepositoryExist` logic (#24374) 1 year ago
runners.go Move secrets and runners settings to actions settings (#24200) 1 year ago
users.go Move secrets and runners settings to actions settings (#24200) 1 year ago
users_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago