GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Linkage Monitor to have an option to show the debug output

未關閉
#1,959 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement p3
主要語言
Java
星號
163
分支
80
PR 合併指標
30 天內沒有已合併 PR

描述

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?

貢獻指南

開啟貢獻指南

研究方向

先找出 Linkage Monitor 的進入點,以及比較 baseline 和 snapshot BOM Maven 座標清單的程式碼。確認 debug-output 選項應如何呈現差異,包括只存在於其中一個清單中的元素。完成的標準是:在進行疑難排解時,monitor 能清楚顯示相符項目和單邊差異。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
tooling
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。