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.

Give every account a profile page and a directory of accounts

a6b42433c087ab0c936e34a1d05cf488db7a92d6 · Keenan Nemetz · 8d ago · parent 727df386

Give every account a profile page and a directory of accounts

Clicking a name now opens /u/<name>: the issues and changes somebody
opened, the reviews they gave, the comments they left, and the
repositories that work is in. The numbers and the feed are grouped reads
of the same event rows the activity feed pages through, so a profile
cannot disagree with the feed, and every read is limited to the
repositories the reader may open. A private repository's work is not a
number an outsider gets to learn, so two readers can see different
totals and the page says what its numbers cover.

/u lists the roster. Account names are public on this instance; their
activity is not. Both pages ask crawlers to leave them out of an index.

@name in an issue, a comment, a change request, or a release note links
to the account it addresses, using the mention scanner CI already
evaluates: what reads as an address on the page is what a workflow sees.
A name that is not an account stays text, and code samples are skipped.

Git author names are not linked and commit counts are not shown. A
commit author is a name somebody typed, not the credential that proves
an account, and the index only keeps the top eight authors of each
default branch anyway.

server/web/auth.go +4−1

@@ -431,7 +431,10 @@ func (w *Web) page(r *http.Request, title string) Page {
431 431 p.InstanceAdmin = w.Ident.IsAdmin(p.AccountName)
432 432 }
433 433 if w.Repos != nil {
434 if name := r.PathValue("name"); name != "" {
434 // `{name}` is a repository only under /r/. A profile (/u/{name}) and the
435 // admin account page (/users/{name}) use the same path variable for an
436 // account, and neither should cost a failed repository lookup.
437 if name := r.PathValue("name"); name != "" && strings.HasPrefix(r.URL.Path, "/r/") {
435 438 p.RepoName = name
436 439 if m, err := w.repo(p.memo, name); err == nil {
437 440 p.CloneURL = w.cloneURL(r, name)