Evaluate the best extraction method for repository rules
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 重構
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 領域
- build-system, tooling
研究方向
先閱讀 follow-ups #3554 和 #3555,接著比較 legacy Python interpreter 與 installer wheel 的路徑、pipstar 的 repository_ctx.extract/chmod/rename 路徑、uv's crates/uv-extract/src/sync.rs,以及 uutils 的 chmod/unzip 選項。檢查 issue 中所述 release、whl_library 與 bzlmod 對 facts API 的影響。完成的標準是選定並記錄一個有充分依據的 extraction 方案,以及其對 toolchain、dependency、binary-release 和 hash 的要求。
由索引模型根據 Issue 內容生成。
描述
Alternatives:
- What we have in legacy - Python interpreter +
installerwhl - What we have in pipstar -
repository_ctx.extract+chmodandrepository_ctx.rename - What
uvis using - https://github.com/astral-sh/uv/blob/0.9.28/crates/uv-extract/src/sync.rs - A regular
uutilschmod + unzip
For the last thing we would probably have to setup:
- development rust toolchain.
- binary archiving as part of release. We could probably download the right thing and store hashes using the new
factsAPI forbzlmod. - download the binary as a dependency to
whl_library.
This is a followup to #3554 and #3555.
- 主要語言
- Starlark
- 星號
- 688
- 分支
- 730
- 平均合併
- 11 小時 2 分鐘
- 30 天內合併 PR
- 150
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
bazel-contrib/rules_python 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
bazel-contrib/rules_python#4251 · 1 個 reaction ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
bazel-contrib/rules_python#4164 · 1 則留言 ·
維護者通常 1 天內回覆
-
Release 2.5.0未關閉type: release
難度 2/5 1-3 小時 新手友好度 25/100
bazel-contrib/rules_python#4388 · 2 則留言 ·
維護者通常 1 天內回覆
-
Support consumer-configured project scoping for python_version可能已有人在做 @Spikhalskiy 於 5 天前認領。 未關閉
難度 5/5 一週以上 新手友好度 35/100
bazel-contrib/rules_python#4375 ·
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 45/100
bazel-contrib/rules_python#4311 ·
維護者通常 1 天內回覆
查看 bazel-contrib/rules_python 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 62/100
leanprover-community/lean4game#589 ·
維護者通常 2 天內回覆
-
難度 1/5 1 小時以內 新手友好度 82/100
維護者通常 1 天內回覆
-
follow-up
難度 2/5 半天 新手友好度 62/100
carrick-sh/carrick#1494 ·
維護者通常 1 天內回覆
-
good first issue infrastructure
難度 2/5 1-3 小時 新手友好度 66/100
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
processing/processing4#1592 ·