Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

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.

Let instance admins create repositories

455835e7b5d329ca64c96234dfffc7b6702f370e · Keenan Nemetz · 15d ago · parent 395554f4

Let instance admins create repositories

The Admin section gains a New repository form: name, owner, and description. Creation uses the same store method as the CLI, seeds the owner as repo admin, updates the index, is audited, and lands on the new repository's access editor. This completes the instance-admin slice in the UI plan.

server/server.go +2

@@ -166,6 +166,8 @@ func (s *Server) routes() *http.ServeMux {
166 166 mux.HandleFunc("GET /auth.js", w.AuthJS)
167 167 mux.HandleFunc("GET /runners", w.RunnersPage)
168 168 mux.HandleFunc("GET /admin", w.AdminPage)
169 mux.HandleFunc("GET /admin/repos/new", w.AdminNewRepoPage)
170 mux.HandleFunc("POST /admin/repos", w.CreateAdminRepo)
169 171 mux.HandleFunc("GET /admin/users", w.AdminUsersPage)
170 172 mux.HandleFunc("POST /admin/users", w.CreateAdminUser)
171 173 mux.HandleFunc("GET /admin/users/{id}", w.AdminUserPage)