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/server/releases_test.go → server/releases_test.go +3−3

@@ -17,7 +17,7 @@ import (
17 17 "testing"
18 18 "time"
19 19
20 "github.com/rodent-software/vole/internal/gc"
20 "github.com/rodent-software/vole/forge"
21 21 )
22 22
23 23 // releaseFixture builds a repository with one commit tagged v0.9.0 and a second
@@ -440,8 +440,8 @@ func TestGCCountsReleaseArtifactsAsReachable(t *testing.T) {
440 440 t.Fatal(err)
441 441 }
442 442
443 res, err := gc.Run(gc.Options{
444 Repos: []gc.Repo{{Name: f.repo, Dir: filepath.Join(f.cfg.ReposDir(), f.repo+".git")}},
443 res, err := forge.GC(forge.GCOptions{
444 Repos: []forge.GCRepo{{Name: f.repo, Dir: filepath.Join(f.cfg.ReposDir(), f.repo+".git")}},
445 445 Store: f.srv.LFS,
446 446 // Far enough ahead that the grace period protects nothing.
447 447 Now: time.Now().Add(48 * time.Hour),