metux / deb-pkg

Toolkit for building apt/yum completely from sources
GNU Affero General Public License v3.0
2 stars 0 forks source link

build_pool: support default-pool setting #11

Closed metux closed 1 year ago

metux commented 1 year ago

What is the problem you're trying to solve

Most configs only have one pool, usually "default". Some might use a different name for specific reasons. In order to support building some config yaml, w/o extra boilerplate (eg. by CI), we need a method for finding out which pool to build.

Describe the solution you'd like

add global config "default-pool", which might be single value or a list. cmd.build_pool checks for that value if no/empty pool name is given. this setting defaults to 'default'.

Additional context

No response

metux commented 1 year ago

done