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.

Drop the legacy run-record import

59badc638dde0655b11d01eebfe3a457735d2501 · Keenan Nemetz · 11d 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.

server/hook/quotas.go +1−1

@@ -133,7 +133,7 @@ func metadataSize(g *git.Repo, tip string) (entries int, bytes int64, err error)
133 133 // comments, requests with approvals and comments, and the run and release
134 134 // records a runner or a maintainer adds. These are what a page load parses.
135 135 for _, dir := range []string{
136 metadata.IssuesDir, metadata.RequestsDir, metadata.RunsDir, metadata.ReleasesDir,
136 metadata.IssuesDir, metadata.RequestsDir, metadata.ReleasesDir,
137 137 } {
138 138 if strings.HasPrefix(e.Name, dir+"/") {
139 139 entries++