Pack Index: Support 8-byte offsets
- Dominant language
- F#
- Stars
- 34
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
See the code near this line: https://github.com/ForNeVeR/Fenrir/blob/0265c8e1de402e9300bfc5d59114b751dc98e90a/Fenrir.Git/PackIndex.fs#L66
Currently, we only support small offset table from the Git pack inndex files. Bigger pack files are not supported by Fenrir.
See the documentation: https://git-scm.com/docs/pack-format — "A table of 8-byte offset entries […]"
We should support this. A possible repository for testing (manual for now probably?) would be https://github.com/JetBrains/intellij-community
Contributor guide
Research direction
Start in Fenrir.Git/PackIndex.fs around line 66 and compare the current offset-table handling with Git's pack format documentation. Check the 8-byte offset case against a repository with a large pack, such as JetBrains/intellij-community; done means Fenrir can read pack indexes containing 8-byte offsets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp, git
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100