nodejs / nodejs/node-core-utils
git-node: `git node bisect`
オープン
まだ誰も着手していません。
enhancement
- 主要言語
- JavaScript
- スター
- 313
- フォーク
- 137
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 24
説明
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/tmpor/tmp
- Let the user configure where the files are downloaded via
- 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"
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、node-core-utils の既存の CLI エントリーポイントと、ncu-config set tmpdir の設定処理を調査します。この issue では特定のファイルやテストは指定されていません。Node.js nightly のダウンロードレイアウトと、提案されている git bisect コマンドを確認します。git node bisect ワークフローでアーキテクチャを選択し、nightly をダウンロードして実行し、終了コードの変更を特定して、対応する Git コマンドを提案できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- git, javascript, node.js
- 領域
- cli, developer-experience
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100