Home

Awesome

Clone and build the latest versions of Refactoring Miner and code-tracker

Instructions

Clone CodeTracker from master

Then clone RefactoringMiner from master.

Change the version to 3.0.1-SNAPSHOT in pom.xml and run gradle publishToMavenLocal

Then go to CodeTracker and make it depend on 3.0.1-SNAPSHOT

Then build CodeTracker by running mvn clean install -U -o

CodeTracker API should be working with this build.

(credits @tsantalis Nikolaos Tsantalis)

To run the API:

To provide GitHub credentials for tracking private repositories, set environment variables GITHUB_USERNAME and GITHUB_KEY before running the API.

Demo URL: http://localhost:5000/api/track?owner=checkstyle&repoName=checkstyle&filePath=src/main/java/com/puppycrawl/tools/checkstyle/Checker.java&commitId=119fd4fb33bef9f5c66fc950396669af842c21a3&selection=fireErrors&lineNumber=384