debian-koji-osbuild/plugins
Tomas Kopecek 9d6d278ffb builder: invert missing arch support logic
The builder plugin checks that all of the requested architectures
are indeed supported, which is determined via the build tag. It
does that by constructing two sets, the requested architectures
and the supported architectures, and then constructing the set
of (asymmetric) differences between the one and the other. This
difference was meant to be "requested" - "supported", which then
will contain architectures that have been requested but are not
supported, or be empty in case all requested architectures are
indeed supported (the good case). However, previously the diff
was done the other way around ("supported" - "requested"), which
will then return a set of architectures that are supported but
were not requested, which is not what we want to check for.

Invert that the argument of the difference to indeed end up with
"requested" - "supported", which results in the correct check.
2020-11-03 10:54:04 +01:00
..
builder builder: invert missing arch support logic 2020-11-03 10:54:04 +01:00
cli plugin: pass repos as arrays 2020-09-17 16:33:14 +01:00
hub plugin/hub: specify type of architectures array 2020-09-17 16:33:14 +01:00