nodejs / nodejs/node-core-utils

git-node: `git node bisect`

オープン
#230 コメント 11 件 リアクション 5 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

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/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"

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。