@@ -0,0 +1,1384 @@
+import fr.inria.spirals.jtravis.entities.Build;%0Aimport fr.inria.spirals.jtravis.entities.BuildStatus;%0Aimport fr.inria.spirals.jtravis.entities.BuildTool;%0Aimport fr.inria.spirals.jtravis.entities.Repository;%0Aimport fr.inria.spirals.jtravis.helpers.RepositoryHelper;%0Aimport org.apache.commons.lang3.StringUtils;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0Aimport java.nio.file.Files;%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0A/**%0A * Created by urli on 19/09/2017.%0A */%0Apublic class GetProjectsWithUnknownBuildTool %7B%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        List%3CString%3E allProjects = Files.readAllLines(new File(args%5B0%5D).toPath());%0A%0A        List%3CString%3E results = new ArrayList%3C%3E();%0A%0A        for (String project : allProjects) %7B%0A            Repository repo = RepositoryHelper.getRepositoryFromSlug(project);%0A%0A            if (repo != null) %7B%0A                Build b = repo.getLastBuild(false);%0A%0A                if (b != null) %7B%0A                    BuildTool tool = b.getBuildTool();%0A%0A                    if (b.getBuildStatus() == BuildStatus.PASSED && tool == BuildTool.UNKNOWN) %7B%0A                        results.add(%22https://travis-ci.org/%22+project);%0A                    %7D%0A%0A                %7D%0A            %7D%0A        %7D%0A%0A        System.out.println(results.size()+%22 results%22);%0A        System.out.println(StringUtils.join(results,%22%5Cn%22));%0A    %7D%0A%7D%0A

Add new script to detect project with unkown tools