vole
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software:2222/vole.git
A free and open-source forge that lives in your Git repo.
refactor
c5902451905acdaa478f8476844ccd4a510d9ca9 · Keenan Nemetz · 17d ago · parent ec2aba4b
internal/pages/pages.go → server/pages/pages.go +3−3
| @@ -27,8 +27,8 @@ import ( | |||
| 27 | 27 | "sync" | |
| 28 | 28 | "time" | |
| 29 | 29 | ||
| 30 | "github.com/rodent-software/vole/internal/acl" | ||
| 31 | "github.com/rodent-software/vole/internal/repo" | ||
| 30 | "github.com/rodent-software/vole/forge/access" | ||
| 31 | "github.com/rodent-software/vole/forge/repo" | ||
| 32 | 32 | ) | |
| 33 | 33 | ||
| 34 | 34 | const ( | |
| @@ -466,7 +466,7 @@ func (s *Server) state(name string) (siteState, error) { | |||
| 466 | 466 | } | |
| 467 | 467 | st := siteState{m: m, at: time.Now()} | |
| 468 | 468 | if a, err := m.ACL(); err == nil { | |
| 469 | st.public = a.Can("", acl.Read) | ||
| 469 | st.public = a.Can("", access.Read) | ||
| 470 | 470 | } | |
| 471 | 471 | if st.public { | |
| 472 | 472 | if sha, mod, err := s.tip(m); err == nil { | |