pages.md: browse-page snapshot fixtures ======================================= HTML snapshots of socle's browse pages, served over the hermetic fixture repo (see gitfixture_test.go; its pinned shas appear verbatim below). Each case is a `url` hunk (the GET target) and a `response` hunk (status, headers minus content-length, blank line, body). Regenerate with `go test -run TestPageSnapshots . -testmark.regen` and review the diff. index ----- The repo index: names, descriptions, newest commit subjects. [testmark]:# (index/url) ```text / ``` [testmark]:# (index/response) ```text status: 200 Content-Type: text/html; charset=utf-8 test

repositories

``` repo home --------- Clone URL, branches and tags, and the README rendered at HEAD. [testmark]:# (repo-home/url) ```text /fixturama/ ``` [testmark]:# (repo-home/response) ```text status: 200 Content-Type: text/html; charset=utf-8 fixturama

the fixture

clone: git clone http://socle.example/fixturama

Go 69.9%Rust 20.3%CSS 9.9%

Fixturama馃敆

A repo that exists to be looked at.

README.md 路 49 B 路 main = ced91a8519

branches: dev, main 路 tags: v1.0

``` tree listings ------------- The root tree, and a subdirectory (note the escaped space in the file link). [testmark]:# (tree-root/url) ```text /fixturama/tree/main/ ``` [testmark]:# (tree-root/response) ```text status: 200 Content-Type: text/html; charset=utf-8 fixturama @ main
``` [testmark]:# (tree-docs/url) ```text /fixturama/tree/main/docs/ ``` [testmark]:# (tree-docs/response) ```text status: 200 Content-Type: text/html; charset=utf-8 fixturama/docs @ main
``` file views ---------- Markdown renders; plain text shows preformatted. The sha-addressed variant also demonstrates the immutable cache header. [testmark]:# (file-markdown/url) ```text /fixturama/tree/main/README.md ``` [testmark]:# (file-markdown/response) ```text status: 200 Content-Type: text/html; charset=utf-8 fixturama/README.md @ main

fixturama

README.md

Fixturama馃敆

A repo that exists to be looked at.

README.md 路 49 B 路 ced91a8519

``` [testmark]:# (file-text/url) ```text /fixturama/tree/main/docs/with%20space.txt ``` [testmark]:# (file-text/response) ```text status: 200 Content-Type: text/html; charset=utf-8 fixturama/docs/with space.txt @ main

fixturama

with space.txt

even this filename works

docs/with space.txt 路 25 B 路 ced91a8519

``` [testmark]:# (file-at-sha/url) ```text /fixturama/tree/ced91a8519b59966124301e6383532f24223528b/README.md ``` [testmark]:# (file-at-sha/response) ```text status: 200 Cache-Control: public, max-age=31536000, immutable Content-Type: text/html; charset=utf-8 fixturama/README.md @ ced91a8519

fixturama

README.md

Fixturama馃敆

A repo that exists to be looked at.

README.md 路 49 B 路 ced91a8519

``` log --- [testmark]:# (log-main/url) ```text /fixturama/log/main ``` [testmark]:# (log-main/response) ```text status: 200 Content-Type: text/html; charset=utf-8 fixturama log @ main
``` commit ------ A commit with a parent: metadata, message, and a multi-file diff. [testmark]:# (commit-main/url) ```text /fixturama/commit/ced91a8519b59966124301e6383532f24223528b ``` [testmark]:# (commit-main/response) ```text status: 200 Cache-Control: public, max-age=31536000, immutable Content-Type: text/html; charset=utf-8 fixturama commit ced91a8519

fixturama

add docs and src

commit ced91a8519b59966124301e6383532f24223528b 路 parent 64ac67a35d 路 browse this tree
Ada Fixture, 2026-01-02 03:04:05 UTC

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..178135c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/dist/
diff --git a/docs/notes.md b/docs/notes.md
new file mode 100644
index 0000000..639f33e
--- /dev/null
+++ b/docs/notes.md
@@ -0,0 +1 @@
+Notes live here.
diff --git a/docs/with space.txt b/docs/with space.txt
new file mode 100644
index 0000000..9c8e1ee
--- /dev/null
+++ b/docs/with space.txt	
@@ -0,0 +1 @@
+even this filename works
diff --git a/src/hello.go b/src/hello.go
new file mode 100644
index 0000000..8b9f1d6
--- /dev/null
+++ b/src/hello.go
@@ -0,0 +1,9 @@
+package hello
+
+import "fmt"
+
+// Greet says hello from the fixture, at some length:
+// the meter wants Go to dominate this repo's composition.
+func Greet(name string) string {
+	return fmt.Sprintf("hello, %s, from the fixture", name)
+}
diff --git a/src/hello.txt b/src/hello.txt
new file mode 100644
index 0000000..b0760d0
--- /dev/null
+++ b/src/hello.txt
@@ -0,0 +1 @@
+hello from the fixture
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..987c5fe
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,3 @@
+pub fn greet(name: &str) -> String {
+    format!("hello, {name}")
+}
diff --git a/src/style.css b/src/style.css
new file mode 100644
index 0000000..5e06802
--- /dev/null
+++ b/src/style.css
@@ -0,0 +1 @@
+.hello { color: rebeccapurple; }
diff --git a/vendor/mini.js b/vendor/mini.js
new file mode 100644
index 0000000..633739e
--- /dev/null
+++ b/vendor/mini.js
@@ -0,0 +1 @@
+export const mini = () => 'vendored';
``` The root commit: no parent, so its diff is from scratch. [testmark]:# (commit-root/url) ```text /fixturama/commit/64ac67a35d36079e167cb8f929fd57f859c8b5d1 ``` [testmark]:# (commit-root/response) ```text status: 200 Cache-Control: public, max-age=31536000, immutable Content-Type: text/html; charset=utf-8 fixturama commit 64ac67a35d

fixturama

inaugurate with a readme

commit 64ac67a35d36079e167cb8f929fd57f859c8b5d1 路 browse this tree
Ada Fixture, 2026-01-02 03:04:05 UTC

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..5a52002
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# Fixturama
+
+A repo that exists to be looked at.
``` error pages ----------- A malformed ref is the client's fault; an unknown repo simply isn't there. [testmark]:# (err-bad-ref/url) ```text /fixturama/tree/main..dev/ ``` [testmark]:# (err-bad-ref/response) ```text status: 400 Content-Type: text/plain; charset=utf-8 X-Content-Type-Options: nosniff invalid: ref "main..dev" contains ".." ``` [testmark]:# (err-unknown-repo/url) ```text /nosuch/ ``` [testmark]:# (err-unknown-repo/response) ```text status: 404 Content-Type: text/html; charset=utf-8 nothing here 路 test
```