Skip to content

Command commit#9

Merged
mikolajkarbowski merged 60 commits into
developfrom
feature/command-commit
Oct 12, 2025
Merged

Command commit#9
mikolajkarbowski merged 60 commits into
developfrom
feature/command-commit

Conversation

@mikolajkarbowski
Copy link
Copy Markdown
Contributor

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.

…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
Copy link
Copy Markdown
Contributor

@adamgracikowski adamgracikowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 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 😎

Comment thread cli/src/commands/commit.rs Outdated
Comment thread cli/src/commands/commit.rs
Comment thread cli/src/commands/commit.rs
Comment thread cli/src/commands/commit.rs Outdated
Comment thread engine/Cargo.toml Outdated
Comment thread engine/src/repositories/meva_repository.rs Outdated
Comment thread engine/src/repositories/meva_repository_layout.rs
Comment thread engine/src/serialize_deserialize/json_serializable.rs Outdated
Comment thread plugins/src/models/payloads/commit_payload.rs Outdated
Comment thread plugins/src/models/payloads/commit_payload.rs Outdated
@adamgracikowski adamgracikowski changed the title Feature/command commit Command commit Oct 8, 2025
@mikolajkarbowski mikolajkarbowski merged commit abeacbe into develop Oct 12, 2025
1 check passed
@adamgracikowski adamgracikowski deleted the feature/command-commit branch October 15, 2025 09:56
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

Successfully merging this pull request may close these issues.

2 participants