debian-forge-composer/internal
Ondřej Budai 0796342fa1 weldr/api: get the package list for depsolving in a better way
blueprint.GetPackages() method was used to depsolve blueprints prior the
dnf-to-rpm switch. However, it got dropped during the switch. This commit
makes weldr use it again.

The nice effect of this change is that we can drop getPkgNameGlob function and
have only one function for getting package name-versions from a blueprint.

Also, blueprint.GetPackages() works better with * version. Previously, we had
issues with composer depsolving bash of version * to both x86_64 and i686
versions of bash package. GetPackages() converts the package to name-version
of just bash, which dnf-json correctly depsolves to just one architecture. On
the contrary, the previous method converted bash to name-version bash-*.*.*,
which confused dnf-json.

Note that conversion to bash-* is also wrong because this will cause dnf-json
to install all packages with prefix "bash-*".
2020-06-10 17:40:30 +02:00
..
blueprint blueprint: do not append "-" to name-version if version is empty 2020-06-10 17:40:30 +02:00
client weldr: Add check for deleting system sources 2020-06-03 21:24:47 +02:00
common common/ImageType: move to the store package 2020-05-18 11:50:15 +02:00
crypt crypt_test: don't run on macOS 2020-04-09 13:21:30 +02:00
distro distro/rhel8: add tar image type for all architectures 2020-06-08 13:32:59 +02:00
jobqueue jobqueue: allow canceling jobs 2020-05-13 16:45:09 +02:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
mocks worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
osbuild osbuild: filesystem is not required member of qemu assembler 2020-06-05 20:09:20 +02:00
rcm tests: use more reliable mirrors for Fedora tests 2020-06-07 13:33:32 +02:00
rpmmd rpmmd: rely on dnf-json shebang instead of using PATH python 2020-06-10 16:56:28 +02:00
store Increase coverage of store.go 2020-06-04 17:35:42 +02:00
target store: move queue out of the store 2020-05-08 14:53:00 +02:00
test weldr: add support for toml format in /blueprints/freeze 2020-06-05 13:51:04 +02:00
upload Add more emojis to AWS upload logs 2020-06-05 19:56:57 +02:00
weldr weldr/api: get the package list for depsolving in a better way 2020-06-10 17:40:30 +02:00
worker distro: make the osbuild package internal to the distros 2020-06-03 00:30:01 +02:00