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.

Add repository code search

aef992843b95fd107327b103c12d135cd708c11e · Keenan Nemetz · 15d ago · parent 5cab7b18

Add repository code search

The Code tab now searches file names and plain-text contents at the selected branch. Contents go through git grep with fixed strings, case-insensitive matching, binary skipping, and a capped result set; there is no second index to drift. Results group by file and link to line anchors in the blob view. Also highlights a targeted line and adds the remaining polish notes to the UI plan.

server/server.go +1

@@ -181,6 +181,7 @@ func (s *Server) routes() *http.ServeMux {
181 181 mux.HandleFunc("GET /r/{name}", w.Overview)
182 182 mux.HandleFunc("GET /r/{name}/activity", w.Activity)
183 183 mux.HandleFunc("GET /r/{name}/code", w.Code)
184 mux.HandleFunc("GET /r/{name}/search", w.CodeSearch)
184 185 mux.HandleFunc("GET /r/{name}/tree/{ref}", w.Tree)
185 186 mux.HandleFunc("GET /r/{name}/tree/{ref}/{path...}", w.Tree)
186 187 mux.HandleFunc("GET /r/{name}/blob/{ref}/{path...}", w.Blob)