diff options
author | Ed Merks | 2019-08-24 09:56:37 +0000 |
---|---|---|
committer | Ed Merks | 2019-08-24 09:56:37 +0000 |
commit | 8a7db2522c8b8e9804ee4194fa55aeecc49b28cb (patch) | |
tree | 8d868db1e793d489bf35c924f903e9661fd9f25b | |
parent | f768ca586e6d027ca5077082fffceb372e3cdc65 (diff) | |
download | org.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.java | 6 |
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(); |