vole
Clone
Read only, no credentials:
https://rodent.software/git/vole.git
Write over SSH with a registered key:
git clone ssh://git@0.0.0.0:2222/vole.git
A free and open-source forge that lives in your Git repo.
Name the configured host in the SSH clone link
268b93688db5dd045cf92f61dc0922919b074fc6 · Keenan Nemetz · 19h ago · parent 2c988ecd
Name the configured host in the SSH clone link ssh_addr is a bind address, so an instance listening on 0.0.0.0 showed ssh://git@0.0.0.0:2222/... in the clone menu. Take the host from public_url, which is the configured name, and keep ssh_addr for the port. The instance repository page reads the same helper.
server/web/admin_instance.go +1−1
| @@ -46,7 +46,7 @@ func (w *Web) instanceRepoView(r *http.Request) instanceRepoView { | |||
| 46 | 46 | v.Commit, v.Err, v.ErrAt = commit, errMsg, errAt | |
| 47 | 47 | } | |
| 48 | 48 | if w.Cfg != nil && name != "" { | |
| 49 | v.CloneURL = sshURL(w.Cfg.SSHAddr, name) | ||
| 49 | v.CloneURL = w.sshURL(name) | ||
| 50 | 50 | } | |
| 51 | 51 | return v | |
| 52 | 52 | } | |