Evaluate the best extraction method for repository rules

未關閉
#3,562 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

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

研究方向

先閱讀 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:

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 facts API for bzlmod.
  • 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

環境準備

從這裡開始

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

bazel-contrib/rules_python 的其他 Issue

查看 bazel-contrib/rules_python 的全部 Issue

相似的 Issue

更多 Build System Issue

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

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