Feature Request: Support optimization flags in the build actions
- 主要言語
- Python
- スター
- 380
- フォーク
- 161
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 2
説明
**Description:**
We can support several optimizations to improve the build process. This is a feature request to support optimization flags that can be passed to each build action. If an action cannot support a particular optimization, it should error out:
### Optimization 1: Use prebuilt binaries
**Benefit**: Makes build faster
When building dependencies with native modules, use pre-built binaries that are available locally or download from internet. This saves time in recompiling the same binaries over and over again. It can also make the build more stable because sometimes compilation fails or times out.
**Requested by build actions**:
1. node-npm
1. python-pip
### Optimization 2: Remove unnecessary dependencies
**Benefit**: Produces slim zips
Remove unnecessary dependency libraries, or files or folders from the output artifact. For example, remove tests, test data files, or dependencies that are already available in transitive closure.
**Requested by build actions**:
1. node-npm
1. python-pip
コントリビューションガイド
調査の方向性
この issue では node-npm と python-pip の build action が挙げられていますが、ファイルやテストは示されていません。まず、これらの action の実装と build-output path を特定し、その後、それぞれの最適化がどのように要求され、未対応の場合に拒否され、生成されたアーティファクトで検証されるのかを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- node.js, python
- 領域
- build-system
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100