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.
Say what each change is waiting for in the list
7cc36ba0f4ba96d3f4938b13758b2cc20c22375a · Keenan Nemetz · 5d ago · parent 946d2fd4
Say what each change is waiting for in the list A change spends most of its life in states "open" cannot describe: held for a maintainer to allow CI, running its checks, failed, waiting for a reviewer, conflicting with its base. The list now says which of those it is, in one column, with a tooltip that explains the label. The answer comes from facts a list can afford: the approvals it already counts, one batched run-queue query for every head on the page, the contributor allowance (one ref listing, not one per row), and — only for a change that would otherwise read as ready — whether it still merges into its base. The full landing plan stays on the detail page. The rest of the row follows the issue list: the author and opening moved under the title, the comment count sits at the end of that line, and the last column is "Updated", the newest commit over the request's directory. The list sorts by it. The separate Author, Approvals and Age columns are gone. Closes #194
forge/index/index.go +5−1
| @@ -298,6 +298,10 @@ CREATE INDEX IF NOT EXISTS events_actor ON events(actor, at DESC, id DESC);`); e | |||
| 298 | 298 | db.Close() | |
| 299 | 299 | return nil, err | |
| 300 | 300 | } | |
| 301 | // updated is when the metadata branch last touched the request, derived from | ||
| 302 | // the commits that changed its directory. It is the same disposable shape as | ||
| 303 | // an issue's: a stale value is repaired by a rebuild. | ||
| 304 | _, _ = db.Exec(`ALTER TABLE requests ADD COLUMN updated INTEGER NOT NULL DEFAULT 0`) | ||
| 301 | 305 | // search is the universal search surface: one row for every issue, change | |
| 302 | 306 | // request and comment, with the text FTS5 tokenizes. The first four columns are | |
| 303 | 307 | // UNINDEXED because they identify the result rather than match it; title and | |
| @@ -330,7 +334,7 @@ CREATE VIRTUAL TABLE IF NOT EXISTS search USING fts5( | |||
| 330 | 334 | // and leaves every repo with an empty issues_sha, which makes the next read | |
| 331 | 335 | // rebuild that repo from git. A stale row is worse than a rebuild, and a rebuild is the | |
| 332 | 336 | // operation the index already has to survive. | |
| 333 | const schemaVersion = 13 | ||
| 337 | const schemaVersion = 14 | ||
| 334 | 338 | ||
| 335 | 339 | func (s *Store) migrate() error { | |
| 336 | 340 | var v int | |