gogs / gogs

Gogs is a painless self-hosted Git service
https://gogs.io
MIT License
45.14k stars 4.87k forks source link

Migration without certificates hangs #2422

Open zzvv opened 8 years ago

zzvv commented 8 years ago

添加github仓库为镜像仓库,短时间内频繁添加,界面会出现异常 后台也卡在

git clone --mirror --quiet https:

怀疑是因为触发了github的安全机制,短时间频繁clone导致无法成功.

fix:添加授权账号信息后,能正常镜像

希望添加友善的相关提醒机制..谢谢!

unknwon commented 8 years ago

Hangs when certificates are required but not provided.

Seems no way to fast fails by simply pass a Git option.

unknwon commented 8 years ago

Note: might be solve by redirect os.Stdout to a file, which cooperates with https://github.com/gogits/gogs/issues/829 and we could show log to user during migration.