apache / apache/arrow-java

[CI][Java] *-sources.jar include *.{so,dylib,dll}

未關閉
#124 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
94
分支
152
平均合併
3 天 16 小時
30 天內合併 PR
11

描述

### Describe the bug, including details regarding any error messages, version, and platform.

https://github.com/ursacomputing/crossbow/releases/tag/nightly-packaging-2024-02-08-0-github-java-jars

For example, `arrow-dataset-16.0.0-SNAPSHOT-sources.jar` includes the following:

```console
$ find arrow-dataset-16.0.0-SNAPSHOT-sources | grep -E '\.(so|dylib|dll)'
arrow-dataset-16.0.0-SNAPSHOT-sources/arrow_dataset_jni/aarch_64/libarrow_dataset_jni.dylib
arrow-dataset-16.0.0-SNAPSHOT-sources/arrow_dataset_jni/aarch_64/libarrow_dataset_jni.so
arrow-dataset-16.0.0-SNAPSHOT-sources/arrow_dataset_jni/x86_64/libarrow_dataset_jni.dylib
arrow-dataset-16.0.0-SNAPSHOT-sources/arrow_dataset_jni/x86_64/arrow_dataset_jni.dll
arrow-dataset-16.0.0-SNAPSHOT-sources/arrow_dataset_jni/x86_64/libarrow_dataset_jni.so
```

Those binaries are too large. So we should avoid this.

### Component(s)

Continuous Integration, Java

貢獻指南

開啟貢獻指南

研究方向

首先檢查 issue 中連結的 nightly Java release artifact,並針對其 `*-sources.jar` 的內容重現 `find` 檢查。追蹤組裝這些原始碼封存檔的 CI 或封裝步驟;完成的標準是 source jar 不再包含 `.so`、`.dylib` 或 `.dll` 檔案。

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

評估

技術堆疊
java
領域
build-system, ci-cd
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

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

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