Command commit#9
Merged
Merged
Conversation
…mmit # Conflicts: # engine/src/object_storage.rs # engine/src/object_storage/meva_object.rs # engine/src/object_storage/meva_object_storage.rs # engine/src/object_storage/meva_object_type.rs
adamgracikowski
requested changes
Oct 8, 2025
Contributor
adamgracikowski
left a comment
There was a problem hiding this comment.
- przejrzałem kod, jest go bardzo sporo
- gdybyś miał chęć, to mógłbyś zrobić/udostępnić diagramik relacji pomiędzy tymi obiektami - commit, blob, tree, jakieś entry itp.
- to by mi ułatwiło nieco zrozumienie tego co tutaj się dzieje i przyda się od razu na prezkę/część pisemną pracy
potem jak rozwiążesz komentarze, to bardziej potestuję z perspektywy użytkownika 😎
adamgracikowski
approved these changes
Oct 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ten PR wprowadza kompletną implementację systemu commitów w silniku Meva, obejmującą budowanie, serializację oraz zarządzanie obiektami commitów i drzew.
Zmiany integrują warstwę obiektową (MevaObject, MevaTree, MevaCommit) z zarządzaniem referencjami i przechowywaniem (MevaObjectStorage, MevaBranchManager).
Najważniejsze elementy
Rozszerzono implementację MevaObject - głównego obiektu wykorzystywanego w naszym systemie
Rozszerzono MevaObjectStorage - serwis do obsługi katalogu obiektów
Dodano obiekty: blob, tree, commit.
Dodano MevaCommitBuilder – odpowiedzialny za konstruowanie drzewa commitów na podstawie indeksu.
Dodano MevaRefManager - serwis do obsługi katalogu z referencjami
Zaimplementowano MevaBranchManager z obsługą add_commit i amend_last_commit.