containers / containers/BuildSourceImage
iterate over subdirectories of extra_src or add a flag to indicate adding source archive under a directory in its own layer.
- 主要言語
- Shell
- スター
- 32
- フォーク
- 13
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently, if we have many source archives we want to add layer by layer to the source image the only way to do that is to put source archives in their own subdirectory and pass each subdirectory's absolute path with EXTRA_SOURCE_DIR.
But as @MartinBasti pointed out in https://github.com/containerbuildsystem/atomic-reactor/pull/1606#discussion_r609879731, if we do that then there's a good chance we may reach the limit length for a command in the shell.
Adding the ability to iterate over the subdirectories automatically and add them all layer by layer or adding a flag to indicate adding each source archive in a different layer will help solve this problem.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、EXTRA_SOURCE_DIR がどのように解析され、ソースアーカイブがイメージレイヤーにどのように追加されるかを追跡します。そのサブディレクトリを反復処理する方法と、各アーカイブを個別のレイヤーに配置する flag を比較し、絶対パスと shell コマンドの長さがどのように処理されるかも確認します。サブディレクトリごとに 1 つのコマンドライン引数を必要とせずに複数のアーカイブをレイヤー化できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- build-system
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100