GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Linkage Monitor to have an option to show the debug output

Offen
#1,959 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement p3
Vorherrschende Sprache
Java
Sterne
163
Forks
80
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When I have to troubleshoot Linkage Monitor, I'll have to compare the content of baseline BOM and snapshot BOM. Is there any good way to see the difference quickly?

```
for (int i = 0; i < baselineCoordinates.size(); ++i) {
String elementB = baselineCoordinates.get(i);
String elementS = snapshotCoordinates.get(i);
if (elementB.equals(elementS)) {
continue;
}
System.out.println("baseline: " + elementB + ", snapshot:" + elementS);
}
```

What if some elements are only in baseline or snapshot? What's the best way to compare 2 list of Maven coordinates?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.