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/auth.go +1−3
| @@ -466,9 +466,7 @@ func (w *Web) page(r *http.Request, title string) Page { | |||
| 466 | 466 | p.RepoName = name | |
| 467 | 467 | if m, err := w.repo(p.memo, name); err == nil { | |
| 468 | 468 | p.CloneURL = w.cloneURL(r, name) | |
| 469 | if w.Cfg != nil { | ||
| 470 | p.SSHURL = sshURL(w.Cfg.SSHAddr, name) | ||
| 471 | } | ||
| 469 | p.SSHURL = w.sshURL(name) | ||
| 472 | 470 | if p.LoggedIn || (w.Cfg != nil && strings.TrimSpace(w.Cfg.PagesDomain) != "") { | |
| 473 | 471 | if acl, err := m.ACL(); err == nil { | |
| 474 | 472 | if p.LoggedIn { | |