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.

Drop the legacy run-record import

59badc638dde0655b11d01eebfe3a457735d2501 · Keenan Nemetz · 10d ago · parent b312e166

Drop the legacy run-record import

There is no released instance to stay compatible with, so the file format
under runs/, the branch importer, and the pre-receive allowance for that
directory are gone. The Record value is now only the finish wire format and the
shape stored in run_attempts. metadata.ValidateIssues rejects runs/ like any
other unknown directory, and vole admin index rebuild no longer reads run
history from Git.

An existing instance migrates once with the previous build, then rewrites the
vole branch to remove the old records. Nothing in this build reads them.

ci/runs/attest.go +6−8

@@ -20,15 +20,13 @@ import (
20 20 "time"
21 21 )
22 22
23 // Attestation is who reported a run and, for a record imported from an old branch,
24 // the commit that carried it. In the current shape the attempt row is the record:
25 // CommitID is empty for anything stored since the move and is kept for legacy data.
23 // Attestation is who reported a run. The attempt row is the record; this row exists
24 // so a page or a gate can name the reporter without reading the whole attempt.
26 25 type Attestation struct {
27 RunID string
28 Attempt int
29 Signer string
30 CommitID string
31 Created time.Time
26 RunID string
27 Attempt int
28 Signer string
29 Created time.Time
32 30 }
33 31
34 32 // StepDigest is the hash of a run's pinned steps. It is computed once, when the