GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Better data type for Linkage Errors and Artifact Problems?

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

描述

@elharo says:

> I still think we're missing an abstraction here. We have problems of which there are several subtypes including missing artifacts and linkage errors. The linkage errors we don't have a class for. Instead we're storing them as an entry in the multimap.

https://github.com/GoogleCloudPlatform/cloud-opensource-java/pull/1135/files/a2dc1f7d9cd2ff0950b2c4d01e5b80c2018d52f5#r367607402

As of now
- Linkage errors are represented as `Multimap`
Many-to-many relationship between SymbolProblem and ClassFile.
- Artifact Problems are represented as `ArtifactProblem`
Example: non-resolvable artifacts in a dependency tree, when constructing a class path.

貢獻指南

開啟貢獻指南

研究方向

先從 issue 討論和所引用的 pull request diff 開始,然後將目前的 Multimap 表示與 ArtifactProblem 進行比較。Done 應確立一個明確選擇的抽象,同時涵蓋 linkage error 和 artifact problem,並明確說明它們各自情況之間的區別。

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

評估

技術堆疊
java
領域
devtools
Issue 類型
重構
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

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

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