Parse .git directory, extract git entities (commits and users) and relationships among them, then store them into a neo4j graph database.
GitCodeGraphBuilder.process(GRAPH_DIR_PATH,GIT_DIR_PATH);
see the test case.
Add this repository in your pom.xml
file:
<repositories>
<repository>
<id>linzeqipku-public-snapshots</id>
<url>https://raw.github.com/linzeqipku/maven-repo/master/snapshots</url>
</repository>
<repository>
<id>linzeqipku-public-releases</id>
<url>https://raw.github.com/linzeqipku/maven-repo/master/releases</url>
</repository>
</repositories>
Add the maven dependence:
<dependencies>
<dependency>
<groupId>com.github.linzeqipku</groupId>
<artifactId>git-to-neo4j</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>