ᴊᴏᴇ ᴄʜᴇɴ
ᴊᴏᴇ ᴄʜᴇɴ
Newer versions of XORM seems to break many things unexpected, we could just try to upgrade to 1.1.2 only to fix this problem (if possible). Or, wait until the finish...
>Yes: any repository Which is "any"?
>The problem only happens on a fresh repo that has no code in it!! This is very important info, thanks for providing this!
@odiffey Is it not required, it is nice to have.
@odiffey Thanks for the opinion! I've updated the issue title and description. PTAL :)
git version 2.29.0.windows.1 would create new repository with default branch `main`. _https://discuss.gogs.io/t/gogs0-12-3/3367_
Thanks @the-moog! I'm adding back to 0.13 milestone, since this is probably related to https://github.com/gogs/gogs/issues/6967 as well.
> This is a bug as 'master' is hard coded into GOGS, (go_get.go line 27). > Rather than picking up the system, gobal or user config GOGS uses this branch...
Hmm... current problem is we don't store which repository the attachment belongs to in the database, need a migration to help with it.
@kevingentile didn't look deeply, but I believe the migration could figure out what repository it belongs to by release, issue and comment ID currently stored in DB.