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/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.

#191

Show real accounts as repository contributors

merged · by keenan 5d ago · merged into main at a32a859a by keenan 5d ago

keenan opened this 5d ago

Why

The overview’s contributor list came from git shortlog, so it showed whatever name and email a pusher’s git config held. Those strings are not accounts: there is no field that joins them to the roster, and matching on names would let anyone type another account’s name.

What changed

  • The overview ranks real accounts by work the metadata branch records: changes merged, issues those changes fixed, issues the reporter opened that were fixed, and reviews that named the merged head.
  • Counts are scoped to the repository, and only names in the roster are shown.
  • Each row is compact: the account name plus icon/count pairs. Zero counts are omitted, and each icon’s tooltip carries the full label, such as “2 issues fixed”.
  • Resolution is strict: “issues reported” means a merged change closed the issue, not a manual close.
  • The old shortlog-derived contributor table and its refresh path are gone. The index schema moves to 12 and drops repo_contributors; the index is derived, so the next read rebuilds the repository.

Verification

  • go test -tags sqlite_fts5 ./...
  • vole workflow check
  • vole workflow run verify

Discussion (0)

No discussion yet.