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.
Create the instance repository on init and list it normally
3e7c5e6797105f87fe593bb4c34743d3615ab598 · Keenan Nemetz · 1d ago · parent 6ce635a8
Create the instance repository on init and list it normally `vole admin init` now creates the configured instance repository with the starter tree and indexes it, so a new instance starts with it. The repository is no longer hidden from the home page or activity feed: it has the same pages, history, and settings as any other, and its visibility is its own. The Admin page's create button remains as the repair path for an instance that predates this, using the same starter tree from the instancerepo package.
server/instance_repo_test.go +4−3
| @@ -57,17 +57,18 @@ func TestInstanceRepoSuppliesThePage(t *testing.T) { | |||
| 57 | 57 | } | |
| 58 | 58 | } | |
| 59 | 59 | ||
| 60 | func TestInstanceRepoIsNotAProject(t *testing.T) { | ||
| 60 | func TestInstanceRepoIsListedLikeAnyOtherRepository(t *testing.T) { | ||
| 61 | 61 | t.Parallel() | |
| 62 | 62 | f := newFixture(t) | |
| 63 | 63 | f.publish(f.repo) | |
| 64 | 64 | f.instanceRepo(t, map[string][]byte{ | |
| 65 | 65 | "profile/README.md": []byte("What this forge is for."), | |
| 66 | 66 | }) | |
| 67 | f.publish(f.cfg.InstanceRepo) | ||
| 67 | 68 | ||
| 68 | 69 | _, body := f.get("/") | |
| 69 | if strings.Contains(body, `href="/r/`+f.cfg.InstanceRepo+`"`) { | ||
| 70 | t.Fatalf("the instance repository is listed as a project:\n%s", body) | ||
| 70 | if !strings.Contains(body, `href="/r/`+f.cfg.InstanceRepo+`"`) { | ||
| 71 | t.Fatalf("the instance repository is missing from the repository list:\n%s", body) | ||
| 71 | 72 | } | |
| 72 | 73 | if !strings.Contains(body, `href="/r/demo"`) { | |
| 73 | 74 | t.Fatalf("the project repository disappeared:\n%s", body) | |