├── .github ├── dependabot.yml └── workflows │ ├── go-test.yml │ └── golangci-lint.yml ├── .gitignore ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── SECURITY.md ├── SUPPORT.md ├── cmd ├── spokes-receive-pack-networked-wrapper │ └── main.go └── spokes-receive-pack-wrapper │ └── main.go ├── go.mod ├── go.sum ├── internal ├── config │ ├── git.go │ └── git_test.go ├── governor │ ├── conn.go │ ├── conn_test.go │ ├── governor.go │ ├── governor_test.go │ ├── procstats.go │ └── procstats_linux.go ├── integration │ ├── capabilities_test.go │ ├── chdir.go │ ├── hiderefs_test.go │ ├── integration_networked_repo_test.go │ ├── integration_test.go │ ├── logshim.go │ ├── missingobjects_test.go │ ├── nosideband_test.go │ ├── parse.go │ ├── pushoptions_test.go │ ├── testdata │ │ ├── bad-date │ │ │ ├── sha1.git │ │ │ │ ├── HEAD │ │ │ │ ├── config │ │ │ │ ├── description │ │ │ │ ├── info │ │ │ │ │ └── refs │ │ │ │ ├── objects │ │ │ │ │ ├── info │ │ │ │ │ │ └── packs │ │ │ │ │ └── pack │ │ │ │ │ │ ├── pack-01f7c523f4ab85d86dbe8b116ab6cd69e87497f3.bitmap │ │ │ │ │ │ ├── pack-01f7c523f4ab85d86dbe8b116ab6cd69e87497f3.idx │ │ │ │ │ │ └── pack-01f7c523f4ab85d86dbe8b116ab6cd69e87497f3.pack │ │ │ │ ├── packed-refs │ │ │ │ └── refs │ │ │ │ │ └── .keep │ │ │ └── sha256.git │ │ │ │ ├── HEAD │ │ │ │ ├── config │ │ │ │ ├── description │ │ │ │ ├── info │ │ │ │ └── refs │ │ │ │ ├── objects │ │ │ │ ├── info │ │ │ │ │ └── packs │ │ │ │ └── pack │ │ │ │ │ ├── pack-1a1bc6a0c21b6c3b7683df993586a57ec40580603ee77348431ab8d4f72b55f0.bitmap │ │ │ │ │ ├── pack-1a1bc6a0c21b6c3b7683df993586a57ec40580603ee77348431ab8d4f72b55f0.idx │ │ │ │ │ └── pack-1a1bc6a0c21b6c3b7683df993586a57ec40580603ee77348431ab8d4f72b55f0.pack │ │ │ │ ├── packed-refs │ │ │ │ └── refs │ │ │ │ └── .keep │ │ ├── empty.pack │ │ ├── gitconfig │ │ ├── missing-objects │ │ │ ├── bad.pack │ │ │ ├── empty.pack │ │ │ ├── info.json │ │ │ └── remote.git │ │ │ │ ├── HEAD │ │ │ │ ├── config │ │ │ │ ├── description │ │ │ │ ├── info │ │ │ │ └── refs │ │ │ │ ├── objects │ │ │ │ ├── info │ │ │ │ │ └── packs │ │ │ │ └── pack │ │ │ │ │ ├── pack-3e83f112afcee29136d3e21f295a9ba4d76ce184.bitmap │ │ │ │ │ ├── pack-3e83f112afcee29136d3e21f295a9ba4d76ce184.idx │ │ │ │ │ └── pack-3e83f112afcee29136d3e21f295a9ba4d76ce184.pack │ │ │ │ ├── packed-refs │ │ │ │ └── refs │ │ │ │ └── .keep │ │ ├── remote │ │ │ ├── git-internals-fork.git │ │ │ │ ├── HEAD │ │ │ │ ├── config │ │ │ │ ├── description │ │ │ │ ├── hooks │ │ │ │ │ ├── applypatch-msg.sample │ │ │ │ │ ├── commit-msg.sample │ │ │ │ │ ├── fsmonitor-watchman.sample │ │ │ │ │ ├── post-update.sample │ │ │ │ │ ├── pre-applypatch.sample │ │ │ │ │ ├── pre-commit.sample │ │ │ │ │ ├── pre-merge-commit.sample │ │ │ │ │ ├── pre-push.sample │ │ │ │ │ ├── pre-rebase.sample │ │ │ │ │ ├── pre-receive.sample │ │ │ │ │ ├── prepare-commit-msg.sample │ │ │ │ │ ├── push-to-checkout.sample │ │ │ │ │ └── update.sample │ │ │ │ ├── info │ │ │ │ │ └── exclude │ │ │ │ ├── objects │ │ │ │ │ └── info │ │ │ │ │ │ └── alternates │ │ │ │ ├── packed-refs │ │ │ │ └── refs │ │ │ │ │ ├── heads │ │ │ │ │ └── .gitkeep │ │ │ │ │ └── tags │ │ │ │ │ └── .gitkeep │ │ │ ├── git-internals.git │ │ │ │ ├── HEAD │ │ │ │ ├── config │ │ │ │ ├── objects │ │ │ │ │ └── info │ │ │ │ │ │ └── alternates │ │ │ │ └── packed-refs │ │ │ └── network.git │ │ │ │ ├── HEAD │ │ │ │ ├── config │ │ │ │ ├── description │ │ │ │ ├── objects │ │ │ │ ├── 13 │ │ │ │ │ └── 50f603d9d4712f9219861291e874702427e455 │ │ │ │ ├── 81 │ │ │ │ │ └── 125cd7d188fc6c83fda2a97d0f3f6267713532 │ │ │ │ ├── 96 │ │ │ │ │ └── 9206b2584b8293d677b3f7bbdc6017b8c573f6 │ │ │ │ ├── 05 │ │ │ │ │ └── 9ea99a3c9151f96b2a4f99ea9604a4fff99306 │ │ │ │ ├── 3a │ │ │ │ │ └── a69c529d9a10c64443ec36e7e3599ac60680ab │ │ │ │ ├── 4f │ │ │ │ │ └── 37ac0f4282b2ac78e9242f2b4d570e23d6552c │ │ │ │ ├── 9a │ │ │ │ │ └── e7a27e1095e1e20c099c5bff79c3725825eb6b │ │ │ │ ├── 9d │ │ │ │ │ └── 6d97ef453d420f2b7e3a77b0a68ff1035f78f1 │ │ │ │ ├── a3 │ │ │ │ │ └── 668948e211f5dffc4a66109b97fd23693531ae │ │ │ │ ├── d7 │ │ │ │ │ └── 2ffbc4a701ecb9580058cfddc1d63e0b5ad817 │ │ │ │ ├── e5 │ │ │ │ │ └── 89bdee50e39beac56220c4b7a716225f79e3cf │ │ │ │ ├── e8 │ │ │ │ │ └── 6fe46ef42e3f721af78091d77cff13d95f9db3 │ │ │ │ └── info │ │ │ │ │ └── commit-graphs │ │ │ │ │ ├── commit-graph-chain │ │ │ │ │ └── graph-ebb808245825422c9c8704c510ec9118e52e24cd.graph │ │ │ │ └── refs │ │ │ │ └── remotes │ │ │ │ ├── git-internals-fork │ │ │ │ └── heads │ │ │ │ │ ├── branch-1 │ │ │ │ │ ├── branch-2 │ │ │ │ │ └── main │ │ │ │ └── git-internals │ │ │ │ └── heads │ │ │ │ ├── branch-1 │ │ │ │ ├── branch-2 │ │ │ │ └── main │ │ ├── set-up-bad-date-push │ │ └── set-up-missing-objects-push │ └── util.go ├── objectformat │ ├── git.go │ └── git_test.go ├── pktline │ ├── capabilities.go │ ├── capabilities_test.go │ ├── pktline.go │ └── pktline_test.go ├── receivepack │ └── receivepack.go ├── sockstat │ ├── sockstat.go │ └── sockstat_test.go └── spokes │ ├── spokes.go │ ├── spokes_test.go │ └── testdata │ └── lots-of-refs.git │ ├── HEAD │ ├── config │ ├── description │ ├── info │ ├── exclude │ └── refs │ ├── objects │ ├── info │ │ └── packs │ └── pack │ │ ├── pack-714209910910d57afd6c8c83dcce4057d4f10c0b.bitmap │ │ ├── pack-714209910910d57afd6c8c83dcce4057d4f10c0b.idx │ │ └── pack-714209910910d57afd6c8c83dcce4057d4f10c0b.pack │ ├── packed-refs │ └── refs │ └── heads │ └── main ├── ownership.yaml └── spokes-receive-pack.go /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/go-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/.github/workflows/go-test.yml -------------------------------------------------------------------------------- /.github/workflows/golangci-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/.github/workflows/golangci-lint.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/.gitignore -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/SECURITY.md -------------------------------------------------------------------------------- /SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/SUPPORT.md -------------------------------------------------------------------------------- /cmd/spokes-receive-pack-networked-wrapper/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/cmd/spokes-receive-pack-networked-wrapper/main.go -------------------------------------------------------------------------------- /cmd/spokes-receive-pack-wrapper/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/cmd/spokes-receive-pack-wrapper/main.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/go.sum -------------------------------------------------------------------------------- /internal/config/git.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/config/git.go -------------------------------------------------------------------------------- /internal/config/git_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/config/git_test.go -------------------------------------------------------------------------------- /internal/governor/conn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/governor/conn.go -------------------------------------------------------------------------------- /internal/governor/conn_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/governor/conn_test.go -------------------------------------------------------------------------------- /internal/governor/governor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/governor/governor.go -------------------------------------------------------------------------------- /internal/governor/governor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/governor/governor_test.go -------------------------------------------------------------------------------- /internal/governor/procstats.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/governor/procstats.go -------------------------------------------------------------------------------- /internal/governor/procstats_linux.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/governor/procstats_linux.go -------------------------------------------------------------------------------- /internal/integration/capabilities_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/capabilities_test.go -------------------------------------------------------------------------------- /internal/integration/chdir.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/chdir.go -------------------------------------------------------------------------------- /internal/integration/hiderefs_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/hiderefs_test.go -------------------------------------------------------------------------------- /internal/integration/integration_networked_repo_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/integration_networked_repo_test.go -------------------------------------------------------------------------------- /internal/integration/integration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/integration_test.go -------------------------------------------------------------------------------- /internal/integration/logshim.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/logshim.go -------------------------------------------------------------------------------- /internal/integration/missingobjects_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/missingobjects_test.go -------------------------------------------------------------------------------- /internal/integration/nosideband_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/nosideband_test.go -------------------------------------------------------------------------------- /internal/integration/parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/parse.go -------------------------------------------------------------------------------- /internal/integration/pushoptions_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/pushoptions_test.go -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha1.git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha1.git/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha1.git/config -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha1.git/description: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha1.git/description -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha1.git/info/refs: -------------------------------------------------------------------------------- 1 | e1971a634e8b1e52b09eba0d21d03ec291c6b690 refs/heads/main 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha1.git/objects/info/packs: -------------------------------------------------------------------------------- 1 | P pack-01f7c523f4ab85d86dbe8b116ab6cd69e87497f3.pack 2 | 3 | -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha1.git/objects/pack/pack-01f7c523f4ab85d86dbe8b116ab6cd69e87497f3.bitmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha1.git/objects/pack/pack-01f7c523f4ab85d86dbe8b116ab6cd69e87497f3.bitmap -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha1.git/objects/pack/pack-01f7c523f4ab85d86dbe8b116ab6cd69e87497f3.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha1.git/objects/pack/pack-01f7c523f4ab85d86dbe8b116ab6cd69e87497f3.idx -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha1.git/objects/pack/pack-01f7c523f4ab85d86dbe8b116ab6cd69e87497f3.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha1.git/objects/pack/pack-01f7c523f4ab85d86dbe8b116ab6cd69e87497f3.pack -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha1.git/packed-refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha1.git/packed-refs -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha1.git/refs/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha256.git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha256.git/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha256.git/config -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha256.git/description: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha256.git/description -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha256.git/info/refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha256.git/info/refs -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha256.git/objects/info/packs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha256.git/objects/info/packs -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha256.git/objects/pack/pack-1a1bc6a0c21b6c3b7683df993586a57ec40580603ee77348431ab8d4f72b55f0.bitmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha256.git/objects/pack/pack-1a1bc6a0c21b6c3b7683df993586a57ec40580603ee77348431ab8d4f72b55f0.bitmap -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha256.git/objects/pack/pack-1a1bc6a0c21b6c3b7683df993586a57ec40580603ee77348431ab8d4f72b55f0.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha256.git/objects/pack/pack-1a1bc6a0c21b6c3b7683df993586a57ec40580603ee77348431ab8d4f72b55f0.idx -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha256.git/objects/pack/pack-1a1bc6a0c21b6c3b7683df993586a57ec40580603ee77348431ab8d4f72b55f0.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha256.git/objects/pack/pack-1a1bc6a0c21b6c3b7683df993586a57ec40580603ee77348431ab8d4f72b55f0.pack -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha256.git/packed-refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/bad-date/sha256.git/packed-refs -------------------------------------------------------------------------------- /internal/integration/testdata/bad-date/sha256.git/refs/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /internal/integration/testdata/empty.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/empty.pack -------------------------------------------------------------------------------- /internal/integration/testdata/gitconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/gitconfig -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/bad.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/missing-objects/bad.pack -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/empty.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/missing-objects/empty.pack -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/missing-objects/info.json -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/remote.git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/example 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/remote.git/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/missing-objects/remote.git/config -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/remote.git/description: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/missing-objects/remote.git/description -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/remote.git/info/refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/missing-objects/remote.git/info/refs -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/remote.git/objects/info/packs: -------------------------------------------------------------------------------- 1 | P pack-3e83f112afcee29136d3e21f295a9ba4d76ce184.pack 2 | 3 | -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/remote.git/objects/pack/pack-3e83f112afcee29136d3e21f295a9ba4d76ce184.bitmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/missing-objects/remote.git/objects/pack/pack-3e83f112afcee29136d3e21f295a9ba4d76ce184.bitmap -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/remote.git/objects/pack/pack-3e83f112afcee29136d3e21f295a9ba4d76ce184.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/missing-objects/remote.git/objects/pack/pack-3e83f112afcee29136d3e21f295a9ba4d76ce184.idx -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/remote.git/objects/pack/pack-3e83f112afcee29136d3e21f295a9ba4d76ce184.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/missing-objects/remote.git/objects/pack/pack-3e83f112afcee29136d3e21f295a9ba4d76ce184.pack -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/remote.git/packed-refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/missing-objects/remote.git/packed-refs -------------------------------------------------------------------------------- /internal/integration/testdata/missing-objects/remote.git/refs/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/config -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/description: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/description -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/applypatch-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/applypatch-msg.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/commit-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/commit-msg.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/fsmonitor-watchman.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/fsmonitor-watchman.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/post-update.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/post-update.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/pre-applypatch.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/pre-applypatch.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/pre-commit.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/pre-commit.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/pre-merge-commit.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/pre-merge-commit.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/pre-push.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/pre-push.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/pre-rebase.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/pre-rebase.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/pre-receive.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/pre-receive.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/prepare-commit-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/prepare-commit-msg.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/push-to-checkout.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/push-to-checkout.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/hooks/update.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/hooks/update.sample -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/info/exclude: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/info/exclude -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/objects/info/alternates: -------------------------------------------------------------------------------- 1 | ../../network.git/objects 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/packed-refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals-fork.git/packed-refs -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/refs/heads/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals-fork.git/refs/tags/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals.git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals.git/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals.git/config -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals.git/objects/info/alternates: -------------------------------------------------------------------------------- 1 | ../../network.git/objects 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/git-internals.git/packed-refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/git-internals.git/packed-refs -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/config -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/description: -------------------------------------------------------------------------------- 1 | git-nw shared network.git repository 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/05/9ea99a3c9151f96b2a4f99ea9604a4fff99306: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/05/9ea99a3c9151f96b2a4f99ea9604a4fff99306 -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/13/50f603d9d4712f9219861291e874702427e455: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/13/50f603d9d4712f9219861291e874702427e455 -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/3a/a69c529d9a10c64443ec36e7e3599ac60680ab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/3a/a69c529d9a10c64443ec36e7e3599ac60680ab -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/4f/37ac0f4282b2ac78e9242f2b4d570e23d6552c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/4f/37ac0f4282b2ac78e9242f2b4d570e23d6552c -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/81/125cd7d188fc6c83fda2a97d0f3f6267713532: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/81/125cd7d188fc6c83fda2a97d0f3f6267713532 -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/96/9206b2584b8293d677b3f7bbdc6017b8c573f6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/96/9206b2584b8293d677b3f7bbdc6017b8c573f6 -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/9a/e7a27e1095e1e20c099c5bff79c3725825eb6b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/9a/e7a27e1095e1e20c099c5bff79c3725825eb6b -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/9d/6d97ef453d420f2b7e3a77b0a68ff1035f78f1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/9d/6d97ef453d420f2b7e3a77b0a68ff1035f78f1 -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/a3/668948e211f5dffc4a66109b97fd23693531ae: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/a3/668948e211f5dffc4a66109b97fd23693531ae -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/d7/2ffbc4a701ecb9580058cfddc1d63e0b5ad817: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/d7/2ffbc4a701ecb9580058cfddc1d63e0b5ad817 -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/e5/89bdee50e39beac56220c4b7a716225f79e3cf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/e5/89bdee50e39beac56220c4b7a716225f79e3cf -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/e8/6fe46ef42e3f721af78091d77cff13d95f9db3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/e8/6fe46ef42e3f721af78091d77cff13d95f9db3 -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/info/commit-graphs/commit-graph-chain: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/info/commit-graphs/commit-graph-chain -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/objects/info/commit-graphs/graph-ebb808245825422c9c8704c510ec9118e52e24cd.graph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/remote/network.git/objects/info/commit-graphs/graph-ebb808245825422c9c8704c510ec9118e52e24cd.graph -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/refs/remotes/git-internals-fork/heads/branch-1: -------------------------------------------------------------------------------- 1 | 4f37ac0f4282b2ac78e9242f2b4d570e23d6552c 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/refs/remotes/git-internals-fork/heads/branch-2: -------------------------------------------------------------------------------- 1 | 9ae7a27e1095e1e20c099c5bff79c3725825eb6b 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/refs/remotes/git-internals-fork/heads/main: -------------------------------------------------------------------------------- 1 | e589bdee50e39beac56220c4b7a716225f79e3cf 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/refs/remotes/git-internals/heads/branch-1: -------------------------------------------------------------------------------- 1 | 4f37ac0f4282b2ac78e9242f2b4d570e23d6552c 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/refs/remotes/git-internals/heads/branch-2: -------------------------------------------------------------------------------- 1 | 9ae7a27e1095e1e20c099c5bff79c3725825eb6b 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/remote/network.git/refs/remotes/git-internals/heads/main: -------------------------------------------------------------------------------- 1 | e589bdee50e39beac56220c4b7a716225f79e3cf 2 | -------------------------------------------------------------------------------- /internal/integration/testdata/set-up-bad-date-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/set-up-bad-date-push -------------------------------------------------------------------------------- /internal/integration/testdata/set-up-missing-objects-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/testdata/set-up-missing-objects-push -------------------------------------------------------------------------------- /internal/integration/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/integration/util.go -------------------------------------------------------------------------------- /internal/objectformat/git.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/objectformat/git.go -------------------------------------------------------------------------------- /internal/objectformat/git_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/objectformat/git_test.go -------------------------------------------------------------------------------- /internal/pktline/capabilities.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/pktline/capabilities.go -------------------------------------------------------------------------------- /internal/pktline/capabilities_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/pktline/capabilities_test.go -------------------------------------------------------------------------------- /internal/pktline/pktline.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/pktline/pktline.go -------------------------------------------------------------------------------- /internal/pktline/pktline_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/pktline/pktline_test.go -------------------------------------------------------------------------------- /internal/receivepack/receivepack.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/receivepack/receivepack.go -------------------------------------------------------------------------------- /internal/sockstat/sockstat.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/sockstat/sockstat.go -------------------------------------------------------------------------------- /internal/sockstat/sockstat_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/sockstat/sockstat_test.go -------------------------------------------------------------------------------- /internal/spokes/spokes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/spokes/spokes.go -------------------------------------------------------------------------------- /internal/spokes/spokes_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/spokes/spokes_test.go -------------------------------------------------------------------------------- /internal/spokes/testdata/lots-of-refs.git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /internal/spokes/testdata/lots-of-refs.git/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/spokes/testdata/lots-of-refs.git/config -------------------------------------------------------------------------------- /internal/spokes/testdata/lots-of-refs.git/description: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/spokes/testdata/lots-of-refs.git/description -------------------------------------------------------------------------------- /internal/spokes/testdata/lots-of-refs.git/info/exclude: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/spokes/testdata/lots-of-refs.git/info/exclude -------------------------------------------------------------------------------- /internal/spokes/testdata/lots-of-refs.git/info/refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/spokes/testdata/lots-of-refs.git/info/refs -------------------------------------------------------------------------------- /internal/spokes/testdata/lots-of-refs.git/objects/info/packs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/spokes/testdata/lots-of-refs.git/objects/info/packs -------------------------------------------------------------------------------- /internal/spokes/testdata/lots-of-refs.git/objects/pack/pack-714209910910d57afd6c8c83dcce4057d4f10c0b.bitmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/spokes/testdata/lots-of-refs.git/objects/pack/pack-714209910910d57afd6c8c83dcce4057d4f10c0b.bitmap -------------------------------------------------------------------------------- /internal/spokes/testdata/lots-of-refs.git/objects/pack/pack-714209910910d57afd6c8c83dcce4057d4f10c0b.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/spokes/testdata/lots-of-refs.git/objects/pack/pack-714209910910d57afd6c8c83dcce4057d4f10c0b.idx -------------------------------------------------------------------------------- /internal/spokes/testdata/lots-of-refs.git/objects/pack/pack-714209910910d57afd6c8c83dcce4057d4f10c0b.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/spokes/testdata/lots-of-refs.git/objects/pack/pack-714209910910d57afd6c8c83dcce4057d4f10c0b.pack -------------------------------------------------------------------------------- /internal/spokes/testdata/lots-of-refs.git/packed-refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/internal/spokes/testdata/lots-of-refs.git/packed-refs -------------------------------------------------------------------------------- /internal/spokes/testdata/lots-of-refs.git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 6a9ee41101de417acd4db5b7a18b66a5e1b54496 2 | -------------------------------------------------------------------------------- /ownership.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/ownership.yaml -------------------------------------------------------------------------------- /spokes-receive-pack.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/spokes-receive-pack/HEAD/spokes-receive-pack.go --------------------------------------------------------------------------------