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/server/reconcile_test.go → server/reconcile_test.go +8−8
| @@ -9,11 +9,11 @@ import ( | |||
| 9 | 9 | "path/filepath" | |
| 10 | 10 | "testing" | |
| 11 | 11 | ||
| 12 | "github.com/rodent-software/vole/internal/access" | ||
| 13 | "github.com/rodent-software/vole/internal/gitx" | ||
| 14 | "github.com/rodent-software/vole/internal/identity" | ||
| 15 | "github.com/rodent-software/vole/internal/repo" | ||
| 16 | "github.com/rodent-software/vole/internal/runs" | ||
| 12 | "github.com/rodent-software/vole/ci/runs" | ||
| 13 | "github.com/rodent-software/vole/core/git" | ||
| 14 | "github.com/rodent-software/vole/forge/access" | ||
| 15 | "github.com/rodent-software/vole/forge/identity" | ||
| 16 | "github.com/rodent-software/vole/forge/repo" | ||
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | // reconcileHarness is the smallest server that can reconcile: the refs and the | |
| @@ -70,11 +70,11 @@ func (h *reconcileHarness) commit(t *testing.T, ref, workflow string) string { | |||
| 70 | 70 | if err != nil { | |
| 71 | 71 | t.Fatal(err) | |
| 72 | 72 | } | |
| 73 | file, err := g.MkTree([]gitx.Entry{{Mode: "100644", Type: "blob", SHA: blob, Name: "ci.yaml"}}) | ||
| 73 | file, err := g.MkTree([]git.Entry{{Mode: "100644", Type: "blob", SHA: blob, Name: "ci.yaml"}}) | ||
| 74 | 74 | if err != nil { | |
| 75 | 75 | t.Fatal(err) | |
| 76 | 76 | } | |
| 77 | dir, err := g.MkTree([]gitx.Entry{{Mode: "040000", Type: "tree", SHA: file, Name: "workflows"}}) | ||
| 77 | dir, err := g.MkTree([]git.Entry{{Mode: "040000", Type: "tree", SHA: file, Name: "workflows"}}) | ||
| 78 | 78 | if err != nil { | |
| 79 | 79 | t.Fatal(err) | |
| 80 | 80 | } | |
| @@ -82,7 +82,7 @@ func (h *reconcileHarness) commit(t *testing.T, ref, workflow string) string { | |||
| 82 | 82 | if err != nil { | |
| 83 | 83 | t.Fatal(err) | |
| 84 | 84 | } | |
| 85 | root, err := g.MkTree([]gitx.Entry{ | ||
| 85 | root, err := g.MkTree([]git.Entry{ | ||
| 86 | 86 | {Mode: "040000", Type: "tree", SHA: dir, Name: ".vole"}, | |
| 87 | 87 | {Mode: "100644", Type: "blob", SHA: readme, Name: "README.md"}, | |
| 88 | 88 | }) | |