upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/learnings
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-12 14:05:51 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-12 14:05:51 +0000
commit817ce37a5ee8d6279a44cf8cce3cc6a1e4bab576 (patch)
tree9fd5a6d3969afc33baa900bdab25bff81c5a83a4 /docs/learnings
parentf25eea8cc3b940cbcaa96224485826bfaae82449 (diff)
feat: add uploadpack.allowFilter support for GRASP-01 compliance
Add mandatory uploadpack.allowFilter capability to support partial clones and fetches as required by GRASP-01 specification. This enables efficient git operations for bandwidth-constrained clients (e.g., browser-based git clients like git-natural-api). Changes: - Add uploadpack.allowFilter=true to git subprocess configuration - Update SmartGitServer test helper with filter support - Add integration tests for filter capability advertisement and functionality - Update documentation to reflect filter as required capability Tests verify: - Filter capability is advertised in info/refs - Filtered clones with blob:none work correctly - Filtered fetches with tree:0 work correctly
Diffstat (limited to 'docs/learnings')
-rw-r--r--docs/learnings/grasp-01-implementation.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/learnings/grasp-01-implementation.md b/docs/learnings/grasp-01-implementation.md
index 14ab452..27124af 100644
--- a/docs/learnings/grasp-01-implementation.md
+++ b/docs/learnings/grasp-01-implementation.md
@@ -42,7 +42,8 @@
42- ✅ Recursive maintainer chain support 42- ✅ Recursive maintainer chain support
43- ✅ HEAD set from state events 43- ✅ HEAD set from state events
44- ✅ `refs/nostr/<event-id>` support for PRs 44- ✅ `refs/nostr/<event-id>` support for PRs
45- ✅ `allow-tip-sha1-in-want` and `allow-reachable-sha1-in-want` 45- ✅ `allow-tip-sha1-in-want` and `allow-reachable-sha1-in-want` (GRASP-01 requirement)
46- ✅ `uploadpack.allowFilter` for partial clone support (required by git-natural-api)
46 47
47--- 48---
48 49