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.

refactor

c5902451905acdaa478f8476844ccd4a510d9ca9 · Keenan Nemetz · 17d ago · parent ec2aba4b

internal/hook/records.go → server/hook/records.go +5−5

@@ -21,12 +21,12 @@ package hook
21 21 import (
22 22 "fmt"
23 23
24 "github.com/rodent-software/vole/internal/acl"
25 "github.com/rodent-software/vole/internal/gitx"
26 "github.com/rodent-software/vole/internal/runs"
24 "github.com/rodent-software/vole/ci/runs"
25 "github.com/rodent-software/vole/core/git"
26 "github.com/rodent-software/vole/forge/access"
27 27 )
28 28
29 func recordFindings(g *gitx.Repo, c change, a *acl.ACL, actor, actorID, repoName, usersDB, runsDB string, who func(string) string) []string {
29 func recordFindings(g *git.Repo, c change, a *access.ACL, actor, actorID, repoName, usersDB, runsDB string, who func(string) string) []string {
30 30 added, problems, err := runs.CheckPush(g, c.old, c.new)
31 31 if err != nil {
32 32 return []string{fmt.Sprintf("%s: cannot read the run records in this push: %v", c.ref, err)}
@@ -65,7 +65,7 @@ func recordFindings(g *gitx.Repo, c change, a *acl.ACL, actor, actorID, repoName
65 65 // account that pushed it, and that is the same rule an issue's author and an approval's
66 66 // owner follow. There is no signature to check, because there is no signature anywhere
67 67 // else either.
68 func recordProblems(g *gitx.Repo, store *runs.Store, rec runs.Record, actor, actorID, repoName string) []string {
68 func recordProblems(g *git.Repo, store *runs.Store, rec runs.Record, actor, actorID, repoName string) []string {
69 69 where := runs.RecordPath(rec.RunID, rec.Attempt)
70 70 var out []string
71 71