Migration Tweaks (#6260)
Migration Tweaks (#6260)

* Adds auto-name if repo name is blank
Adds error checking before sanitization in migration

Signed-off-by: jolheiser <2efb384cc32e2c1c40c2368e43e7c46e52df9a2c@gmail.com>

* Changed err from sanitization to a different variable

Signed-off-by: jolheiser <2efb384cc32e2c1c40c2368e43e7c46e52df9a2c@gmail.com>

* Remove handleCreatePost and implement separately

Signed-off-by: jolheiser <2efb384cc32e2c1c40c2368e43e7c46e52df9a2c@gmail.com>

* Make fmt

Signed-off-by: jolheiser <2efb384cc32e2c1c40c2368e43e7c46e52df9a2c@gmail.com>

typeless/gitea,sapk-fork/gitea,cez81/gitea,vCaesar/gitea,sapk-fork/gitea,sapk-fork/gitea,vCaesar/gitea,vdbt/gitea,kubatyszko/gitea,cez81/gitea,lafriks/gitea,sapk-fork/gitea,vdbt/gitea,typeless/gitea,kubatyszko/gitea,lafriks/gitea,go-gitea/gitea,go-gitea/gitea,lafriks/gitea,cez81/gitea,typeless/gitea,typeless/gitea,go-gitea/gitea,kubatyszko/gitea