Skip to content
This repository was archived by the owner on Nov 19, 2019. It is now read-only.

Towards supporting Git based projects

Marios Fragkoulis edited this page Apr 21, 2014 · 19 revisions

AlitheiaCore already supports SVN-based projects. The fundamental difference between SVN and Git is that in Git a commit can have many parent commits. It seems that the database schema can accommodate this characteristic of Git by design.

Specifically, AlitheiaCore's programming model and the respective database model seem to be in good shape in order to support many parents per revision. The linked code also shows how a revision associates to incoming and outgoing branches. Respectively, a branch tracks the revisions it comes in and goes out. Finally, parent - child revision pairs are stored in an extra database table.

Except for the database service, supporting Git-based projects means having a functional accessor for Git repos and an updater that will update Git-based project metadata in the database.

Clone this wiki locally