GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Configuration file to express existing errors

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

描述

Similar to https://github.com/GoogleCloudPlatform/cloud-opensource-java/issues/940 but intended to suppress (or ignore) existing linkage errors, rather than special cases.

From Luke's comment in [BEAM-9206](https://issues.apache.org/jira/browse/BEAM-9206?focusedCommentId=17026887&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17026887):

> Typically I have seen people use an ignore list that is hardcoded somewhere such as the ones found in [spotbugs](https://github.com/apache/beam/blob/master/sdks/java/build-tools/src/main/resources/beam/spotbugs-filter.xml) and the test/tool runs and compares against that. This way the the contributor can update the existing list and get the test to pass and the reviewer can see what the edits were so the CL can "pass" all tests.

# Case of Spotbugs-filter

Beam's use case of spotbugs-filter.xml is https://github.com/apache/beam/blob/master/sdks/java/build-tools/src/main/resources/beam/spotbugs-filter.xml

```
...






...













```

貢獻指南

開啟貢獻指南

研究方向

首先,將所要求的行為與連結的 issue 以及 issue 內文中的 SpotBugs 篩選器範例進行比較。找出現有的 linkage 錯誤在哪裡表示和檢查,接著定義一種設定格式與驗證流程,使完成狀態是在不隱藏新錯誤的情況下抑制已有文件記錄的錯誤。

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

評估

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

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

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