Remove dependency on Chocolatey
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 122k
- フォーク
- 37.3k
- 平均マージ
- 4日 2時間
- マージ済み PR(30日)
- 283
説明
What is the problem this feature will solve?
Windows users are concerned by the check box in the installer (#30242) - why not remove the external dependency?
Chocolatey is an independent, open core (with proprietary extensions), package manager for Windows that recreates existing functionality included in all current versions of Windows. Chocolatey has its own set of problems, mostly stemming from the independent partially closed source for profit nature of the project.
What is the feature you are proposing to solve the problem?
winget is an open source package manager from Microsoft and is installed by default on modern versions of Windows. It has all the packages that Chocolatey wants to install.
This is equivalent to the checkbox, with newer package versions, and without Chocolatey:
winget install -e --id Python.Python.3.12
winget install -e --id Microsoft.VisualStudio.2022.Community --override "--passive --wait --add Microsoft.VisualStudio.Workload.VCTools"
What alternatives have you considered?
WiX Toolset, which is already in use, might have all the capabilities necessary to install these optional dependencies without using any PowerShell scripts.
Additional Resources
- I've created a trivial program to test if native addons' dependencies are installed and working.
- https://github.com/nodejs/node-gyp#on-windows
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
#30242で参照されているインストーラーのチェックボックスから始め、tools/msvs/msi/nodemsi/nodemsi.wixprojと、node-gypのWindows向けガイダンスを確認してください。現在のChocolateyのフローを提示されているwingetコマンドと比較し、WiXがオプションの依存関係のインストールをカバーしているかを評価してください。完了とは、Chocolateyへの依存を削除しつつ、ネイティブアドオンの要件に必要なWindowsセットアップを維持することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- nodejs, powershell
- 領域
- build-system, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100