Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiPack index support #279

Closed
6 tasks done
Byron opened this issue Dec 20, 2021 · 1 comment
Closed
6 tasks done

MultiPack index support #279

Byron opened this issue Dec 20, 2021 · 1 comment

Comments

@Byron
Copy link
Owner

Byron commented Dec 20, 2021

MultiPack indices are saving resources and speed up object access, they are less common locally but great on the server.

Tasks

  • multi_index::File as a way to read the file format
  • multi-index verification #282
  • multi-index writing
  • integration into git_odb::Store
  • assure packs can be built when a multi-pack index is present
  • optional light-weight verification similar to what git does
@Byron Byron created this issue from a note in Collaboration Board (In progress) Dec 20, 2021
Byron added a commit that referenced this issue Dec 20, 2021
Byron added a commit that referenced this issue Dec 20, 2021
Byron added a commit that referenced this issue Dec 20, 2021
It yields the amount of bytes needed to store the hash.
Byron added a commit that referenced this issue Dec 20, 2021
Byron added a commit that referenced this issue Dec 20, 2021
Byron added a commit that referenced this issue Dec 20, 2021
Byron added a commit that referenced this issue Dec 20, 2021
Byron added a commit that referenced this issue Dec 20, 2021
Byron added a commit that referenced this issue Dec 20, 2021
Byron added a commit that referenced this issue Dec 20, 2021
With it it's simpler to figure out from where to read trailing
checksums.
Byron added a commit that referenced this issue Dec 20, 2021
Byron added a commit that referenced this issue Dec 20, 2021
This allows to remove the additional string to describe the ids, which
are usually ascii anyway.
Byron added a commit that referenced this issue Dec 20, 2021
Byron added a commit that referenced this issue Dec 20, 2021
Byron added a commit that referenced this issue Dec 21, 2021
This is more in line with gits terminology and feels quite natural to
use as well.
Byron added a commit that referenced this issue Dec 21, 2021
Byron added a commit that referenced this issue Dec 31, 2021
Byron added a commit that referenced this issue Dec 31, 2021
Byron added a commit that referenced this issue Dec 31, 2021
Byron added a commit that referenced this issue Dec 31, 2021
Byron added a commit that referenced this issue Dec 31, 2021
Byron added a commit that referenced this issue Dec 31, 2021
Byron added a commit that referenced this issue Jan 1, 2022
This includes utilities to plan chunks for writing the table of
contents, and to get a hand when actually writing the chunks themselves
while assuring they are written into the correct spot.
Byron added a commit that referenced this issue Jan 1, 2022
Byron added a commit that referenced this issue Jan 1, 2022
Byron added a commit that referenced this issue Jan 1, 2022
Byron added a commit that referenced this issue Jan 1, 2022
@Byron
Copy link
Owner Author

Byron commented Jan 1, 2022

@avoidscorn I thought I'd share with you some improvements made to the handling of chunk files. Now there is a git-chunk crate which facilitates reading and writing of chunk files. The facilities for reading are already used by git-commitgraph, while the ones for writing are demoed when writing multi-pack indices. In case commitgraph writing of of interest to you, I highly recommend taking a look at git-chunk as it should make that easier. In any case, have a great new year 2022.

Byron added a commit that referenced this issue Jan 1, 2022
Cleanup to prepare for multi-index
Byron added a commit that referenced this issue Jan 1, 2022
Could imagine providing statistics as part of the creation result.
@Byron Byron closed this as completed Jan 1, 2022
Collaboration Board automation moved this from In progress to Done Jan 1, 2022
Byron added a commit that referenced this issue Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant