let user choose SSH key owner when migrating to an org

This commit is contained in:
pomidorry committed 2026-06-07 14:38:26 +03:00
1 parent 781666b5eb
commit 6ce30aa144
13 files changed
+109 -19

No files matched your search

+1
View File
@@ -132,6 +132,7 @@ func (g *GiteaLocalUploader) CreateRepo(ctx context.Context, repo *base.Reposito
Wiki: opts.Wiki,
Releases: opts.Releases, // if didn't get releases, then sync them from tags
MirrorInterval: opts.MirrorInterval,
SSHKeyOwnerID: opts.SSHKeyOwnerID,
}, NewMigrationHTTPTransport())
g.sameApp = strings.HasPrefix(repo.OriginalURL, setting.AppURL)