A CLI-first git forge.

cli forge git self-hosted

https://gitbay.org

Commit f259df57cf

f259df57cf7008207bdef2e1c12a0b2e532ea6e9

parent: 30ef5fd837

Verified · cmc ci/build: success

cmc <hello@cleberg.net> · 2026-08-30T03:27:41Z

gofmt

Whitespace and import ordering only; no behaviour change.
cmd/gitbayd/main.go +4 −5
@@ -18,15 +18,15 @@ import (
1818 "golang.org/x/crypto/acme/autocert"
1919 "golang.org/x/crypto/ssh"
2020
21 "gitbay.org/gitbay/internal/config"
2221 "gitbay.org/gitbay/internal/ci"
22 "gitbay.org/gitbay/internal/config"
2323 "gitbay.org/gitbay/internal/control"
24 "gitbay.org/gitbay/internal/mail"
25 "gitbay.org/gitbay/internal/mirror"
26 "gitbay.org/gitbay/internal/notify"
2724 "gitbay.org/gitbay/internal/gitd"
2825 "gitbay.org/gitbay/internal/hookd"
2926 "gitbay.org/gitbay/internal/httpd"
27 "gitbay.org/gitbay/internal/mail"
28 "gitbay.org/gitbay/internal/mirror"
29 "gitbay.org/gitbay/internal/notify"
3030 "gitbay.org/gitbay/internal/policy"
3131 "gitbay.org/gitbay/internal/sshd"
3232 "gitbay.org/gitbay/internal/store"
@@ -179,7 +179,6 @@ func serveCmd() *cobra.Command {
179179 slog.Info("ssh handled by host sshd (ssh.mode = system)")
180180 }
181181
182
183182 web := httpd.New(cfg, st)
184183 hs := &http.Server{Addr: cfg.HTTP.Addr, Handler: web.Handler()}
185184 go func() {
e2e/design_test.go +8 −8
@@ -43,15 +43,15 @@ func TestReadmeRelativeLinks(t *testing.T) {
4343 t.Fatalf("tree: %d", status)
4444 }
4545 for _, want := range []string{
46 `href="/alice/site/blob/main/docs/guide.md"`, // relative link
47 `href="/alice/site/blob/main/docs/paper.org"`, // .html mapped to .org source
48 `src="/alice/site/raw/main/img/logo.png"`, // relative image via raw
49 `src="https://example.org/pic.png"`, // remote image untouched
50 `href="https://example.org/x"`, // absolute untouched
51 "<table>", "<td>verbose</td>", // GFM table renders
52 `<span class="kd">func</span>`, // fenced code highlighted via classes
46 `href="/alice/site/blob/main/docs/guide.md"`, // relative link
47 `href="/alice/site/blob/main/docs/paper.org"`, // .html mapped to .org source
48 `src="/alice/site/raw/main/img/logo.png"`, // relative image via raw
49 `src="https://example.org/pic.png"`, // remote image untouched
50 `href="https://example.org/x"`, // absolute untouched
51 "<table>", "<td>verbose</td>", // GFM table renders
52 `<span class="kd">func</span>`, // fenced code highlighted via classes
5353 `href="/alice/site/blob/main/README.md">README.md</a>`, // clickable card header
54 `<th scope="col">name</th>`, // file table column headers
54 `<th scope="col">name</th>`, // file table column headers
5555 } {
5656 if !strings.Contains(body, want) {
5757 t.Errorf("missing %q", want)
e2e/ssh_test.go +1 −1
@@ -54,7 +54,7 @@ func startInstance(t *testing.T) *instance {
5454 func startInstanceWith(t *testing.T, extra string) *instance {
5555 t.Helper()
5656 inst := &instance{
57 gitbayd: buildGitbayd(t),
57 gitbayd: buildGitbayd(t),
5858 root: t.TempDir(),
5959 port: freePort(t),
6060 httpPort: freePort(t),