aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* reachability: Refactor v0.1.41Gravatar Runxi Yu2026-03-038-313/+344
|
* config: Fix lints v0.1.40Gravatar Runxi Yu2026-03-031-6/+8
|
* object, repository: Ignore erroneous new staticcheckGravatar Runxi Yu2026-03-032-0/+4
|
* reachability: Add basic reachability APIGravatar Runxi Yu2026-03-034-0/+1193
|
* TODO: Looks like receive also needs reachabilityGravatar Runxi Yu2026-03-031-0/+1
|
* TODO: What we need before we do the network protocols?Gravatar Runxi Yu2026-03-031-0/+17
|
* objectstore/packed: Check pack/idx checksums here.Gravatar Runxi Yu2026-03-033-110/+31
| | | | | | | | | | | | | | | | | | | | | | We previously had helpers in format/pack/checksum that checks .pack/.idx-related checksums with []byte-based APIs. But it only really makes sense to use those []byte-based APIs on mmap's (otherwise it'd be horribly inefficient). Since the packed object-store only needs to check that the .pack and .idx trailer match, we move the relevant part into objectstore/packed. The rest are deleted for now; we'll definitely need a streaming version for the pack verification (when ingesting packfiles from the network) (though we might just make it a streaming API (writer? reader? not decided yet) that *produces* a hash, then verify it in the caller; this way we could reuse the function in the pack-producing routines). The others might get the []byte-based APIs back, or perhaps they too get streaming APIs. Remember that "reading objects from a packed object store", "creating/writing packfiles", and "ingesting an incoming pack (which usually involves creating an .idx for it)", are all very different tasks.
* config: Add fuzz, regression tests, and updates v0.1.39Gravatar Runxi Yu2026-03-017-63/+565
|
* object: Rename ident to signature v0.1.38Gravatar Runxi Yu2026-02-225-34/+34
|
* *: Fix the broken comments for overescaping that python scriptGravatar Runxi Yu2026-02-223-4/+4
|
* show-object: Fix defer v0.1.37Gravatar Runxi Yu2026-02-221-5/+13
|
* repository: Accept root instead of repopath v0.1.36Gravatar Runxi Yu2026-02-229-51/+150
|
* internal/lru: Rename from internal/cache/lruGravatar Runxi Yu2026-02-224-4/+2
|
* adler32: Use binary.BigEndian to avoid the gosec warning v0.1.35Gravatar Runxi Yu2026-02-221-2/+1
|
* adler32: Fix comment lintGravatar Runxi Yu2026-02-221-1/+1
|
* adler32: Use adler32_test as the test package nameGravatar Runxi Yu2026-02-221-3/+5
|
* adler32: Rename constant symbols v0.1.34Gravatar Runxi Yu2026-02-221-15/+9
|
* adler32: Remove sse3 and arm64/neonGravatar Runxi Yu2026-02-227-523/+6
| | | | I can't maintain it
* adler32: Use proper instructions for avx2Gravatar Runxi Yu2026-02-221-213/+207
|
* adler32: Use reasonable label namesGravatar Runxi Yu2026-02-223-72/+72
|
* go.mod: Add x/sys v0.1.33Gravatar Runxi Yu2026-02-222-1/+6
|
* zlib: Use internal adler32Gravatar Runxi Yu2026-02-222-2/+4
|
* adler32: ImportGravatar Runxi Yu2026-02-2214-0/+1002
|
* objectstore/chain: Fix lints v0.1.32Gravatar Runxi Yu2026-02-221-59/+59
|
* objectstore/chain: MRU especially to reduce loose object syscall cost v0.1.31Gravatar Runxi Yu2026-02-221-39/+122
|
* repository: Make traverseTreeIter use filemode instead of resolving size v0.1.30Gravatar Runxi Yu2026-02-221-10/+18
|
* format/delta/apply, etc.: ReadHeaderSizes should use ByteReaderGravatar Runxi Yu2026-02-222-31/+26
|
* objectstore/packed: Pre-allocate instead of ReadAllGravatar Runxi Yu2026-02-221-10/+17
|
* bufpool: Document how .Bytes is intended to be usedGravatar Runxi Yu2026-02-221-0/+6
|
* repository: Modernize b.N/b.Loop usageGravatar Runxi Yu2026-02-221-1/+1
|
* README: Refer to the legacy branchGravatar Runxi Yu2026-02-221-1/+1
|
* internal/zlib: Use klauspost/compress/flate for now... v0.1.29Gravatar Runxi Yu2026-02-214-2/+8
|
* objectstore/*, repository: Add ReadSize v0.1.28Gravatar Runxi Yu2026-02-216-0/+93
| | | | | For cases where knowing the type is unnecessary and incurs extra overhead.
* repository: traverseTreeIter should use ReadHeader for blob size v0.1.27Gravatar Runxi Yu2026-02-211-6/+10
|
* repository: Add full-traversal benchmarkGravatar Runxi Yu2026-02-213-37/+143
|
* *: Fix nosecGravatar Runxi Yu2026-02-215-8/+10
|
* internal/zlib: Fix lintsGravatar Runxi Yu2026-02-212-56/+66
|
* bufpool: Fix lintsGravatar Runxi Yu2026-02-212-4/+15
|
* objectstore/packed: Don't use full delta reconstruction just to read headersGravatar Runxi Yu2026-02-215-24/+84
|
* objectstore/packed: Improve delta base cachingGravatar Runxi Yu2026-02-214-80/+108
|
* objectstore/packed: Best-effort touchCandidateGravatar Runxi Yu2026-02-211-1/+4
|
* objectstore/packed: Optimize pack candidate lookup and lockingGravatar Runxi Yu2026-02-213-40/+116
|
* objectstore/packed: Separate idx candidate lookup vs actually opening itGravatar Runxi Yu2026-02-212-110/+116
|
* objectstore/packed: Lazily parse idx metadataGravatar Runxi Yu2026-02-212-69/+144
|
* objectstore/packed: Verify that the index matches the packGravatar Runxi Yu2026-02-211-0/+33
|
* format/pack/checksum: Move things about pack trailers hereGravatar Runxi Yu2026-02-211-0/+108
|
* objectstore/packed: Use constants/functions from format/packGravatar Runxi Yu2026-02-216-85/+87
|
* format/pack: Extract general constants and such from objectstore/packedGravatar Runxi Yu2026-02-212-0/+96
|
* format/delta/apply: Move core delta apply algorithm hereGravatar Runxi Yu2026-02-214-169/+180
|
* bufpool: ImportGravatar Runxi Yu2026-02-212-0/+266
|