canonical / canonical/layer-basic

Improved package support/modularization

オープン
#74 コメント 12 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
10
フォーク
42
PR マージ指標
30日以内にマージされた PR はありません

説明

The way the layer currently handles packages is inconsistent. Packages to be installed via apt are placed into layer.yaml, but python packages are in wheelhouse.txt, and there's no support for other packaging formats, such as snaps or npm.

A more modular approach would allow developers to write support for a particular packaging format, with a consistent way to install them. Two possible formats of layer.yaml to support this idea:

``` yaml
options:
basic:
packages:
- apt:traceroute
- pip:paramiko==2.0.1
- npm:grunt
- npm:grunt-cli
- snap:hello-world
```

``` yaml
options:
basic:
packages:
apt:
- traceroute
pip:
- paramiko==2.0.1
npm:
- grunt
- grunt-cli
snap:
- hello-world
```

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、layer.yaml で現在パッケージエントリがどのように扱われているか、また wheelhouse.txt から Python パッケージがどのように読み取られているかを確認します。提案されている layer.yaml の形式を既存の動作と比較し、サポートされているパッケージングインターフェースを特定します。一覧にあるパッケージ形式に対する合意済みのモジュール方式が決まれば完了とします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
build-system
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

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

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