mock
mock copied to clipboard
provide Zypper(_PackageManager) abstraction
In #500 we discovered that bootstrap for opensuse chroots can not easily work without this, so we disabled bootstrap for opensuse for now.
@praiskup Have we considered providing container images for mock that are built in Quay.io for mock for just the bootstrap usage?
Note that the only bootstrap case that doesn't work is the container image one because we lack a default image with DNF for now.
Also note that Zypper does not provide enough replacement functionality to be able to work as a DNF replacement. For example, there's no equivalent of dnf builddep.
On Wednesday, March 4, 2020 12:26:36 PM CET Neal Gompa (ニール・ゴンパ) wrote:
@praiskup Have we considered providing container images for mock that are built in Quay.io for mock for just the bootstrap usage?
No, so far we haven't planned to provide any container images. That's because it would cost quite some man-power to maintain them.
Why would it cost manpower to maintain them? We can't just set up a Dockerfile to ensure the minimum bits for mock are in a container and auto-rebuilt as the repo changes?
On Wednesday, March 4, 2020 8:02:39 PM CET Neal Gompa (ニール・ゴンパ) wrote:
Why would it cost manpower to maintain them? We can't just set up a Dockerfile to ensure the minimum bits for mock are in a container and auto-rebuilt as the repo changes?
What repo do you mean? RPM repository? Dunno. Git repository? No, we can not guarantee CVE fixes for example, the git cadence may not be enough.
If we found someone really enthusiastic, we could ship Dockerfile, and let mock build the image using buildah on demand. Patches welcome.
If someone stands up and will be willing to maintain that image, we can add that name. Any volunteer? :)