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

git-node: `git node bisect`

未關閉
#230 11 則留言 5 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
git, javascript, node.js

研究方向

首先檢查 node-core-utils 現有的 CLI 進入點,以及對 ncu-config set tmpdir 的設定處理;該 issue 未指定特定的檔案或測試。檢視 Node.js nightly 的下載配置和提議的 git bisect 命令。當 git node bisect 工作流程能夠選取架構、下載並執行 nightly、找出結束代碼的變更,並建議相應的 Git 命令時,即表示完成。

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

描述

enhancement

https://twitter.com/targos89/status/982158028878196736

Outline:

  • git node bisect --from 20180101 [--to 201810406] /path/to/test.js
  • Detect the right arch, then download correct binaries from https://nodejs.org/download/nightly/ , decompress it, run the test with bin/node, bisect until it finds two consecutive nightlies where the exit code of the test becomes different
    • Let the user configure where the files are downloaded via ncu-config set tmpdir, default can be .ncu/tmp or /tmp
  • Grab the sha from the nightlies, suggest the user to run:
    • git bisect start <nightly1-sha> <nightly2-sha> --
    • git bisect run "make -j8 && ./node /path/to/test.js"
主要語言
JavaScript
星號
313
分支
137
平均合併
2 天 8 小時
30 天內合併 PR
24

貢獻指南

開啟貢獻指南

從這裡開始

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

nodejs/node-core-utils 的其他 Issue

查看 nodejs/node-core-utils 的全部 Issue

相似的 Issue

更多 JavaScript Issue

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

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