Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Data entity paths are null when reading zip files with subfolders

未關閉 適合新手
#385 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
72/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
java
領域
data

研究方向

從 ReadZipStrategy 開始,具體是用於 zip 輸入的 readContent 路徑,追蹤臨時解壓縮資料夾在何處被傳回,以及 ro-crate-metadata.json 在子資料夾內何處被解析。將該傳回值與包含中繼資料檔案的資料夾進行比較,因為呼叫端目前拿到的是根臨時資料夾。完成意味著資料實體的 path 值會相對於解析後的 crate 資料夾填入;如果存在 zip 讀取測試,請執行它們。

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

描述

When reading a ro-crate from a zip file, and the contents inside the zip file are located in a subfolder, the path field of data entities is always null. This is because ReadZipStrategy#readContent and ReadZipStrategy#readContent always return the root temporary folder and not the resolved folder of the ro-crate-metadata.json.

主要語言
Java
星號
5
分支
4
平均合併
11 小時 14 分鐘
30 天內合併 PR
4

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

kit-data-manager/ro-crate-java 的其他 Issue

查看 kit-data-manager/ro-crate-java 的全部 Issue

相似的 Issue

更多 Java Issue

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

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