Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Merks2019-08-24 09:56:37 +0000
committerEd Merks2019-08-24 09:56:37 +0000
commit8a7db2522c8b8e9804ee4194fa55aeecc49b28cb (patch)
tree8d868db1e793d489bf35c924f903e9661fd9f25b
parentf768ca586e6d027ca5077082fffceb372e3cdc65 (diff)
downloadorg.eclipse.oomph-8a7db2522c8b8e9804ee4194fa55aeecc49b28cb.tar.gz
org.eclipse.oomph-8a7db2522c8b8e9804ee4194fa55aeecc49b28cb.tar.xz
org.eclipse.oomph-8a7db2522c8b8e9804ee4194fa55aeecc49b28cb.zip
[550361] Provide support for generating a p2 repository quality report
https://bugs.eclipse.org/bugs/show_bug.cgi?id=550361
-rw-r--r--plugins/org.eclipse.oomph.p2.core/src/org/eclipse/oomph/p2/internal/core/RepositoryIntegrityAnalyzer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/org.eclipse.oomph.p2.core/src/org/eclipse/oomph/p2/internal/core/RepositoryIntegrityAnalyzer.java b/plugins/org.eclipse.oomph.p2.core/src/org/eclipse/oomph/p2/internal/core/RepositoryIntegrityAnalyzer.java
index 5cc6404db..359995ff0 100644
--- a/plugins/org.eclipse.oomph.p2.core/src/org/eclipse/oomph/p2/internal/core/RepositoryIntegrityAnalyzer.java
+++ b/plugins/org.eclipse.oomph.p2.core/src/org/eclipse/oomph/p2/internal/core/RepositoryIntegrityAnalyzer.java
@@ -264,6 +264,8 @@ public class RepositoryIntegrityAnalyzer implements IApplication
shutDownExecutor();
+ images.clear();
+
RepositoryIndex repositoryIndex = RepositoryIndex.create("\n");
emitReport(new HashSet<Report>(), report, reportLocation, repositoryIndex);
@@ -279,6 +281,8 @@ public class RepositoryIntegrityAnalyzer implements IApplication
private static java.net.URI toInternalRepositoryLocation(URI uri) throws URISyntaxException
{
+ System.err.println("convertingToInternal " + uri + " ?" + DOWNLOAD_ECLIPSE_ORG_FOLDER.exists());
+
if (DOWNLOAD_ECLIPSE_ORG_AUTHORITY.equals(uri.authority()) && DOWNLOAD_ECLIPSE_ORG_FOLDER.exists())
{
File file = DOWNLOAD_ECLIPSE_ORG_FOLDER;
@@ -287,6 +291,8 @@ public class RepositoryIntegrityAnalyzer implements IApplication
file = new File(file, segment);
}
+ System.err.println("convertingToInternal and looking at " + file);
+
if (file.exists())
{
return file.toURI();

Back to the top