Skip to content

Commit

Permalink
Improve git-indexer to remove broken git repository
Browse files Browse the repository at this point in the history
  • Loading branch information
merks committed Jul 17, 2023
1 parent 1c8ce9b commit 9ca45f9
Showing 1 changed file with 20 additions and 10 deletions.
Expand Up @@ -156,7 +156,6 @@ public class GitIndexApplication implements IApplication
"https://git.eclipse.org/r/rtsc/org.eclipse.rtsc.test", //
"https://git.eclipse.org/r/rtsc/org.eclipse.rtsc.training", //
"https://git.eclipse.org/r/rtsc/org.eclipse.rtsc.xdccore", //
"https://git.eclipse.org/r/sequoyah/org.eclipse.sequoyah", //
"https://git.eclipse.org/r/servertools/webtools.servertools", //
"https://git.eclipse.org/r/servertools/webtools.servertools.devsupport", //
"https://git.eclipse.org/r/servertools/webtools.servertools.docs", //
Expand Down Expand Up @@ -637,15 +636,26 @@ public Set<String> getRepositories() throws Exception
return true;
}

if (id.startsWith("adoptium") || id.startsWith("automotive") || id.startsWith("dt") || id.startsWith("ecd") || id.startsWith("ee4j")
|| id.startsWith("iot") || id.startsWith("locationtech") || id.startsWith("polarsys") || id.startsWith("oniro") || id.startsWith("technology.openj9")
|| id.startsWith("tools.titan") || id.startsWith("technology.microprofile") || id.startsWith("technology.edc") //
|| id.startsWith("technology.openk")//
|| id.startsWith("eclipse.e4")//
|| id.startsWith("technology.osbp")//
|| id.startsWith("technology.graphene")//
|| id.startsWith("technology.pass")//
|| id.startsWith("openhw")//
if (id.startsWith("adoptium") //
|| id.startsWith("automotive") //
|| id.startsWith("dt") //
|| id.startsWith("ecd") //
|| id.startsWith("ee4j") //
|| id.startsWith("iot") //
|| id.startsWith("locationtech") //
|| id.startsWith("polarsys") //
|| id.startsWith("oniro") //
|| id.startsWith("technology.openj9") //
|| id.startsWith("tools.titan") //
|| id.startsWith("technology.microprofile") //
|| id.startsWith("technology.edc") //
|| id.startsWith("technology.openk") //
|| id.startsWith("eclipse.e4") //
|| id.startsWith("technology.osbp") //
|| id.startsWith("technology.graphene") //
|| id.startsWith("technology.pass") //
|| id.startsWith("tools.sequoyah") //
|| id.startsWith("openhw") //
|| id.startsWith("technology.recommenders"))
{
return true;
Expand Down

0 comments on commit 9ca45f9

Please sign in to comment.