We are trying to migrate from gitolite on one server, to gogs on another. Our gitolite server is accessed through ssh, but the gogs repo mirror doesn’t support ssh sources.
I have set up an ssh key and config alias, such that if I am the gogs user on the gogs server, I can:
git clone gitolite:repo-name
…and it will use the correct ssh key and host alias to access our gitolite repo.
Is there any way to use this to set up a mirrored repo from gitolite to gogs?
I tried creating a normal Gogs repo, then replacing it with a “git clone --mirror” copy at the filesystem level, and while the structure looked similar, gogs did not reflect the files that were now available in the replaced repo.