You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/dependencytrack/tasks/repositories/ComposerMetaAnalyzer.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -70,11 +70,11 @@ public class ComposerMetaAnalyzer extends AbstractMetaAnalyzer {
70
70
*
71
71
* - security-advisories: very relevant, but only in a VulnerabilityAnalyzer (or mirrored VulnerabilitySource) context
72
72
*
73
+
* - providers-lazy-url: old v1 construct for which I haven't seen any example, in v2 the metadata-url is used for this. seems like it's not relevant for DT
73
74
* - list: returns only package names, seems like repo.packagist.org (and .com?) are the only ones implementing it
74
75
* - providers-api: not relevant
75
76
* - notify-batch: not relevant
76
77
* - providers-url and provider-includes: only relevant to check hashes, so not relevant for DT currently. Replaced by metadata-url in V2 repositories.
77
-
* - providers-lazy-url: not relevant
78
78
* - providers-api: not relevant
79
79
* - search: not relevant
80
80
*/
@@ -105,17 +105,17 @@ public MetaModel analyze(final Component component) {
105
105
returnnewMetaModel(component);
106
106
}
107
107
108
-
finalJSONObjectrepoRoot = getReportRoot();
108
+
finalJSONObjectrepoRoot = getRepoRoot();
109
109
if (repoRoot == null || !repoRoot.has("metadata-url")) {
0 commit comments